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