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
169665f0
Commit
169665f0
authored
Jul 21, 2021
by
宋毅
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel
parents
d94009a7
6d98929f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
center-channel/app/base/api/impl/action/opNeed.js
+3
-3
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+3
-0
center-channel/app/config/routes/api.js
+1
-1
No files found.
center-channel/app/base/api/impl/action/opNeed.js
View file @
169665f0
...
@@ -15,9 +15,9 @@ class OpNeed extends APIBase {
...
@@ -15,9 +15,9 @@ class OpNeed extends APIBase {
* action_body 执行的参数
* action_body 执行的参数
*/
*/
async
springBoard
(
pobj
,
qobj
,
req
)
{
async
springBoard
(
pobj
,
qobj
,
req
)
{
if
(
!
pobj
.
actionProcess
)
{
//
if (!pobj.actionProcess) {
return
system
.
getResult
(
null
,
"actionProcess参数不能为空"
);
//
return system.getResult(null, "actionProcess参数不能为空");
}
//
}
if
(
!
pobj
.
actionType
)
{
if
(
!
pobj
.
actionType
)
{
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
}
}
...
...
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
169665f0
...
@@ -534,7 +534,10 @@ class UtilsNeedService extends AppServiceBase {
...
@@ -534,7 +534,10 @@ class UtilsNeedService extends AppServiceBase {
this
.
utilsPushSve
.
business2Channel
(
tmpObj
,
"pushDeliveryStatusNotify"
);
this
.
utilsPushSve
.
business2Channel
(
tmpObj
,
"pushDeliveryStatusNotify"
);
pobj
.
actionBody
.
orderNo
=
rtn
.
data
.
orderNo
;
pobj
.
actionBody
.
orderNo
=
rtn
.
data
.
orderNo
;
if
(
actionBody
.
status
==
11
)
{
if
(
actionBody
.
status
==
11
)
{
pobj
.
actionType
=
"delOrder"
;
var
orderrtn
=
await
self
.
utilsOrderSve
.
delOrder
(
pobj
,
pobj
.
actionBody
);
var
orderrtn
=
await
self
.
utilsOrderSve
.
delOrder
(
pobj
,
pobj
.
actionBody
);
console
.
log
(
'状态更新---icpNotify---orderrtn---'
,
JSON
.
stringify
(
orderrtn
))
this
.
execClientNew
.
execLogs
(
"api-center-channel-delOrder:"
,
pobj
,
"center-channel-delOrder"
,
orderrtn
,
null
);
if
(
orderrtn
.
status
<
0
)
{
if
(
orderrtn
.
status
<
0
)
{
return
system
.
getResultFail
(
-
5022
,
"订单关闭失败"
);
return
system
.
getResultFail
(
-
5022
,
"订单关闭失败"
);
}
}
...
...
center-channel/app/config/routes/api.js
View file @
169665f0
...
@@ -243,7 +243,7 @@ module.exports = function (app) {
...
@@ -243,7 +243,7 @@ module.exports = function (app) {
return
;
return
;
}
}
// 2020 0812 lin 只去掉了check,因为要记录智能诊断的返回值,其他接口暂时未去掉
// 2020 0812 lin 只去掉了check,因为要记录智能诊断的返回值,其他接口暂时未去掉
if
([
"getAppTokenByHosts"
,
"getAppTokenByAppKey"
,
"test"
,
"getIndustries"
,
"getSecondIndustries"
,
"getQualificationByIndustry"
,
"counselling"
,
"queryTradeProduceList"
].
indexOf
(
req
.
body
.
actionType
)
>=
0
)
{
if
([
"getAppTokenByHosts"
,
"getAppTokenByAppKey"
,
"test"
,
"getIndustries"
,
"getSecondIndustries"
,
"getQualificationByIndustry"
,
"counselling"
,
"queryTradeProduceList"
,
"getNeedComparisonList"
].
indexOf
(
req
.
body
.
actionType
)
>=
0
)
{
req
.
body
.
actionBody
.
appHosts
=
req
.
host
;
req
.
body
.
actionBody
.
appHosts
=
req
.
host
;
next
();
next
();
return
;
return
;
...
...
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