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
a6145aad
Commit
a6145aad
authored
Jan 31, 2021
by
宋毅
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel
parents
936478b9
180f9552
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
11 deletions
+14
-11
.gitignore
+4
-2
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+4
-3
center-channel/app/base/service/impl/utilsSve/utilsTmAliyunSve.js
+6
-6
center-channel/app/front/entry/public/apidoc/platform/yongyouenterprise.md
+0
-0
No files found.
.gitignore
View file @
a6145aad
node_modules/
node_modules/
\ No newline at end of file
.idea
.history/
\ No newline at end of file
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
a6145aad
...
@@ -137,7 +137,7 @@ class UtilsNeedService extends AppServiceBase {
...
@@ -137,7 +137,7 @@ class UtilsNeedService extends AppServiceBase {
}
}
var
rtn
=
await
this
.
execClient
.
execPost
(
pobj
,
url
);
var
rtn
=
await
this
.
execClient
.
execPost
(
pobj
,
url
);
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
if
(
data
.
data
.
channelTypeCode
==
1
||
data
.
data
.
channelTypeCode
==
2
)
{
//商标
if
(
data
.
data
&&
(
data
.
data
.
channelTypeCode
==
1
||
data
.
data
.
channelTypeCode
==
2
)
)
{
//商标
this
.
execPostUrl
({
this
.
execPostUrl
({
"actionProcess"
:
"AliTm"
,
"actionProcess"
:
"AliTm"
,
"appCode"
:
"100099"
,
"appCode"
:
"100099"
,
...
@@ -388,6 +388,7 @@ class UtilsNeedService extends AppServiceBase {
...
@@ -388,6 +388,7 @@ class UtilsNeedService extends AppServiceBase {
if
(
!
actionBody
.
bizId
)
{
if
(
!
actionBody
.
bizId
)
{
return
system
.
getResult
(
null
,
"actionBody.bizId can not be empty,100495"
);
return
system
.
getResult
(
null
,
"actionBody.bizId can not be empty,100495"
);
}
}
actionBody
.
BizId
=
actionBody
.
bizId
;
let
isTM
=
actionBody
.
bizId
.
startsWith
(
"TM_"
)
let
isTM
=
actionBody
.
bizId
.
startsWith
(
"TM_"
)
if
(
isTM
){
//商标
if
(
isTM
){
//商标
let
result
=
await
this
.
getSolutionByChannelSolutionNo
(
pobj
,
pobj
.
actionBody
);
let
result
=
await
this
.
getSolutionByChannelSolutionNo
(
pobj
,
pobj
.
actionBody
);
...
@@ -401,7 +402,6 @@ class UtilsNeedService extends AppServiceBase {
...
@@ -401,7 +402,6 @@ class UtilsNeedService extends AppServiceBase {
actionBody
.
fileUrl
=
await
self
.
opDownFileInfo
(
actionBody
.
fileUrl
);
actionBody
.
fileUrl
=
await
self
.
opDownFileInfo
(
actionBody
.
fileUrl
);
}
}
}
else
{
}
else
{
actionBody
.
BizId
=
actionBody
.
bizId
;
if
(
!
actionBody
.
status
)
{
if
(
!
actionBody
.
status
)
{
return
system
.
getResult
(
null
,
"actionBody.status can not be empty,100495"
);
return
system
.
getResult
(
null
,
"actionBody.status can not be empty,100495"
);
}
}
...
@@ -451,7 +451,8 @@ class UtilsNeedService extends AppServiceBase {
...
@@ -451,7 +451,8 @@ class UtilsNeedService extends AppServiceBase {
this
.
utilsPushSve
.
aliBusiness2Fq
(
pobj
,
"pushTMpayRefund"
);
this
.
utilsPushSve
.
aliBusiness2Fq
(
pobj
,
"pushTMpayRefund"
);
}
}
//通知fqboss
//通知fqboss
this
.
execPostUrl
({
"actionProcess"
:
"AliTm"
,
"appCode"
:
"100099"
,
"sign"
:
await
this
.
getFQbossSign
(
actionBody
),
actionBody
},
settings
.
fqbossTmUrl
())
let
pushres
=
await
this
.
execPostUrl
({
"actionProcess"
:
"AliTm"
,
"appCode"
:
"100099"
,
"sign"
:
await
this
.
getFQbossSign
(
actionBody
),
actionBody
},
settings
.
fqbossTmUrl
())
console
.
log
(
"推送fqboos----->"
,
pushres
)
}
else
{
}
else
{
if
(
actionBody
.
status
==
2
)
{
if
(
actionBody
.
status
==
2
)
{
var
deliveryObj
=
{
var
deliveryObj
=
{
...
...
center-channel/app/base/service/impl/utilsSve/utilsTmAliyunSve.js
View file @
a6145aad
...
@@ -543,9 +543,9 @@ class UtilsTmAliyunService extends AppServiceBase {
...
@@ -543,9 +543,9 @@ class UtilsTmAliyunService extends AppServiceBase {
}
}
var
reqUrl
=
settings
.
centerOrderUrl
()
+
"opaction/opOrder/springBoard"
;
var
reqUrl
=
settings
.
centerOrderUrl
()
+
"opaction/opOrder/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
tmpPobj
,
reqUrl
);
var
result
=
await
this
.
restPostUrl
(
tmpPobj
,
reqUrl
);
if
(
result
.
status
!=
0
)
{
//
if (result.status != 0) {
return
await
this
.
disposePushResultFail
(
tmpPobj
,
result
,
"ali->tmCreateApplicant->addChannelTmApplicantResult->新增ali渠道商标交付信息失败"
,
this
.
pushlogFailType
.
FAILLOG
);
//
return await this.disposePushResultFail(tmpPobj, result, "ali->tmCreateApplicant->addChannelTmApplicantResult->新增ali渠道商标交付信息失败", this.pushlogFailType.FAILLOG);
}
//
}
return
result
;
return
result
;
}
}
async
updateAliChannelTmApplicant
(
pobj
,
actionBody
)
{
//新增ali渠道商标交付信息
async
updateAliChannelTmApplicant
(
pobj
,
actionBody
)
{
//新增ali渠道商标交付信息
...
@@ -556,9 +556,9 @@ class UtilsTmAliyunService extends AppServiceBase {
...
@@ -556,9 +556,9 @@ class UtilsTmAliyunService extends AppServiceBase {
}
}
var
reqUrl
=
settings
.
centerOrderUrl
()
+
"opaction/opOrder/springBoard"
;
var
reqUrl
=
settings
.
centerOrderUrl
()
+
"opaction/opOrder/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
tmpPobj
,
reqUrl
);
var
result
=
await
this
.
restPostUrl
(
tmpPobj
,
reqUrl
);
if
(
result
.
status
!=
0
)
{
//
if (result.status != 0) {
return
await
this
.
disposePushResultFail
(
tmpPobj
,
result
,
"ali->tmCreateApplicant->addChannelTmApplicantResult->新增ali渠道商标交付信息失败"
,
this
.
pushlogFailType
.
FAILLOG
);
//
return await this.disposePushResultFail(tmpPobj, result, "ali->tmCreateApplicant->addChannelTmApplicantResult->新增ali渠道商标交付信息失败", this.pushlogFailType.FAILLOG);
}
//
}
return
result
;
return
result
;
}
}
async
getAliChannelTmDelivery
(
pobj
)
{
//查询ali渠道商标交付信息
async
getAliChannelTmDelivery
(
pobj
)
{
//查询ali渠道商标交付信息
...
...
center-channel/app/front/entry/public/apidoc/platform/yongyouenterprise.md
0 → 100644
View file @
a6145aad
This diff is collapsed.
Click to expand it.
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