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
341036ff
Commit
341036ff
authored
Mar 25, 2021
by
宋毅
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel
parents
a797b315
b52c7318
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
+15
-0
center-channel/app/config/settings.js
+2
-2
No files found.
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
View file @
341036ff
...
...
@@ -1616,6 +1616,21 @@ class UtilsOrderService extends AppServiceBase {
}
async
receiveAliTmOrder
(
pobj
,
actionBody
)
{
if
(
!
actionBody
.
channelItemCode
)
{
return
system
.
getResult
(
null
,
"产品编码有误,100010"
);
}
pobj
.
actionType
=
"getProductDetail"
;
var
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
var
productItemResult
=
await
this
.
execPostByTimeOut
(
null
,
pobj
,
url
);
if
(
productItemResult
.
status
!=
0
)
{
return
productItemResult
;
}
if
(
productItemResult
.
data
.
status
!=
0
)
{
return
productItemResult
.
data
;
}
pobj
.
productInfo
=
productItemResult
.
data
.
data
;
pobj
.
productInfo
.
price_item
=
pobj
.
productInfo
.
price_list
[
0
];
pobj
.
actionType
=
"receiveAliTmOrder"
;
var
reqUrl
=
this
.
centerOrderUrl
+
"action/order/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
return
result
;
...
...
center-channel/app/config/settings.js
View file @
341036ff
...
...
@@ -32,9 +32,9 @@ var settings = {
},
enameClientUrl
:
function
(){
if
(
this
.
env
==
'dev'
)
{
return
"https://ote.ename.com/icp/"
;
return
"https://ote.ename.com/icp/"
;
//开发
}
else
{
return
"https://
ote.ename.com/icp/"
;
return
"https://
api.ename.com/icp/"
;
//线上
}
},
//百度icp、edi、nc、rt
...
...
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