保存城市信息
POST
/user/v1/saveCity
接口描述
保存城市信息
请求头
参数名
类型
描述
必填
ACCESSTOKEN
string
登录注册时返回的用户ppId
必填
请求参数
参数名
类型
描述
必填
cityList
array
保存的城市id数组
必填
positionList
array
定位城市id列表
必填
attentionList
array
特别关注城市id列表
必填
响应参数
参数名
类型
描述
必填
code
int
返回结果码 1000-成功 非1000-未成功
必填
attentionCities
array
特别关注城市对象列表
必填
adCode
string
示例:440100
必填
cityId
string
示例:101280101
必填
cityZh
string
示例:广州
必填
countryZh
string
示例:中国
必填
id
int
示例:1674
必填
lat
string
示例:23.125178
必填
leaderZh
string
示例:广州市
必填
lng
string
示例:113.280637
必填
provinceZh
string
示例:广东省
必填
temMax
string
示例:33
必填
temMin
string
示例:25
必填
type
int
示例:2
必填
wea
string
示例:中雨
必填
weaImg
string
示例:rainy
必填
adCode
string
示例:310110
必填
cityId
string
示例:101021700
必填
cityZh
string
示例:杨浦
必填
countryZh
string
示例:中国
必填
id
int
示例:1676
必填
lat
string
示例:31.270755
必填
leaderZh
string
示例:上海市
必填
lng
string
示例:121.522797
必填
provinceZh
string
示例:上海市
必填
temMax
string
示例:34
必填
temMin
string
示例:27
必填
type
int
示例:1
必填
wea
string
示例:阴
必填
weaImg
string
示例:brokenclouds
必填
cityIds
array
城市id列表
必填
marsFlag
boolean
是否包含火星城市
必填
adCode
string
示例:M0001
必填
cityId
string
示例:M0001
必填
cityZh
string
示例:盖尔环形山(火星)
必填
countryZh
string
示例:火星
必填
date
string
示例:2021-07-20
必填
leaderZh
string
示例:火星
必填
pressure
string
示例:859
必填
provinceZh
string
示例:火星
必填
solar
int
示例:3183
必填
sunRise
string
示例:05:59
必填
sunSet
string
示例:17:42
必填
temMax
string
示例:-79
必填
temMin
string
最低气温
必填
temAvg
string
火星表面平均气温
必填
earthDay
string
地球每天时长
必填
marsDay
string
火星每天时长
必填
adCode
string
示例:M0001
必填
cityId
string
示例:M0001
必填
cityZh
string
示例:盖尔环形山(火星)
必填
countryZh
string
示例:火星
必填
date
string
示例:2021-07-20
必填
leaderZh
string
示例:火星
必填
pressure
string
示例:859
必填
provinceZh
string
示例:火星
必填
solar
int
示例:3183
必填
sunRise
string
示例:05:59
必填
sunSet
string
示例:17:42
必填
temMax
string
示例:-79
必填
temMin
string
最低气温
必填
temAvg
string
火星表面平均气温
必填
earthDay
string
地球每天时长
必填
marsDay
string
火星每天时长
必填
message
string
返回结果信息
必填