1
0
whitefang 2 жил өмнө
parent
commit
8cc2db7bd1

+ 1 - 1
app/workerapi/logic/MasterWorkerLogic.php

@@ -56,7 +56,7 @@ class MasterWorkerLogic extends  BaseLogic
             if (!$existUser->isEmpty()) {
             if (!$existUser->isEmpty()) {
                 throw new \Exception('该手机号已被使用');
                 throw new \Exception('该手机号已被使用');
             }
             }
-            $user->password = $params['mobile'];
+            $user->mobile= $params['mobile'];
             $user->save();
             $user->save();
             return true;
             return true;
         } catch (\Exception $e) {
         } catch (\Exception $e) {