zxhxx 3 năm trước cách đây
mục cha
commit
f485cfb79c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      application/common/model/User.php

+ 1 - 1
application/common/model/User.php

@@ -292,7 +292,7 @@ class User extends BaseModel
             self::updateWechatUser($routineInfo, 0);
         } else {
             $res = self::setRoutineUser($routineInfo, $spid);
-            $uid = $res->uid;
+            $uid = $res['id'];
         }
         return $uid;
     }