meliuxy 5 years ago
parent 7283f8c45d
commit 573b912b41

BIN
.DS_Store vendored

Binary file not shown.

@ -106,8 +106,7 @@ class AuthController extends Controller
return $this->respondWithToken($token);
}
//$user->session_key = $res["session_key"];
$user->save();
$user->session_key = $res["session_key"];
return response()->json([
'token' => null,
'user_info' => $user
@ -194,7 +193,6 @@ class AuthController extends Controller
* @OA\Parameter(name="openid", in="query", @OA\Schema(type="string"), required=true, description="openid"),
* @OA\Parameter(name="iv", in="query", @OA\Schema(type="string"), required=true, description="iv"),
* @OA\Parameter(name="encryptedData", in="query", @OA\Schema(type="string"), required=true, description="encryptedData"),
* @OA\Parameter(name="sessionKey", in="query", @OA\Schema(type="string"), required=true, description="sessionKey"),
* @OA\Response(
* response="200",
* description="通过openidencryptedDataiv获取手机号"

Loading…
Cancel
Save