pushuo 2022-08-22 18:11:46 +08:00
parent ff831f0741
commit 28e1bbfe9a
3 changed files with 3 additions and 1 deletions

View File

@ -33,6 +33,6 @@ class RegisterController extends Controller
AccountService::register($credentials);
auth(Customer::AUTH_GUARD)->attempt($credentials);
return json_success("注册成功,您现在可以使用您的账号登录网站!");
return json_success(trans('shop/login.register_success'));
}
}

View File

@ -35,4 +35,5 @@ return [
'email_or_password_error' => 'Email or Password is incorrect!',
'customer_inactive' => 'The customer is inactive!',
'login_successfully' => 'Login successfully!',
'register_success' => 'Registered successfully',
];

View File

@ -35,4 +35,5 @@ return [
'email_or_password_error' => '邮件或密码错误!',
'customer_inactive' => '用户已被禁用',
'login_successfully' => '登录成功',
'register_success' => '注册成功',
];