Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
蒋勇
zhichan
Commits
b97a208b
Commit
b97a208b
authored
Jul 04, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ucommune pushOrder by fq
parent
3e2d9781
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
center-channel/app/base/service/impl/utilsSve/utilsFqAliyunSve.js
+8
-1
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
+4
-0
No files found.
center-channel/app/base/service/impl/utilsSve/utilsFqAliyunSve.js
View file @
b97a208b
...
@@ -42,8 +42,15 @@ class UtilsFqAliyunService extends AppServiceBase {
...
@@ -42,8 +42,15 @@ class UtilsFqAliyunService extends AppServiceBase {
orderPrice
:
orderInfo
.
totalSum
,
// 是 订单金额
orderPrice
:
orderInfo
.
totalSum
,
// 是 订单金额
productId
:
productInfo
.
price_item
.
service_code
,
// 是 产品 ID
productId
:
productInfo
.
price_item
.
service_code
,
// 是 产品 ID
productQuantity
:
orderInfo
.
quantity
,
// 是 产品数量
productQuantity
:
orderInfo
.
quantity
,
// 是 产品数量
operator_phone
:
'13911391996'
,
// 2020 0704 推送fq 必填字段 这里以下为新增
thirdPartyCustomerId
:
orderInfo
.
channelUserId
,
pay_flow_no
:
orderInfo
.
pay_flow_no
,
// 支付流水号
pay_channel
:
orderInfo
.
pay_channel
,
// 支付渠道(微信、支付宝)(必填)
pay_time
:
orderInfo
.
pay_time
,
//付款时间
pay_payer_bank_no
:
orderInfo
.
pay_payer_bank_no
//付款人账号
};
};
var
result
=
await
this
.
opAliyunClientPost
(
pobj
,
"pushOrderBusiness"
,
interface_params_info
.
opUrl
,
interface_params_info
.
key
,
interface_params_info
.
secret
,
params
);
// var result = await this.opAliyunClientPost(pobj, "pushOrderBusiness", interface_params_info.opUrl, interface_params_info.key, interface_params_info.secret, params);
var
result
=
await
this
.
opAliyunClientPost
(
pobj
,
interface_params_info
.
opUrl
,
interface_params_info
.
key
,
interface_params_info
.
secret
,
params
);
return
await
this
.
disposePushResult
(
pobj
,
result
,
"fq->pushOrderBusinessByProductCode2Fq->result"
,
this
.
pushlogFailType
.
FQ
);
return
await
this
.
disposePushResult
(
pobj
,
result
,
"fq->pushOrderBusinessByProductCode2Fq->result"
,
this
.
pushlogFailType
.
FQ
);
}
}
...
...
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
View file @
b97a208b
...
@@ -670,6 +670,10 @@ class UtilsOrderService extends AppServiceBase {
...
@@ -670,6 +670,10 @@ class UtilsOrderService extends AppServiceBase {
channel_nickname
:
opOrderResult
.
data
.
order_info
.
channelUserId
channel_nickname
:
opOrderResult
.
data
.
order_info
.
channelUserId
};
};
opOrderResult
.
data
.
orderNo
=
opResult
.
data
.
orderNo
;
opOrderResult
.
data
.
orderNo
=
opResult
.
data
.
orderNo
;
opOrderResult
.
data
.
order_info
.
pay_flow_no
=
parmas
.
trade_no
;
// 2020 0704 lin 新增 推送fq必填字段
opOrderResult
.
data
.
order_info
.
pay_channel
=
"支付宝"
;
//付款方式
opOrderResult
.
data
.
order_info
.
pay_time
=
parmas
.
gmt_payment
;
//付款时间
opOrderResult
.
data
.
order_info
.
pay_payer_bank_no
=
parmas
.
buyer_email
;
//付款账号
opOrderResult
.
data
.
order_contact
=
opOrderResult
.
data
.
delivery_content
.
orderContact
;
opOrderResult
.
data
.
order_contact
=
opOrderResult
.
data
.
delivery_content
.
orderContact
;
var
pobj
=
{
var
pobj
=
{
appInfo
:
opOrderResult
.
data
.
appInfo
,
appInfo
:
opOrderResult
.
data
.
appInfo
,
...
...
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