rabin %!s(int64=6) %!d(string=hai) anos
pai
achega
dd8004afe0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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);
         if ($system_id == 2) {
             $wechat_where['system_id'] = $system_id;
+        } else {
+            $wechat_where['system_id'] = 1;
         }
         $wechat = Dever::db('passport/wechat')->one($wechat_where);