Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FMVIPAPI
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
zhenfei.zhang
FMVIPAPI
Commits
6c082781
Commit
6c082781
authored
Jan 08, 2018
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改支付条码字段名为barcode
parent
e1d6beff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
非码会员客户端与POS对接文档 V2.0.1.md
+7
-5
No files found.
非码会员客户端与POS对接文档 V2.0.
0
.md
→
非码会员客户端与POS对接文档 V2.0.
1
.md
View file @
6c082781
# 非码会员客户端与POS对接文档 V2.0.0
# 非码会员客户端与POS对接文档 V2.0.1
# 非码会员客户端与POS对接文档 V2.0.0
# 非码会员客户端与POS对接文档 V2.0.1
[
TOC
]
[
TOC
]
...
@@ -194,7 +194,7 @@ typedef struct {
...
@@ -194,7 +194,7 @@ typedef struct {
| undis_amount | false | int | 不可优惠金额(分),默认为0 |
| undis_amount | false | int | 不可优惠金额(分),默认为0 |
| order_id | true | string | POS订单号 |
| order_id | true | string | POS订单号 |
| trans_id | true | string | POS交易号 |
| trans_id | true | string | POS交易号 |
| code | false | string | 支付条码。如果不传该字段,则会弹窗由收银员录入。 |
|
bar
code | false | string | 支付条码。如果不传该字段,则会弹窗由收银员录入。 |
| products | true | array | 商品信息 |
| products | true | array | 商品信息 |
| products/pid | true | string | 商品货号 |
| products/pid | true | string | 商品货号 |
| products/name | true | string | 商品名称 |
| products/name | true | string | 商品名称 |
...
@@ -211,7 +211,7 @@ typedef struct {
...
@@ -211,7 +211,7 @@ typedef struct {
| fm_order_id | true | string | 非码订单号 |
| fm_order_id | true | string | 非码订单号 |
| fm_trans_id | true | string | 非码交易号 |
| fm_trans_id | true | string | 非码交易号 |
| paid_amount | true | int | 交易金额(分) |
| paid_amount | true | int | 交易金额(分) |
| dis
_amount | tru
e | int | 优惠金额(分) |
| dis
count_amount | fals
e | int | 优惠金额(分) |
| pay_list | true | array | 支付方式列表 |
| pay_list | true | array | 支付方式列表 |
| pay_list
\p
ay_id | true | string |
[
支付方式编码
](
#支付类型对照表
)
| pay_list
\p
ay_id | true | string |
[
支付方式编码
](
#支付类型对照表
)
| pay_list
\p
ay_str | true | string | 支付方式描述
| pay_list
\p
ay_str | true | string | 支付方式描述
...
@@ -357,7 +357,7 @@ typedef struct {
...
@@ -357,7 +357,7 @@ typedef struct {
| statusCode | false | int | 响应状态码, 同status_code字段。兼容老版本接口。|
| statusCode | false | int | 响应状态码, 同status_code字段。兼容老版本接口。|
| msg | false | string | 响应信息 |
| msg | false | string | 响应信息 |
| fm_order_id | true | string | 非码订单号 |
| fm_order_id | true | string | 非码订单号 |
| ext | false |
string
| 扩展字段 |
| ext | false |
obj
| 扩展字段 |
| ext/print | false | string | 打印信息 |
| ext/print | false | string | 打印信息 |
#### 示例
#### 示例
...
@@ -425,5 +425,6 @@ typedef struct {
...
@@ -425,5 +425,6 @@ typedef struct {
| 版本号 | 修订时间 | 修订内容 |
| 版本号 | 修订时间 | 修订内容 |
| ----- | ------- | ------- |
| ----- | ------- | ------- |
| V2.0.0 | 2017-10-24 09:59 | 创建2.0版本文档 |
| V2.0.0 | 2017-10-24 09:59 | 创建2.0版本文档 |
| V2.0.1 | 2017-12-29 16:00 | 修改支付条码字段名为barcode |
[
^fmPay
]:
非码支付(非码收银),统一收银服务。详见[www.freemud.cn](http://www.freemud.cn/service.html)
[
^fmPay
]:
非码支付(非码收银),统一收银服务。详见[www.freemud.cn](http://www.freemud.cn/service.html)
\ No newline at end of file
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