Commit df24a5bc by huluobin

美甲师登陆流程修改 线程变量保存登陆Seesion

parent 23e8fb2d
...@@ -14,6 +14,7 @@ import com.gogirl.infrastructure.common.annotation.GogirlShop; ...@@ -14,6 +14,7 @@ import com.gogirl.infrastructure.common.annotation.GogirlShop;
import com.gogirl.infrastructure.common.base.JsonResult; import com.gogirl.infrastructure.common.base.JsonResult;
import com.gogirl.infrastructure.common.exception.RRException; import com.gogirl.infrastructure.common.exception.RRException;
import com.gogirl.infrastructure.common.util.ListUtil; import com.gogirl.infrastructure.common.util.ListUtil;
import com.gogirl.infrastructure.common.util.StringUtils;
import com.gogirl.infrastructure.mapper.store.StoreManageMapper; import com.gogirl.infrastructure.mapper.store.StoreManageMapper;
import com.gogirl.infrastructure.mapper.user.CustomerMapper; import com.gogirl.infrastructure.mapper.user.CustomerMapper;
import com.gogirl.infrastructure.sms.SmsService; import com.gogirl.infrastructure.sms.SmsService;
...@@ -145,7 +146,7 @@ public class PhoneLoginController { ...@@ -145,7 +146,7 @@ public class PhoneLoginController {
throw new RRException("请联系管理员添加美甲师"); throw new RRException("请联系管理员添加美甲师");
} }
if (storeTechnician.getOpenid() != null) { if (StringUtils.isNotEmpty(openid)) {
throw new RRException("已经绑定过手机号"); throw new RRException("已经绑定过手机号");
} }
storeTechnician.setOpenid(openid); storeTechnician.setOpenid(openid);
......
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