rabin 6 năm trước cách đây
mục cha
commit
dd8004afe0
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      buy/src/Buy.php

+ 2 - 0
buy/src/Buy.php

@@ -332,6 +332,8 @@ class Buy extends Base
         $wechat_where = array('uid' => $uid, 'type' => 2);
         $wechat_where = array('uid' => $uid, 'type' => 2);
         if ($system_id == 2) {
         if ($system_id == 2) {
             $wechat_where['system_id'] = $system_id;
             $wechat_where['system_id'] = $system_id;
+        } else {
+            $wechat_where['system_id'] = 1;
         }
         }
         $wechat = Dever::db('passport/wechat')->one($wechat_where);
         $wechat = Dever::db('passport/wechat')->one($wechat_where);