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
5d7dbd9b
Commit
5d7dbd9b
authored
Jan 20, 2021
by
王悦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
专家辅助注册
parent
450e3803
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
2 deletions
+31
-2
center-channel/app/base/api/impl/opreceive/need.js
+4
-1
center-channel/app/base/service/app.base.js
+12
-0
center-channel/app/base/service/impl/common/centerorderSve.js
+8
-1
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+0
-0
center-channel/app/config/settings.js
+7
-0
No files found.
center-channel/app/base/api/impl/opreceive/need.js
View file @
5d7dbd9b
...
...
@@ -70,10 +70,13 @@ class Need extends APIBase {
break
;
case
"icpNotify"
:
//icp方案更新
opResult
=
await
this
.
utilsNeedSve
.
icpNotify
(
pobj
,
pobj
.
actionBody
);
if
(
opResult
.
status
==
0
&&
pobj
.
actionBody
.
status
==
1
)
{
if
(
!
pobj
.
actionBody
.
bizId
.
startsWith
(
"TM_"
)
&&
opResult
.
status
==
0
&&
(
pobj
.
actionBody
.
status
==
1
||
pobj
.
actionBody
.
status
==
0
)
)
{
opResult
=
await
self
.
centerorderSve
.
icppaysuccess
(
pobj
,
pobj
.
actionBody
);
}
break
;
case
"tmNotifySub"
:
//tm建案成功
opResult
=
await
self
.
centerorderSve
.
tmsave
(
pobj
,
pobj
.
actionBody
);
break
;
case
"writeCommunicationLog"
:
//icp接收方案反馈信息
opResult
=
await
this
.
utilsNeedSve2
.
writeCommunicationLog
(
pobj
);
break
;
...
...
center-channel/app/base/service/app.base.js
View file @
5d7dbd9b
...
...
@@ -500,5 +500,17 @@ class AppServiceBase {
}
return
system
.
getResultSuccess
();
}
async
getFQbossSign
(
pobj
){
var
signArr
=
[];
var
keys
=
Object
.
keys
(
pobj
).
sort
();
for
(
let
k
=
0
;
k
<
keys
.
length
;
k
++
)
{
const
tKey
=
keys
[
k
];
if
(
tKey
!=
"sign"
&&
pobj
[
tKey
])
{
signArr
.
push
(
tKey
+
"="
+
pobj
[
tKey
]);
}
}
var
resultSignStr
=
signArr
.
join
(
"&"
)
+
"&key="
+
"9c83f5f5c41347fc9bb47951fef3199b"
;
return
md5
(
resultSignStr
).
toUpperCase
();
}
}
module
.
exports
=
AppServiceBase
;
center-channel/app/base/service/impl/common/centerorderSve.js
View file @
5d7dbd9b
...
...
@@ -234,7 +234,14 @@ class CenterorderService extends AppServiceBase {
}
return
system
.
getResultSuccess
(
data
.
data
);
}
//商标保存tm_、创建方案
async
tmsave
(
pobj
){
pobj
.
actionType
=
"addOrderDelivery"
let
url
=
this
.
centerOrderUrl
+
"action/tmreview/springBoard"
;
let
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
return
result
;
}
//状态更新
async
icppaysuccess
(
pobj
)
{
var
sobj
=
{
actionType
:
"getaliicpProduce"
,
...
...
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
5d7dbd9b
This diff is collapsed.
Click to expand it.
center-channel/app/config/settings.js
View file @
5d7dbd9b
...
...
@@ -271,6 +271,13 @@ var settings = {
return
"https://fqgirl.gongsibao.com/"
;
}
},
fqbossTmUrl
:
function
(){
if
(
this
.
env
==
"dev"
)
{
return
"https://fqgirlstage.gongsibao.com/api/tmsub/channelTmNotify"
}
else
{
return
"https://fqgirl.gongsibao.com/api/tmsub/channelTmNotify"
}
},
ucommuneUrl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
return
"https://m-dev.ucommune.com/"
// 优客测试环境
...
...
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