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
fad33b66
Commit
fad33b66
authored
Mar 26, 2021
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
7c0b6794
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
1 deletions
+30
-1
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
+30
-1
No files found.
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
View file @
fad33b66
...
...
@@ -47,8 +47,37 @@ class UtilsOrderService extends AppServiceBase {
if
(
opResult
.
data
&&
opResult
.
data
.
product_info
&&
opResult
.
data
.
product_info
.
price_item
)
{
tmpPobj
.
actionBody
.
sku
=
opResult
.
data
.
product_info
.
price_item
.
service_code
;
}
//接收方要求
// Assert.notNull(request.get("appName"), "渠道名称不能为空");
// Assert.notNull(request.get("sku"), "sku不能为空");
// Assert.notNull(request.get("orderNo"), "渠道订单号不能为空");
// Assert.notNull(request.get("orderPrice"), "订单金额不能为空");
// Assert.notNull(request.get("phone"), "手机号不能为空");
var
fqobj
=
{
actionBody
:
{
area
:
opResult
.
data
.
product_info
.
item_name
,
idempotentSource
:
opResult
.
data
.
product_info
.
service_business_code
,
orderNo
:
opResult
.
data
.
order_info
.
channelOrderNo
,
orderPrice
:
Number
(
opResult
.
data
.
order_info
.
payTotalSum
/
100
),
quantity
:
1
,
// phone: opResult.data.order_info,
// needId: solutiondata.data.channelNeedNo,
// price_desc : pobj.actionBody.taxpayerType,
// additions_desc: pobj.actionBody.companyProperties,
// companyName:solutiondata.data.solutionContent.CompanyName || ''
},
appInfo
:
pobj
.
appInfo
}
fqobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
if
(
opResult
.
data
&&
opResult
.
data
.
delivery_content
&&
opResult
.
data
.
delivery_content
.
orderContact
)
{
fqobj
.
actionBody
.
phone
=
opResult
.
data
.
delivery_content
.
orderContact
.
mobile
;
}
if
(
opResult
.
data
&&
opResult
.
data
.
product_info
&&
opResult
.
data
.
product_info
.
price_item
)
{
fqobj
.
actionBody
.
sku
=
opResult
.
data
.
product_info
.
price_item
.
service_code
;
fqobj
.
actionBody
.
price_desc
=
opResult
.
data
.
product_info
.
price_item
.
price_desc
;
}
this
.
execClientNew
.
execLogs
(
"pushNewFq-3"
,
tmpPobj
,
"center-channel-utilsOrderSve-pushNewFqByChannelOrderNo-pushBusInfo"
,
"pushOrder"
,
null
);
this
.
utilsPushSve
.
pushBusInfo
(
tmpPobj
,
"pushOrder"
,
1
);
this
.
utilsPushSve
.
aliBusiness2Fq
(
tmpPobj
,
"pushOrderBusiness"
);
}
}
...
...
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