Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmcoupon-linux
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
李定达
fmcoupon-linux
Commits
303b1ab7
Commit
303b1ab7
authored
Apr 04, 2020
by
Carwyn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 增加 10039 核销查询结果转换配置
parent
924b3ede
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
98 additions
and
22 deletions
+98
-22
Config/CoCo/Client.xml
+98
-22
No files found.
Config/CoCo/Client.xml
View file @
303b1ab7
...
@@ -101,7 +101,21 @@
...
@@ -101,7 +101,21 @@
<voucherNumber
type=
"string"
okey=
"coupon"
/>
<voucherNumber
type=
"string"
okey=
"coupon"
/>
<storeNumber
type=
"string"
okey=
"store_id"
/>
<storeNumber
type=
"string"
okey=
"store_id"
/>
<requestAccount
type=
"string"
okey=
"partner_id"
/>
<requestAccount
type=
"string"
okey=
"partner_id"
/>
<transId
type=
"string"
okey=
"trans_id"
/>
<signParam
type=
"string"
okey=
"signParam"
/>
<signParam
type=
"string"
okey=
"signParam"
/>
<orderInfo
type=
"object"
>
<amountRec
type=
"string"
okey=
"order_amount"
/>
<amountPaid
type=
"int"
okey=
"order_amount"
/>
<orderProducts
type=
"array"
okey=
"products"
>
<lineNumber
type=
"int"
okey=
"products/seq"
/>
<productNumber
type=
"string"
okey=
"products/pid"
/>
<productName
type=
"string"
okey=
"products/name"
/>
<quantity
type=
"int"
okey=
"products/qty"
/>
<initPrice
type=
"int"
okey=
"products/price"
/>
<nowPrice
type=
"int"
okey=
"products/price"
/>
<payMoney
type=
"int"
okey=
"products/price"
/>
</orderProducts>
</orderInfo>
</ReqType>
</ReqType>
</FreemudFront>
</FreemudFront>
...
@@ -153,7 +167,7 @@
...
@@ -153,7 +167,7 @@
<!--checkrequest-->
<!--checkrequest-->
<ReqType
key=
"fm_cmd"
value=
"10039"
>
<ReqType
key=
"fm_cmd"
value=
"10039"
>
<status_code
type=
"int"
okey=
"resultCode"
>
<status_code
type=
"int"
okey=
"resultCode"
>
<maping
mkey=
"1"
mvalue=
"100"
/>
<maping
mkey=
"1"
mvalue=
"100"
/>
<maping
mkey=
"x6001"
mvalue=
"21"
/>
<maping
mkey=
"x6001"
mvalue=
"21"
/>
<maping
mkey=
"x6002"
mvalue=
"22"
/>
<maping
mkey=
"x6002"
mvalue=
"22"
/>
...
@@ -162,30 +176,92 @@
...
@@ -162,30 +176,92 @@
<maping
mkey=
"x6005"
mvalue=
"25"
/>
<maping
mkey=
"x6005"
mvalue=
"25"
/>
</status_code>
</status_code>
<msg
type=
"string"
okey=
"errorMsg"
/>
<msg
type=
"string"
okey=
"errorMsg"
/>
<expiration_date
type=
"string"
okey=
"expiration_date"
/>
<order_amount
type=
"string"
okey=
"orderInfo/amountPaid"
/>
<promotion
type=
"array"
havekey=
"orderProducts/productNumber"
>
<coupon
type=
"string"
okey=
"voucherNumber"
/>
<object
notzero=
"orderProducts/initPrice"
>
<!-- voucherType: 0 商品券; 1 代金券; 3 折扣券 -->
<type
type=
"int"
>
1
</type>
<!-- 0 商品券 -->
<id
type=
"string"
okey=
"orderInfo/activeCode"
/>
<promotion
type=
"array"
notzero=
"orderInfo/totalPlatformDiscount"
iszero=
"orderInfo/voucherType"
okey=
"orderInfo/discountOrderProducts"
>
<desc
type=
"string"
okey=
"orderInfo/activeName"
/>
<type
type=
"int"
notzero=
"orderInfo/discountOrderProducts/platformDiscountPrice"
>
2
</type>
<seq
type=
"string"
>
1
</seq>
<id
type=
"string"
notzero=
"orderInfo/discountOrderProducts/platformDiscountPrice"
okey=
"orderInfo/activeCode"
/>
<offer
type=
"int"
okey=
"orderInfo/totalPlatformDiscount"
/>
<desc
type=
"string"
notzero=
"orderInfo/discountOrderProducts/platformDiscountPrice"
okey=
"orderInfo/activeName"
/>
</object>
<seq
type=
"string"
notzero=
"orderInfo/discountOrderProducts/platformDiscountPrice"
okey=
"orderInfo/discountOrderProducts/lineNumber"
/>
<object
notzero=
"orderInfo/totalMerchantDiscount"
>
<pid
type=
"string"
notzero=
"orderInfo/discountOrderProducts/platformDiscountPrice"
okey=
"orderInfo/discountOrderProducts/productNumber"
/>
<type
type=
"int"
>
2
</type>
<offer
type=
"int"
notzero=
"orderInfo/discountOrderProducts/platformDiscountPrice"
okey=
"orderInfo/discountOrderProducts/platformDiscountPrice"
/>
<id
type=
"string"
okey=
"orderInfo/activeCode"
/>
<channel
type=
"string"
notzero=
"orderInfo/discountOrderProducts/platformDiscountPrice"
okey=
"ebName"
/>
<desc
type=
"string"
okey=
"orderInfo/activeName"
/>
</promotion>
<seq
type=
"string"
>
2
</seq>
<promotion
type=
"array"
notzero=
"orderInfo/totalMerchantDiscount"
iszero=
"orderInfo/voucherType"
okey=
"orderInfo/discountOrderProducts"
>
<offer
type=
"int"
okey=
"orderInfo/totalMerchantDiscount"
/>
<type
type=
"int"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
>
4
</type>
<!-- buyOrPromote: 0 买的商品; 1 活动商品 -->
<type
type=
"int"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
>
5
</type>
<type
type=
"int"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
iszero=
"(%orderInfo/discountOrderProducts/buyOrPromote%-1)"
>
1
</type>
<id
type=
"string"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
okey=
"orderInfo/activeCode"
/>
<desc
type=
"string"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
okey=
"orderInfo/activeName"
/>
<seq
type=
"string"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
okey=
"orderInfo/discountOrderProducts/lineNumber"
/>
<pid
type=
"string"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
okey=
"orderInfo/discountOrderProducts/productNumber"
/>
<offer
type=
"int"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
okey=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
/>
<channel
type=
"string"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
okey=
"ebName"
/>
</promotion>
<promotion
type=
"array"
notzero=
"orderInfo/totalMerchantDiscount"
iszero=
"orderInfo/voucherType"
okey=
"orderInfo/discountOrderProducts"
>
<!-- buyOrPromote: 0 买的商品; 1 活动商品 -->
<type
type=
"int"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
>
5
</type>
<id
type=
"string"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
okey=
"orderInfo/activeCode"
/>
<desc
type=
"string"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
okey=
"orderInfo/activeName"
/>
<seq
type=
"string"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
okey=
"orderInfo/discountOrderProducts/lineNumber"
/>
<pid
type=
"string"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
okey=
"orderInfo/discountOrderProducts/productNumber"
/>
<offer
type=
"int"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
>
0
</offer>
<channel
type=
"string"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
okey=
"ebName"
/>
</promotion>
<promotion
type=
"array"
notzero=
"orderInfo/totalMerchantDiscount"
iszero=
"(%orderInfo/voucherType%-3)"
okey=
"orderInfo/discountOrderProducts"
>
^M
<!-- buyOrPromote: 0 买的商品; 1 活动商品 -->
<type
type=
"int"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
>
5
</type>
<type
type=
"int"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
iszero=
"(%orderInfo/discountOrderProducts/buyOrPromote%-1)"
>
1
</type>
<id
type=
"string"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
okey=
"orderInfo/activeCode"
/>
^M
<desc
type=
"string"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
okey=
"orderInfo/activeName"
/>
^M
<seq
type=
"string"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
okey=
"orderInfo/discountOrderProducts/lineNumber"
/>
^M
<pid
type=
"string"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
okey=
"orderInfo/discountOrderProducts/productNumber"
/>
^M
<offer
type=
"int"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
okey=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
/>
^M
<channel
type=
"string"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
okey=
"ebName"
/>
^M
</promotion>
<promotion
type=
"array"
notzero=
"orderInfo/totalMerchantDiscount"
iszero=
"(%orderInfo/voucherType%-3)"
okey=
"orderInfo/discountOrderProducts"
>
<!-- buyOrPromote: 0 买的商品; 1 活动商品 -->
<type
type=
"int"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
>
5
</type>
<id
type=
"string"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
okey=
"orderInfo/activeCode"
/>
<desc
type=
"string"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
okey=
"orderInfo/activeName"
/>
<seq
type=
"string"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
okey=
"orderInfo/discountOrderProducts/lineNumber"
/>
<pid
type=
"string"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
okey=
"orderInfo/discountOrderProducts/productNumber"
/>
<offer
type=
"int"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
>
0
</offer>
<channel
type=
"string"
iszero=
"orderInfo/discountOrderProducts/buyOrPromote"
okey=
"ebName"
/>
</promotion>
<!-- 1 代金券: 平台优惠入账,商户优惠入折扣 -->
<promotion
type=
"array"
notzero=
"orderInfo/totalPlatformDiscount"
iszero=
"(%orderInfo/voucherType%-1)"
>
<object
notzero=
"orderInfo/totalPlatformDiscount"
>
<type
type=
"int"
notzero=
"orderInfo/totalPlatformDiscount"
>
3
</type>
<id
type=
"string"
notzero=
"orderInfo/totalPlatformDiscount"
okey=
"orderInfo/activeCode"
/>
<desc
type=
"string"
notzero=
"orderInfo/totalPlatformDiscount"
okey=
"orderInfo/activeName"
/>
<offer
type=
"int"
notzero=
"orderInfo/totalPlatformDiscount"
okey=
"orderInfo/totalPlatformDiscount"
/>
<channel
type=
"string"
notzero=
"orderInfo/totalPlatformDiscount"
okey=
"ebName"
/>
</object>
</object>
<object
notzero=
"orderInfo/totalOtherDiscount"
>
</promotion>
<type
type=
"int"
>
3
</type>
<promotion
type=
"array"
notzero=
"orderInfo/totalMerchantDiscount"
iszero=
"(%orderInfo/voucherType%-1)"
>
<id
type=
"string"
okey=
"orderInfo/activeCode"
/>
<object
notzero=
"orderInfo/totalMerchantDiscount"
iszero=
"productLimit"
>
<desc
type=
"string"
okey=
"orderInfo/activeName"
/>
<!-- productLimit: 0 无商品限制; 1 有商品限制 -->
<seq
type=
"string"
>
3
</seq>
<type
type=
"int"
notzero=
"orderInfo/totalMerchantDiscount"
>
4
</type>
<offer
type=
"int"
okey=
"orderInfo/totalOtherDiscount"
/>
<id
type=
"string"
notzero=
"orderInfo/totalMerchantDiscount"
okey=
"orderInfo/activeCode"
/>
<desc
type=
"string"
notzero=
"orderInfo/totalMerchantDiscount"
okey=
"orderInfo/activeName"
/>
<offer
type=
"int"
notzero=
"orderInfo/totalMerchantDiscount"
okey=
"orderInfo/totalMerchantDiscount"
/>
<channel
type=
"string"
notzero=
"orderInfo/totalMerchantDiscount"
okey=
"ebName"
/>
</object>
</object>
</promotion>
</promotion>
<promotion
type=
"array"
notzero=
"orderInfo/totalMerchantDiscount"
iszero=
"(%orderInfo/voucherType%-1)"
okey=
"orderInfo/discountOrderProducts"
>
<!-- productLimit: 0 无商品限制; 1 有商品限制 -->
<type
type=
"int"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
iszero=
"(%productLimit%-1)"
>
1
</type>
<id
type=
"string"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
iszero=
"(%productLimit%-1)"
okey=
"orderInfo/activeCode"
/>
<pid
type=
"string"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
iszero=
"(%productLimit%-1)"
okey=
"orderInfo/discountOrderProducts/productNumber"
/>
<seq
type=
"string"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
iszero=
"(%productLimit%-1)"
okey=
"orderInfo/discountOrderProducts/lineNumber"
/>
<desc
type=
"string"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
iszero=
"(%productLimit%-1)"
okey=
"orderInfo/activeName"
/>
<offer
type=
"int"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
iszero=
"(%productLimit%-1)"
okey=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
/>
<channel
type=
"string"
notzero=
"orderInfo/discountOrderProducts/merchantDiscountPrice"
iszero=
"(%productLimit%-1)"
okey=
"ebName"
/>
</promotion>
</ReqType>
</ReqType>
<!--hxrequest-->
<!--hxrequest-->
<ReqType
key=
"fm_cmd"
value=
"10032"
>
<ReqType
key=
"fm_cmd"
value=
"10032"
>
...
...
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