#### 记录
~~~[api]
get:/index/integral/log
number:p=1#当前页数
number:ps=10#分页大小
<<<
success
{
"code": 1,
"msg": "",
"time": "2018-09-10 13:13:02",
"data": [
{
"id": 2,
"member_id": 1,
"integral_id": 1,
"operator_id": 1,
"recharge_sn": "",
"operate": 1,
"money": "100.00",
"before": "899.00",
"after": "799.00",
"remark": "购物兑换(兑换商品:积分商品1,数量:100)",
"status": 1,
"created_at": "2018-09-10 12:02:23",
"updated_at": "2018-09-10 12:02:23",
"status_text": "正常"
}
],
"_meta": {
"totalCount": 1,
"pageCount": 1,
"currentPage": 1,
"perPage": 10
}
}
~~~
#### 商品
~~~[api]
get:/index/integral/goodsIndex
number:p=1#当前页数
number:ps=10#分页大小
<<<
success
{
"code": 1,
"msg": "",
"time": "2018-09-09 13:12:54",
"data": [
{
"id": 1,
"sn": "20180907004346599814",
"name": "积分商品1",
"thumb": "http://oss.dgyouduo.com/static/img/no-image.png",
"banner": [
"http://oss.dgyouduo.com/static/img/no-image-16x10.png"
],
"summary": "",
"content": "",
"integral": "1.00",
"market_price": "10.00",
"inventory": 1000,
"sort": 0,
"is_sale": 1,
"status": 1,
"created_at": "2018-09-07 00:43:47",
"updated_at": "2018-09-09 12:15:45",
"saled_at": "2016-01-01 00:00:00",
"status_text": "正常"
}
],
"_meta": {
"totalCount": 1,
"pageCount": 1,
"currentPage": 1,
"perPage": 10
}
}
~~~
#### 商品详情
~~~[api]
get:/index/integral/goodsRetrieve/id/:id
<<<
success
{
"code": 1,
"msg": "",
"time": "2018-09-10 09:18:16",
"data": {
"id": 1,
"sn": "20180907004346599814",
"name": "积分商品1",
"thumb": "http://oss.dgyouduo.com/static/img/no-image.png",
"banner": [
"http://oss.dgyouduo.com/static/img/no-image-16x10.png"
],
"summary": "",
"content": "",
"integral": "1.00",
"market_price": "10.00",
"inventory": 1000,
"sort": 0,
"is_sale": 1,
"status": 1,
"created_at": "2018-09-07 00:43:47",
"updated_at": "2018-09-09 12:15:45",
"saled_at": "2016-01-01 00:00:00",
"status_text": "正常"
}
}
~~~
#### 订单列表
> 状态,0=>已取消,1=>待付款,2=>待发货,3=>待收货,4=>待评价,5=>已评价
~~~[api]
get:/index/integral/orderIndex
number:status=0#状态,0=>全部,1=>待付款,2=>待发货,3=>待收货,4=>待评价
number:p=1#当前页数
number:ps=10#分页大小
<<<
success
{
"code": 1,
"msg": "",
"time": "2018-09-10 13:08:26",
"data": [
{
"id": 1,
"member_id": 1,
"sn": "20180910111136666395",
"buyer_ip": "127.0.0.1",
"buyer_terminal": 1,
"consignee": "收货人",
"mobile": "18666864521",
"email": "",
"country": "86",
"province": "440000",
"city": "441900",
"district": "441903",
"twon": "0",
"address": "恒大",
"zipcode": "",
"longitude": "0",
"latitude": "0",
"express_name": "",
"express_shipper_code": "",
"express_code": "",
"express_price": "0.00",
"express_remark": "",
"integral_deduction": "1.00",
"balance_deduction": "0.00",
"actual_price": "10.00",
"price": "10.00",
"member_remark": "",
"remark": "",
"pay_type": 0,
"pay_code": "",
"sort": 0,
"is_cancel": 0,
"is_payment": 0,
"is_deliver": 0,
"is_receiving": 0,
"is_complete": 0,
"is_evaluate": 0,
"status": 1,
"created_at": "2018-09-10 11:11:36",
"updated_at": "2018-09-10 11:11:36",
"cancel_at": "2016-01-01 00:00:00",
"payment_at": "2016-01-01 00:00:00",
"deliver_at": "2016-01-01 00:00:00",
"receiving_at": "2016-01-01 00:00:00",
"complete_at": "2016-01-01 00:00:00",
"evaluate_at": "2016-01-01 00:00:00",
"order_goods": [
{
"id": 1,
"order_id": 1,
"name": "IntegralGoods",
"thumb": "http://oss.dgyouduo.com/static/img/no-image.png",
"integral": "1.00",
"market_price": "10.00",
"number": 1
}
],
"status_text": "待付款"
}
],
"_meta": {
"totalCount": 1,
"pageCount": 1,
"currentPage": 1,
"perPage": 10
}
}
~~~
#### 订单详情
~~~[api]
get:/index/integral/orderRetrieve/id/:id
<<<
success
{
"code": 1,
"msg": "",
"time": "2018-09-10 13:02:30",
"data": {
"id": 6,
"member_id": 1,
"sn": "20180910120223621642",
"buyer_ip": "127.0.0.1",
"buyer_terminal": 1,
"consignee": "收货人",
"mobile": "18666864521",
"email": "",
"country": "86",
"province": "440000",
"city": "441900",
"district": "441903",
"twon": "0",
"address": "恒大",
"zipcode": "",
"longitude": "0",
"latitude": "0",
"express_name": "",
"express_shipper_code": "",
"express_code": "",
"express_price": "0.00",
"express_remark": "",
"integral_deduction": "100.00",
"balance_deduction": "0.00",
"actual_price": "1000.00",
"price": "1000.00",
"member_remark": "",
"remark": "",
"pay_type": 7,
"pay_code": "1",
"sort": 0,
"is_cancel": 0,
"is_payment": 1,
"is_deliver": 0,
"is_receiving": 0,
"is_complete": 0,
"is_evaluate": 0,
"status": 2,
"created_at": "2018-09-10 12:02:23",
"updated_at": "2018-09-10 12:02:23",
"cancel_at": "2016-01-01 00:00:00",
"payment_at": "2018-09-10 12:02:23",
"deliver_at": "2016-01-01 00:00:00",
"receiving_at": "2016-01-01 00:00:00",
"complete_at": "2016-01-01 00:00:00",
"evaluate_at": "2016-01-01 00:00:00",
"order_goods": [
{
"id": 6,
"order_id": 6,
"goods_id": 1,
"name": "积分商品1",
"thumb": "http://oss.dgyouduo.com/static/img/no-image.png",
"integral": "1.00",
"market_price": "10.00",
"number": 100
}
],
"status_text": "待发货"
}
}
~~~
#### 订单创建
~~~[api]
post:/index/integral/orderCreate
*number:goods_id#商品ID
*number:number#商品数量
*number:address_id#收货地址ID
*number:buyer_terminal#购买者终端,1=>PC,2=>WAP,3=>微信,4=>安卓,5=>IOS
*string:longitude#经度
*string:latitude#纬度
string:member_remark#会员备注
<<<
success
{
"code": 1,
"msg": "",
"time": "2018-09-10 12:02:22",
"data": {
"member_remark": "",
"member_id": 1,
"sn": "20180910120223621642",
"buyer_ip": "127.0.0.1",
"buyer_terminal": "1",
"consignee": "收货人",
"mobile": "18666864521",
"email": "",
"country": 86,
"province": 440000,
"city": 441900,
"district": 441903,
"twon": 0,
"address": "恒大",
"zipcode": "",
"longitude": "0",
"latitude": "0",
"express_name": "",
"express_shipper_code": "",
"express_code": "",
"express_price": 0,
"express_remark": "",
"integral_deduction": 100,
"balance_deduction": 0,
"actual_price": 1000,
"price": 1000,
"pay_type": 7,
"pay_code": 1,
"is_payment": 1,
"payment_at": "2018-09-10 12:02:23",
"created_at": "2018-09-10 12:02:23",
"updated_at": "2018-09-10 12:02:23",
"id": "6"
}
}
~~~
- 简介
- 模型
- 模型规范
- 后台用户模型
- 商家用户模型
- 会员用户模型
- 配送员用户模型
- 文章模型
- 门店模型
- 门店模型(高德地图)
- 商品模型
- 模板商品模型
- 购物车模型
- 订单模型
- 配送订单模型
- 快递模型
- 积分商品模型
- 促销模型
- 平台API
- 首页
- 系统管理
- 账户管理
- 角色管理
- 权限管理
- 菜单管理
- 平台管理
- 会员端设定
- 积分设定
- 接口管理
- 微信接口
- 短信接口
- 快递接口
- 地图接口
- 支付宝接口
- 文章管理
- 分类管理
- 文章列表
- 审核管理
- 商家管理
- 商家列表
- 角色管理
- 权限管理
- 菜单管理
- 申请管理
- 门店管理
- 分类管理
- 门店列表
- 审核管理
- 配送员管理
- 配送员列表
- 会员管理
- 会员列表
- 商品管理
- 分类管理
- 品牌管理
- 商品列表
- 参数管理
- 规格管理
- 订单管理
- 订单列表
- 快递管理
- 快递列表
- 促销管理
- 红包管理
- 积分管理
- 商品管理
- 订单管理
- 财务管理
- 模板商品管理
- 分类管理
- 品牌管理
- 商品列表
- 参数管理
- 规格管理
- 商家API
- 首页
- 系统管理
- 账户管理
- 角色管理
- 权限管理
- 门店管理
- 门店列表
- 商品管理
- 分类管理
- 品牌管理
- 商品列表
- 参数管理
- 规格管理
- 模板商品
- 订单管理
- 订单列表
- 售后管理
- 投诉管理
- 快递管理
- 快递列表
- 配送员管理
- 配送员列表
- 促销管理
- 商品秒杀
- 订单满减
- 优惠券管理
- 财务管理
- 配送员API
- 首页
- 工作状态
- 订单管理
- 消息中心
- 个人中心
- 文章
- 钱包
- 系统
- 会员API
- 首页
- 商家
- 门店
- 商品
- 会员
- 收货地址
- 购物车
- 订单
- 订单售后
- 订单投诉
- 红包
- 优惠券
- 积分
- 文章
- 公共API
- 阿里云对象存储
- 微信公众平台
- 微信支付平台
- 支付宝
- 凌凯短信
- 快递鸟
- 接口返回码
- 20180104沟通记录
- 20180119沟通记录
- 20180130沟通记录
- 20180313沟通记录