Browse Source

Merge branch 'master' of http://git.liuniu946.com/Kirin/mccs

zxhxx 3 years ago
parent
commit
bfcc999cfb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/models/user/User.php

+ 2 - 1
app/models/user/User.php

@@ -67,7 +67,8 @@ class User extends BaseModel
             'user_type' => 'wechat'
         ]);
         $res = $res1 && $res2;
-        @file_put_contents('sub3.txt', "$res1&&$res2", FILE_APPEND);
+        @file_put_contents('sub3.txt', json_encode($res1), FILE_APPEND);
+        @file_put_contents('sub3.txt', json_encode($res2), FILE_APPEND);
         self::checkTrans($res);
         return $res2;
     }