|
|
@@ -62,7 +62,7 @@ class LoginController extends webApp
|
|
|
public function register(MemberValidator $validator)
|
|
|
{
|
|
|
$params = request()->all();
|
|
|
- $type = request()->post('type',1)
|
|
|
+ $type = request()->post('type',1);
|
|
|
$params = $validator->check($params, $type==1?'email_register':'mobile_register');
|
|
|
if (!is_array($params)) {
|
|
|
return showJson($params, false);
|