增加日志

parent 1abe11b4
......@@ -127,9 +127,11 @@ public class UserController implements IBaseController {
return validMap.get("fail");
}
Merchant merchant = merchantService.findMerchantByName(key);
if (merchant == null) {
return JsonResult.buildErrorStateResult("未知的连接", null);
}
LOGGER.info("key",merchant.getName());
JsonResult successResult = validMap.get("success");
String phoneNo = successResult.getData().toString();
String verificationCode = successResult.getMsg();
......@@ -193,6 +195,7 @@ public class UserController implements IBaseController {
if (merchant == null) {
return JsonResult.buildErrorStateResult("未知的连接", null);
}
LOGGER.info("key",merchant.getName());
JsonResult successResult = validMap.get("success");
String phoneNo = successResult.getData().toString();
User user = userService.findByPhoneWithCache(phoneNo);
......
......@@ -42,6 +42,7 @@ public class SessionServiceImpl implements ISessionService {
AuthBean authBean = new AuthBean();
LoginProperties properties = new LoginProperties();
properties.setAppChannel(appChannel);
log.info("merchant:{}",merchant.getName());
if(null!=merchant){
properties.setMerchantName(merchant.getName());
}
......
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