mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-13 11:49:49 +08:00
打印日志
This commit is contained in:
@@ -130,7 +130,7 @@ public class MemberController extends BaseController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 支付寶一键登录
|
* 支付宝一键登录
|
||||||
* http://localhost:8080/uniapp/member/alipayLogin
|
* http://localhost:8080/uniapp/member/alipayLogin
|
||||||
*/
|
*/
|
||||||
@PostMapping("/alipayLogin")
|
@PostMapping("/alipayLogin")
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ public class UserUtils {
|
|||||||
}
|
}
|
||||||
String deptId = String.valueOf(dept.getDeptId());
|
String deptId = String.valueOf(dept.getDeptId());
|
||||||
resultVO.setDeptId(deptId);
|
resultVO.setDeptId(deptId);
|
||||||
log.info("用户id:{}, 所属部门信息:{}", user.getUserId(), JSON.toJSONString(dept));
|
// log.info("用户id:{}, 所属部门信息:{}", user.getUserId(), JSON.toJSONString(dept));
|
||||||
// 登录用户角色
|
// 登录用户角色
|
||||||
Long parentId = dept.getParentId();
|
Long parentId = dept.getParentId();
|
||||||
resultVO.setParentId(String.valueOf(parentId));
|
resultVO.setParentId(String.valueOf(parentId));
|
||||||
@@ -87,6 +87,7 @@ public class UserUtils {
|
|||||||
stationDeptIds.add(deptId);
|
stationDeptIds.add(deptId);
|
||||||
resultVO.setStationDeptIds(stationDeptIds);
|
resultVO.setStationDeptIds(stationDeptIds);
|
||||||
}
|
}
|
||||||
|
log.info("用户id:{}, AuthorizedDeptVO:{}", user.getUserId(), JSON.toJSONString(resultVO));
|
||||||
return resultVO;
|
return resultVO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user