ソースを参照

AP小程序-修改注册问题-绑定团队

xupuyuan 11 ヶ月 前
コミット
f252a50584
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      app/controller/api/Auth.php

+ 1 - 1
app/controller/api/Auth.php

@@ -519,7 +519,7 @@ class Auth extends BaseController
519 519
             }
520 520
         }
521 521
         // Log::info($data);
522
-        $user = $repository->registr($data['phone'], $data['password'],'APP',"","",1,0);
522
+        $user = $repository->registr($data['phone'], $data['password'],'APP',"","",1,$data['spread']);
523 523
         // $repository->registr($data['phone'], $data['password'],'APP',$data['spread']);
524 524
         $repository->addagent($user);
525 525
         $user = $repository->mainUser($user);