王新凯 3 years ago
parent
commit
cc0d1e7de9

+ 1 - 1
application/api/controller/Login.php

@@ -150,7 +150,7 @@ class Login extends Api
         }
 
         $token = JWT::encode($user,config('jwt.key'));
-        echo 2221;die();
+
         $this->success('登陆成功',['token'=>$token]);
 
 

+ 1 - 1
vendor/overtrue/wechat/src/MiniProgram/Encryptor.php

@@ -35,7 +35,7 @@ class Encryptor extends BaseEncryptor
             base64_decode($iv, false)
         );
 
-        echo $decrypted;
+
         $decrypted = json_decode($decrypted, true);
 
         if (!$decrypted) {