|
@@ -128,10 +128,10 @@ class Login extends Api
|
|
|
$pc->decryptData(input('encryptedData'), input('iv'), $data );
|
|
|
|
|
|
|
|
|
+ //dump($data);die();
|
|
|
+ $array=json_decode($data);
|
|
|
|
|
|
-
|
|
|
-
|
|
|
- dump($data->phoneNumber);die();
|
|
|
+ dump($array);die();
|
|
|
|
|
|
$res=Db::table('q_user')->where('id',$user_id)->update(['headimg'=>$avatar,'nickname'=>$nickname,'phone'=>$decryptedData['phoneNumber']]);
|
|
|
if(empty($res)){
|