tilents commited on
Commit
a70e140
·
1 Parent(s): 901d23c

change userinfo

Browse files
Files changed (1) hide show
  1. AppPub/User/Bean/UserInfo.py +1 -1
AppPub/User/Bean/UserInfo.py CHANGED
@@ -42,7 +42,7 @@ class UserInfo:
42
  # 成功获取数据
43
  data = response.content.decode('utf-8') # 使用正确的字符编码
44
  print(f"PostUserData: {data}")
45
- return json.loads(data)
46
  else:
47
  print(f'Failed to fetch data. Status code: {response.status_code}')
48
  return None
 
42
  # 成功获取数据
43
  data = response.content.decode('utf-8') # 使用正确的字符编码
44
  print(f"PostUserData: {data}")
45
+ return data
46
  else:
47
  print(f'Failed to fetch data. Status code: {response.status_code}')
48
  return None