@@ -150,7 +150,7 @@ class Login extends Api
}
$token = JWT::encode($user,config('jwt.key'));
- echo 2221;die();
+
$this->success('登陆成功',['token'=>$token]);
@@ -35,7 +35,7 @@ class Encryptor extends BaseEncryptor
base64_decode($iv, false)
);
- echo $decrypted;
$decrypted = json_decode($decrypted, true);
if (!$decrypted) {