Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
takeout_sbk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yunpeng.song
takeout_sbk
Commits
c24fadea
Commit
c24fadea
authored
Feb 26, 2018
by
yunpeng.song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加文档,修改流程图
parent
3bba6db6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
74 additions
and
0 deletions
+74
-0
document/Picture/flow.png
+0
-0
document/星巴克.md
+74
-0
No files found.
document/Picture/flow.png
View replaced file @
3bba6db6
View file @
c24fadea
408 KB
|
W:
|
H:
24.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
document/星巴克.md
0 → 100644
View file @
c24fadea
!
[
](flow.png)
!
[
](flow.png)
## simphony拉取订单
### request:
字段名 | 类型 | 必选|说明
---|--- |--- |---
actionId| int| true |请求类型 1
storeId | string| true|门店号
posId | string| true |pos号
operatorId | string| true | 收银员
### reponse:
字段名 | 类型 | 说明
---|--- |---
fm_cmd|string |订单类型(入单还是退单)
statusCode | int | 状态
iscontinue | int |是否还有订单待拉取
msg|string |消息
data| object | 订单
pay_id | object | 支付信息
pay_id/pay_id | string | 支付方式(表示订单来源)
pay_id/pos_sale_id| string | pos短号
pay_id/order_status| int | 订单状态
pay_id/pay_str | string | 支付方式说明(一般是非码外卖)
pay_id/pay_ebcode | string | 支付方式中的类型&渠道(下方渠道对照表)
pay_id/pay_ebcode_str | string | 支付方式中的类型&渠道说明
pay_id/order_index |int |外卖平台流水号
pay_id/customer_name | string |顾客姓名
pay_id/customer_phone | string| 顾客手机
pay_id/customer_address |string |顾客地址
pay_id/has_invoice |bool |是否开发票
pay_id/invoice_title |string |发票抬头
pay_id/delivery_time | int| 配送时间戳
pay_id/delivery_type | int | 配送方式,0自配送、1平台配送
pay_id/delivery_party | string | 配送方式 例:百度配送
pay_id/create_time | int| 下单时间戳
pay_id/remark | string | 订单备注
pay_id/shop_fee | int | 门店能够从平台拿到的钱(已去除服务费)
pay_id/service_fee | int | 平台收取的佣金
pay_id/products_fee | int | 商品金额
pay_id/discount_fee | int | 优惠总额
pay_id/dis_shop_fee | int | 商家承担的优惠总额
pay_id/dis_platform_fee | int | 平台承担的优惠总额
pay_id/send_fee | int | 配送费
pay_id/package_fee |int | 打包费(餐盒总费用)
pay_id/package_amount |int | 餐盒数量
pay_id/invoice_amount |int | 发票金额
pay_id/paid_trans_id |string | 外卖平台订单号
pay_id/fm_id | string | 非码交易号
products | array | 商品信息
products/consume_num |int | 数量
products/pid | string | 商品编码
products/original_price |int | 外卖平台上的单价
products/sub_products | array | 套餐子商品信息,结构同products数组
## simphony消息回复
### request:
字段名 | 类型 | 说明
---|--- |---
actionId| int|请求类型 4
orderId | string|门店号
posSalesId|string |pos短号
### reponse:
字段名 | 类型 | 说明
---|--- |---
statusCode | int | 状态
iscontinue | int |是否还有订单待拉取
msg |string |消息
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment