dever 5 rokov pred
rodič
commit
6e424408ac
2 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 1 1
      buy/src/Buy.php
  2. 1 0
      config/base.php

+ 1 - 1
buy/src/Buy.php

@@ -85,7 +85,7 @@ class Buy extends Base
     {
         $where['cate_id'] = $this->cate;
         $where['create_uid'] = $this->user['id'];
-        
+        $where['order_id'] = Dever::input('order_id');
         if (!$where['order_id']) {
             Dever::alert('错误的订单');
         }

+ 1 - 0
config/base.php

@@ -153,6 +153,7 @@ $config['base'] = array
 
 	# 支付成功后,调用的接口
 	'pay_notify' => 'service/lib/pay.act',
+	'pay_order' => -1,
 );