dever 6 年之前
父節點
當前提交
532432ce53
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      service/src/Buy.php

+ 4 - 0
service/src/Buy.php

@@ -121,6 +121,10 @@ class Buy extends Base
         $order_id = Dever::input('order_id');
         $order = Dever::db('journal/order')->one($order_id);
 
+        if ($order['uid'] != $this->user['id']) {
+            $this->location('list');
+        }
+
         $config['code_show'] = 'display:none;';
         $config['button'] = '继续购买';
         $config['button_node'] = '';