Commit 6c082781 by NitefullWind

修改支付条码字段名为barcode

parent e1d6beff
# 非码会员客户端与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 | 支付条码。如果不传该字段,则会弹窗由收银员录入。 | | barcode | 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 | true | int | 优惠金额(分) | | discount_amount | false | int | 优惠金额(分) |
| pay_list | true | array | 支付方式列表 | | pay_list | true | array | 支付方式列表 |
| pay_list\pay_id | true | string | [支付方式编码](#支付类型对照表) | pay_list\pay_id | true | string | [支付方式编码](#支付类型对照表)
| pay_list\pay_str | true | string | 支付方式描述 | pay_list\pay_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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment