|
|
@@ -24,6 +24,7 @@ use app\workerapi\logic\LoginLogic;
|
|
|
use app\workerapi\logic\MasterWorkerRegisterLogic;
|
|
|
use app\workerapi\validate\LoginAccountValidate;
|
|
|
use app\workerapi\validate\RegisterValidate;
|
|
|
+use think\facade\Log;
|
|
|
|
|
|
|
|
|
/**
|
|
|
@@ -46,6 +47,7 @@ class LoginController extends BaseApiController
|
|
|
public function register()
|
|
|
{
|
|
|
$params = (new RegisterValidate())->post()->goCheck('register');
|
|
|
+ Log::info('params-0'.json_encode($params));
|
|
|
$res = LoginLogic::confirmMobile($params);
|
|
|
$resCredential = LoginLogic::confirmCredential($params);
|
|
|
if(!$res || !$resCredential){
|