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
18dac646
Commit
18dac646
authored
Mar 22, 2021
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商标方案确认、关闭
parent
d0892f31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
0 deletions
+49
-0
center-channel/app/base/api/impl/tm/consultation.js
+22
-0
center-channel/app/base/api/impl/tm/tmcase.js
+27
-0
No files found.
center-channel/app/base/api/impl/tm/consultation.js
View file @
18dac646
...
...
@@ -67,5 +67,26 @@ class Consultation extends APIBase {
await
self
.
gatewaypushlogSve
.
create
(
param
);
return
self
.
getResultSuccess
(
param
.
requestId
);
}
/**
* 需求关闭CloseTradeMarkProduct
* @param {*} pobj
* @param {*} obj
* @param {*} req
*/
async
close
(
pobj
,
obj
,
req
){
if
(
!
pobj
.
IntentionBizId
)
{
return
self
.
getResultFail
(
"IntentionBizId不能为空"
);
}
var
reqUrl
=
settings
.
centerOrderUrl
()
+
"action/opNeed/springBoard"
;
var
reqObj
=
{
actionType
:
"opNeedClose"
,
actionBody
:{
needNo
:
pobj
.
IntentionBizId
},
appInfo
:
pobj
.
appInfo
}
var
result
=
await
this
.
utilsNeedSve
.
restPostUrl
(
reqObj
,
reqUrl
);
return
result
;
}
}
module
.
exports
=
Consultation
;
\ No newline at end of file
center-channel/app/base/api/impl/tm/tmcase.js
View file @
18dac646
...
...
@@ -34,6 +34,33 @@ class Tmcase extends APIBase {
return
result
;
}
//提交方案确认
async
submitTmConfirm
(
pobj
,
qobj
,
req
)
{
if
(
!
pobj
.
IntentionBizId
)
{
return
self
.
getResultFail
(
"IntentionBizId不能为空"
);
}
var
reqUrl
=
this
.
baseUrl
+
"nbtzreceiveEditAssistTmData"
;
var
result
=
await
this
.
utilsNeedSve
.
restPostUrl
(
pobj
,
reqUrl
);
return
result
;
}
/**
* 关闭注册⽅案
* @param {*} pobj
* @param {*} obj
* @param {*} req
*/
async
closeSolution
(
pobj
,
obj
,
req
){
if
(
!
pobj
.
BizId
)
{
return
self
.
getResultFail
(
"BizId不能为空"
);
}
if
(
!
pobj
.
IntentionBizId
)
{
return
self
.
getResultFail
(
"IntentionBizId不能为空"
);
}
var
reqUrl
=
this
.
baseUrl
+
"closeSolution"
;
var
result
=
await
this
.
utilsNeedSve
.
restPostUrl
(
pobj
,
reqUrl
);
return
result
;
}
/**
* 推送数据至平台方(百度、阿里)
* needSolution 需求方案
...
...
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