授权  
参数名称 类型 是否必填 参数描述 备注
api_key String 系统分配的ApiKey
api_target String 调用接口名称 com_cmall_newscenter_beauty_api_GetCosmeticBagApi
api_token String 用户授权码 已登陆用户授权码,64位16进制编码。
api_input String 输入参数 应用输入参数的JSON格式
参数名称 类型 必填 示例 参数描述 备注
cosmetic_type String 妆品类型 为空查全部 即将过期=449747120001 已过期=449747120002
paging PageOption 5,10 翻页选项 输入起始页码和每页10条
version int 版本号 仅用于扩展,无需传入
参数名称 类型 参数描述 备注
paged PageResults 翻页结果
resultCode int 返回标记 如果返回标记1则为API调用成功 否则则是错误编号
resultMessage String 返回消息 返回的消息描述
cosmetic CosmeticBag[] 化妆包中的妆品列表
CosmeticBag
参数名称 类型 参数描述 备注
unit String 单位
cosmetic_code String 妆品编码
days String 距离失效天数 只返回天数
count String 数量
remark String 备注
cosmetic_price String 妆品价格
disabled_time String 失效时间
cosmetic_name String 妆品名称
iswarn String 是否提醒 是=449746250001 否=449746250002
photo String[] 图片
warn_time String 提醒时间 一个月=449747140001 三个月=449747140002 半年=449747140003 一年=449747140004

PageResults
参数名称 类型 参数描述 备注
total int 总数量
more int 是否还有更多
count int 返回数量

String
参数名称 类型 参数描述 备注

PageOption
参数名称 类型 参数描述 备注
limit int 每页条数 每页10条

[校验规则]:
minlength=1
offset int 起码页号 起始页码

[校验规则]:
regex=^\d+$