Commit 5bf12166 by qwmqiuwenmin

fix

parent c3e1f525
......@@ -61,11 +61,11 @@ public class SendCodeController extends WebBaseController{
//绑定
if (type == 1) {
StaffDTO staffDTO = staffApiService.selectByNationcodeAndPhoneNumber(wxEnterpriseId, nationcode, phoneNumber);
if (staffDTO == null) {
logger.info("用户不存在:{}-{}", nationcode,phoneNumber);
return resultResponse(HaoBanErrCode.ERR_8);
}
// StaffDTO staffDTO = staffApiService.selectByNationcodeAndPhoneNumber(wxEnterpriseId, nationcode, phoneNumber);
// if (staffDTO == null) {
// logger.info("用户不存在:{}-{}", nationcode,phoneNumber);
// return resultResponse(HaoBanErrCode.ERR_8);
// }
}
String smsCode = "";
if(CheckSmsCodeUtil.getCacheSmsCode(nationcode+"-"+phoneNumber, type) != null){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment