修改注册名称

This commit is contained in:
wanggeng888 2021-05-06 17:54:41 +08:00
parent b586b7fc36
commit f110effbc7
3 changed files with 3 additions and 3 deletions

View File

@ -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();
}

View File

@ -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;
}

View File

@ -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("验证码错误");