充电宝改版首页
POST
http://localhost:8080/app/charger/home/new
接口描述
充电宝首页接口数据项维持不变 主要增加一个字段:charge_given_percent 用户当前分润比例 返回的数据是带%的 请勿重复显示%
请求参数
参数名
类型
描述
必填
user_id
string
示例:cab441114a40493daf2b7266db59daee
必填
sign
string
示例:7c6a0395790fd7418c462c449ee6ba33
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
errors
object
数据字典
必填
msg
string
示例:数据加载成功
必填
model_img
string
示例:http://yun-pay.hs499.com/upload//202008/1598251673725.png
必填
is_having_right
int
示例:1
必填
type_name
string
示例:充电宝
必填
is_open
int
示例:1
必填
model_method
string
示例:charge_market
必填
route_type_id
string
示例:660905ace54d417eb6df36422a6824c6
必填
model_id
string
示例:
必填
sort
int
示例:2
必填
is_can_edit
int
示例:1
必填
is_show_home
int
示例:1
必填
oem_id
string
示例:5988
必填
h5_url
string
示例:
必填
model_name
string
示例:智电商城
必填
is_h5_view
int
示例:0
必填
id
string
示例:b492bb70257541819d604c4a71061029
必填
img_path
string
示例:http://yun-pay.hs499.com/upload//202009/1599046287546.png
必填
equipment_name
string
示例:纷米智电E7
必填
equipment_price
int
示例:200
必填
equipment_top_img
string
示例:upload//202009/1599202685141.png,upload//202009/1599202689954.png
必填
sale_num
int
示例:6985
必填
equipment_img
string
示例:upload//202009/1599047004657.png
必填
id
string
示例:7936808dd2884e4fba827330981ee93a
必填
equipment_desc
string
示例:<p><img src="http://yun-pay.hs499.com/upload//202009/1599047043534.png"/></p>
必填
total_amount
Bigdecimal
总流水
必填
total_balance
Bigdicimal
账户余额
必填
total_order_num
int
总订单笔数
必填
total_profit
Bigdecimal
总收益
必填