#### 記錄
~~~[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溝通記錄