修改注册名称
This commit is contained in:
parent
b586b7fc36
commit
f110effbc7
@ -43,7 +43,7 @@ public class RegisterWechatController extends DefaultBaseController {
|
||||
@CheckRequestBodyAnnotation
|
||||
public synchronized SuccessResult phone(@RequestBody OfficialAccountRegisterPhoneVO officialAccountRegisterPhoneVO) throws Exception {
|
||||
Map<String, Object> params = requestParams();
|
||||
officialAccountRegisterService.phoneRegister(officialAccountRegisterPhoneVO, params);
|
||||
officialAccountRegisterService.registerPhone(officialAccountRegisterPhoneVO, params);
|
||||
return new SuccessResult();
|
||||
}
|
||||
|
||||
|
@ -23,5 +23,5 @@ public interface IOfficialAccountRegisterService {
|
||||
* @param params
|
||||
* @throws Exception
|
||||
*/
|
||||
void phoneRegister(OfficialAccountRegisterPhoneVO officialAccountRegisterPhoneVO, Map<String, Object> params) throws Exception;
|
||||
void registerPhone(OfficialAccountRegisterPhoneVO officialAccountRegisterPhoneVO, Map<String, Object> params) throws Exception;
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ public class OfficialAccountRegisterServiceImpl extends DefaultBaseService imple
|
||||
private IOfficialAccountUserService officialAccountUserService;
|
||||
|
||||
@Override
|
||||
public void phoneRegister(OfficialAccountRegisterPhoneVO officialAccountRegisterPhoneVO, Map<String, Object> params) throws Exception {
|
||||
public void registerPhone(OfficialAccountRegisterPhoneVO officialAccountRegisterPhoneVO, Map<String, Object> params) throws Exception {
|
||||
OfficialAccountUserPO officialAccountUserPO = officialAccountUserService.getPOByUserCode(officialAccountRegisterPhoneVO.getUserCode());
|
||||
if (officialAccountUserPO == null) {
|
||||
throw new SearchException("验证码错误");
|
||||
|
Loading…
Reference in New Issue
Block a user