文档
测试

设置头像

POST
http://192.168.1.107:9081/v1.6.0/api/user/set/diy/icon

请求头

参数名
类型
描述
必填
channel
string
示例:hqf
必填
versionCode
int
示例:20230410
必填
token
string
示例:xQ01OW7dlJflmWOX6W5oyG4shhjhpRfmDeIYWMcgXxXsXY9NT46KTmjZUSqvKGyISUe0sg7SbiA92zGzAjcO6YUg2klZmVOtjvj5vhu0uVE=
必填
platform
int
示例:1
必填
versionCode
string
示例:
必填

请求参数

参数名
类型
描述
必填
icon
string
示例:https://pics0.baidu.com/feed/8cb1cb1349540923b64db433dbaada05b2de4951.jpeg
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
data
object
数据字典
必填
id
int
示例:1329864
必填
userName
string
示例:用户-9aiyR
必填
birthTime
string
示例:2023-01-01
必填
themeId
int
示例:1
必填
bottomLabelId
int
示例:1
必填
portraitId
int
示例:0
必填
createUserId
object
示例:null
必填
createTime
int
示例:1681203559000
必填
updateTime
object
示例:null
必填
loginTime
int
示例:1681957289285
必填
deviceNumber
string
示例:45e7904f62a2fcad
必填
loginIp
string
示例:125.85.139.125
必填
phoneModel
object
示例:null
必填
adver
object
示例:null
必填
imei
object
示例:null
必填
channel
string
示例:branch360
必填
channelNumber
string
示例:branch360
必填
token
string
示例:xQ01OW7dlJflmWOX6W5oyCTQJjvi2KA8bJadD5QZ7rLjfNLa1QCiGuUeHsSyFfA9mM49OdhiBazYdkXqpcCMX5pQL12+urwJrzlmhkryVLg=
必填
coin
int
示例:0
必填
coinTotal
int
示例:0
必填
status
int
示例:1
必填
sex
object
示例:null
必填
openId
string
示例:2D4C434F03FC2C79D8DB1240F1820AA1
必填
type
int
示例:0
必填
uuId
string
示例:724fe581b9ba4147bdb3ee4ae04c91df1681203569567
必填
expirationTime
object
示例:null
必填
idfa
object
示例:null
必填
iconUrl
string
示例:https://pics0.baidu.com/feed/8cb1cb1349540923b64db433dbaada05b2de4951.jpeg
必填
platform
int
示例:1
必填
regId
string
示例:Sf2sgk2RAbbLro32uMBeR1SHUiocYS1xxbH3xpCjuEKDD7bWXUpNL1DHnYakN/WU
必填
rom
string
示例:Xiaomi
必填
hungerNum
int
示例:25
必填
dogFood
int
示例:10
必填
food
int
示例:0
必填
foodTime
int
示例:1681956372000
必填
smsCode
object
示例:null
必填
themeUrl
string
示例:https://mikasource.hengqifeng.com/Myweek/theme/%E9%BB%98%E8%AE%A4_%E4%B8%AA%E4%BA%BA.png
必填
themeUrlTow
string
示例:https://mikasource.hengqifeng.com/theme/urlTows/1673933908449.png
必填
themeUrlThree
string
示例:https://mikasource.hengqifeng.com/theme/urlThreeF/1676016390955.png
必填
theme
object
示例:null
必填
bottomLabelSubList
array
数据列表
必填
id
int
示例:27
必填
name
string
示例:首页
必填
bottomLabelId
int
示例:1
必填
url
string
示例:https://mikasource.hengqifeng.com/bottomLabelSub/urls/1673927281194.png
必填
checkUrl
string
示例:https://mikasource.hengqifeng.com/bottomLabelSub/checkUrls/1673927281194.png
必填
createTime
int
示例:1673927281000
必填
status
int
示例:1
必填
isNews
int
示例:1
必填
sort
int
示例:5
必填
bottomLabelUrl
object
示例:null
必填
portraitUrl
string
示例:https://pics0.baidu.com/feed/8cb1cb1349540923b64db433dbaada05b2de4951.jpeg
必填
iosAlias
string
示例:alias_type
必填
vipSwitch
int
示例:1
必填
pets
object
数据字典
必填
id
int
示例:5622
必填
name
string
示例:呆呆
必填
experience
int
示例:0
必填
clear
int
示例:0
必填
hunger
int
示例:0
必填
healthy
int
示例:0
必填
userId
int
示例:1329864
必填
hungerUpdateTime
int
示例:1681203570000
必填
cleanUpdateTime
int
示例:1681203570000
必填
healthyUpdateTime
int
示例:1681203570000
必填
weekTime
int
示例:1681660801000
必填
createTime
int
示例:1681203570000
必填
score
int
示例:100
必填
floatImage
string
示例:https://mikasource.hengqifeng.com/Myweek/me-zhang-new.png
必填
floatBigImage
string
示例:https://mikasource.hengqifeng.com/Myweek/gouwo-zhang-new.png
必填
floatHomeImage
string
示例:https://mikasource.hengqifeng.com/Myweek/home-zhang-new.png
必填
message
string
示例:操作成功
必填