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
98baf235
Commit
98baf235
authored
Dec 11, 2020
by
任晓松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试环境屏蔽价格校验
parent
222e91c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
+10
-3
No files found.
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
View file @
98baf235
...
...
@@ -49,9 +49,9 @@ class UtilsOrderService extends AppServiceBase {
}
console
.
log
(
"buyTotalSum"
,
buyTotalSum
)
console
.
log
(
"totalSum"
,
totalSum
)
//
if (buyTotalSum < totalSum) {
//
return system.getResult(null, "订单金额有误,100060");
//
}
if
(
buyTotalSum
<
totalSum
)
{
return
system
.
getResult
(
null
,
"订单金额有误,100060"
);
}
let
tmpPriceList
=
[];
pobj
.
actionBody
.
product_info
.
price_item
=
price_list
[
productIndex
];
tmpPriceList
.
push
(
pobj
.
actionBody
.
product_info
.
price_item
);
...
...
@@ -1414,5 +1414,12 @@ class UtilsOrderService extends AppServiceBase {
let
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
return
result
;
}
//测试
async
pushTest
(
pobj
,
actionBody
){
let
url
=
this
.
centerOrderUrl
+
"notifyaction/internalCallsNotify/updateTmStatus"
;
let
result
=
await
this
.
restPostUrl
(
actionBody
,
url
);
return
result
}
}
module
.
exports
=
UtilsOrderService
;
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