| xqd
@@ -1179,8 +1179,9 @@ class AlbumController extends Controller
|
|
|
$errCode = $pc->decryptData($request->input('encrypted'), $request->input('iv'), $data);
|
|
|
if($errCode==0){
|
|
|
$data = json_decode($data,true);
|
|
|
- $update['phone'] = $data['phoneNumber'];
|
|
|
- $res = $userAuth->save($update);
|
|
|
+ $userAuth->phone = $data['phoneNumber'];
|
|
|
+
|
|
|
+ $res = $userAuth->save();
|
|
|
if($res){
|
|
|
return $this->api(['msg'=>'success']);
|
|
|
}else{
|