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
d5c4a9f5
Commit
d5c4a9f5
authored
Feb 26, 2018
by
yunpeng.song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改文档
parent
c24fadea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
94 additions
and
3 deletions
+94
-3
document/星巴克.md
+94
-3
No files found.
document/星巴克.md
View file @
d5c4a9f5
!
[
](flow.png)

!
[
](flow.png)

## simphony拉取订单
>OMS插件点击触发simphony拉取订单,返回订单
### request:
字段名 | 类型 | 必选|说明
...
...
@@ -56,11 +58,12 @@ products/original_price |int | 外卖平台上的单价
products/sub_products | array | 套餐子商品信息,结构同products数组
## simphony消息回复
>当simphony处理完订单时,如果是新订单需要将小票号和订单号一起回复给OMS插件,如果是退款单,则回复插件已经确认撤单,返回成功或失败。
### request:
字段名 | 类型 | 说明
---|--- |---
actionId| int|请求类型 4
orderId | string|
门店
号
orderId | string|
订单
号
posSalesId|string |pos短号
...
...
@@ -71,3 +74,91 @@ statusCode | int | 状态
iscontinue | int |是否还有订单待拉取
msg |string |消息
## simphony确认接单
>由simphony主动发起通知OMS插件确认接单,返回成功或者失败。
### request:
字段名 | 类型 | 说明
---|--- |---
actionId| int|请求类型 2
orderId | string|订单号
posSalesId|string |pos短号
### reponse:
字段名 | 类型 | 说明
---|--- |---
statusCode | int | 状态
iscontinue | int |是否还有订单待拉取
msg |string |消息
## simphony取消订单
>由simphony主动发起通知OMS插件取消订单,返回成功或者失败。
### request:
字段名 | 类型 | 说明
---|--- |---
actionId| int|请求类型 3
orderId | string|订单号
posSalesId|string |pos短号
### reponse:
字段名 | 类型 | 说明
---|--- |---
statusCode | int | 状态
iscontinue | int |是否还有订单待拉取
msg |string |消息
## OMS登录接口
>oms接受simphony发送的门店信息,像服务端发送登录请求。
### request:
字段名 | 类型 | 说明
---|--- |---
iPAddress| int| pos机ip地址
partnerId | string|商户号
orgCode|string |门店号
password |string | 登录密码
machineCode |string | pos编号
### reponse:
字段名 | 类型 | 说明
---|--- |---
data | object | 数据
data/PosToken | string |token
data/StoreName |string |门店名称
message | string | 错误消息
statusCode | int |状态
## OMS心跳接口
>定时发送终端信息到服务端,告知pos在线。
### request:
字段名 | 类型 | 说明
---|--- |---
iPAddress| int| pos机ip地址
partnerId | string|商户号
orgCode|string |门店号
password |string | 登录密码
machineCode |string | pos编号
### reponse:
字段名 | 类型 | 说明
---|--- |---
data | object | 数据
data/PosToken | string |token
data/StoreName |string |门店名称
message | string | 错误消息
statusCode | int |状态
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