添加日志

This commit is contained in:
yujicun
2023-08-21 16:58:16 +08:00
parent 1c864de6eb
commit 5ded38c0fd

View File

@@ -36,7 +36,7 @@ public class ThirdApi {
public List<UserInfoListVo> getAllUserList(UserListParam userListParam, String token) {
log.info("获取用户");
log.info("获取用户:url:{}|params:{}|token:", searchUserListUrl, JSONUtil.toJsonStr(userListParam), token);
String resp = Optional.ofNullable(HttpRequest.post(searchUserListUrl).body(JSONUtil.toJsonStr(userListParam)).header("token", token).execute().body()).orElseThrow(() -> new RuntimeException("token校验失败"));
UserInfoListRootBean userInfoListRootBean1 = JSONUtil.toBean(resp, UserInfoListRootBean.class);
log.info("userInfoListRootBean1 = " + userInfoListRootBean1);