Commit 57ff7010 authored by clone's avatar clone

bug

parent a4d258a9
......@@ -112,11 +112,12 @@ class RegisterService
$AuthToken = $jwt->createToken($jwt_data);
$data['AuthToken'] = $AuthToken;
$data["user_info"]["id"] = $id;
$data["user_info"]["user_nick"] = $user_nick;
$data["user_info"]["user_phone"] = $phone;
$data["user_info"]["user_pic"] = !empty($user_info[0]["user_pic"]) ? $user_info[0]["user_pic"] : $other_pic;
$data["id"] = $id;
$data["user_nick"] = $user_nick;
$data["user_phone"] = $phone;
$data["user_pic"] = $user_info[0]["user_pic"];
$data["other_pic"] = $other_pic;
$data["AuthToken"] = $AuthToken;
return [ "code" => 200, "data" => $data ];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment