文档
测试

积分变动记录

POST
https://zx.daoben.tech/web/index.php?_mall_id=1&r=api%2Fbalance%2Flogs&type=order

请求头

参数名
类型
描述
必填
X-Access-Token
string
示例:LuCitH9COGDIj73FtaztpxgV5BsQJBLE
必填

请求参数

参数名
类型
描述
必填
_mall_id
int
示例:1
必填
r
string
示例:api/balance/logs
必填
type
string
示例:order------余额记录类型,不传则是是收益记录,传order是订单记录
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:请求成功1
必填
data
object
数据字典
必填
list
array
数据列表
必填
id
string
示例:144
必填
money
string
示例:10.00
必填
type
string
示例:1
必填
desc
string
示例:当面付赠送积分
必填
order_no
string
示例:20220217153612395826
必填
custom_desc
object
数据字典
必填
id
int
示例:414
必填
mall_id
int
示例:1
必填
user_id
int
示例:3
必填
mch_id
int
示例:5
必填
order_no
string
示例:20220217153612395826
必填
total_price
string
示例:0.01
必填
total_pay_price
string
示例:0.01
必填
express_original_price
string
示例:0.00
必填
express_price
string
示例:0.00
必填
total_goods_price
string
示例:0.01
必填
total_goods_original_price
string
示例:0.01
必填
member_discount_price
string
示例:0.00
必填
full_reduce_price
string
示例:0.00
必填
use_user_coupon_id
int
示例:0
必填
coupon_discount_price
string
示例:0.00
必填
use_integral_num
int
示例:0
必填
integral_deduction_price
string
示例:0.00
必填
name
string
示例:
必填
mobile
string
示例:
必填
address
string
示例:
必填
remark
string
示例:0
必填
order_form
string
示例:[]
必填
words
string
示例:
必填
seller_remark
string
示例:
必填
is_pay
int
示例:1
必填
pay_type
int
示例:1
必填
pay_time
string
示例:2022-02-17 15:36:30
必填
is_send
int
示例:1
必填
send_time
string
示例:2022-02-17 15:36:30
必填
customer_name
string
示例:
必填
express
string
示例:
必填
express_no
string
示例:
必填
is_sale
int
示例:1
必填
is_confirm
int
示例:1
必填
confirm_time
string
示例:2022-02-17 15:36:30
必填
cancel_status
int
示例:0
必填
cancel_time
string
示例:0000-00-00 00:00:00
必填
created_at
string
示例:2022-02-17 15:36:12
必填
updated_at
string
示例:2022-02-17 15:36:30
必填
deleted_at
string
示例:0000-00-00 00:00:00
必填
is_delete
int
示例:0
必填
is_recycle
int
示例:0
必填
send_type
int
示例:3
必填
offline_qrcode
string
示例:
必填
clerk_id
int
示例:0
必填
store_id
int
示例:0
必填
sign
string
示例:scan_code_pay
必填
token
string
示例:ot6UJ2-zxdmgYKZEhG0Pn1cZujNWJOqT
必填
support_pay_types
string
示例:["online_pay","balance"]
必填
is_comment
int
示例:0
必填
comment_time
string
示例:2022-02-17 15:36:30
必填
sale_status
int
示例:0
必填
status
int
示例:1
必填
back_price
string
示例:0.00
必填
auto_cancel_time
object
示例:null
必填
auto_confirm_time
object
示例:null
必填
auto_sales_time
string
示例:2022-02-17 15:36:30
必填
distance
int
示例:-1
必填
city_mobile
string
示例:
必填
location
object
示例:null
必填
city_name
object
示例:null
必填
city_info
object
示例:null
必填
cancel_data
object
示例:null
必填
sends
array
数据列表
必填
goods_id
int
示例:54
必填
goods_name
string
示例:当面付
必填
send_num
int
示例:10
必填
cover_pic
string
示例:https://newshop.huamais.com/plugins/scan_code_pay/assets/img/goods_pic.png
必填