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
364dd349
Commit
364dd349
authored
Jan 21, 2022
by
陈思聪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:阿里商标注册、商标交易商机,密文手机号处理
parent
fb32cb59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+15
-5
No files found.
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
364dd349
...
@@ -66,16 +66,31 @@ class UtilsNeedService extends AppServiceBase {
...
@@ -66,16 +66,31 @@ class UtilsNeedService extends AppServiceBase {
pobj
.
actionBody
.
idempotentSource
=
"edi_ali"
;
pobj
.
actionBody
.
idempotentSource
=
"edi_ali"
;
}
else
if
(
pobj
.
actionBody
.
channel_type_code
==
"tmjy"
)
{
}
else
if
(
pobj
.
actionBody
.
channel_type_code
==
"tmjy"
)
{
// 阿里商标交易
// 阿里商标交易
if
(
pobj
.
actionBody
.
phone
.
length
>
11
){
// 如果是密文手机号,则设置为空
pobj
.
actionBody
.
phone
=
""
pobj
.
actionBody
.
mobile
=
""
}
pobj
.
actionBody
.
type
=
"ali.tmd"
;
pobj
.
actionBody
.
type
=
"ali.tmd"
;
pobj
.
actionBody
.
idempotentSource
=
"tmd_ali"
;
pobj
.
actionBody
.
idempotentSource
=
"tmd_ali"
;
pobj
.
actionBody
.
contactsDingtalk
=
pobj
.
actionBody
.
idempotentId
;
pobj
.
actionBody
.
contactsDingtalk
=
pobj
.
actionBody
.
idempotentId
;
}
else
if
(
pobj
.
actionBody
.
channel_type_code
==
1
)
{
}
else
if
(
pobj
.
actionBody
.
channel_type_code
==
1
)
{
// 阿里商标交易
// 阿里商标交易
if
(
pobj
.
actionBody
.
phone
.
length
>
11
){
// 如果是密文手机号,则设置为空
pobj
.
actionBody
.
phone
=
""
pobj
.
actionBody
.
mobile
=
""
}
pobj
.
actionBody
.
type
=
"ali.tmd"
;
pobj
.
actionBody
.
type
=
"ali.tmd"
;
pobj
.
actionBody
.
idempotentSource
=
"tmd_ali"
;
pobj
.
actionBody
.
idempotentSource
=
"tmd_ali"
;
pobj
.
actionBody
.
contactsDingtalk
=
pobj
.
actionBody
.
idempotentId
;
pobj
.
actionBody
.
contactsDingtalk
=
pobj
.
actionBody
.
idempotentId
;
}
else
if
(
pobj
.
actionBody
.
channel_type_code
==
2
)
{
}
else
if
(
pobj
.
actionBody
.
channel_type_code
==
2
)
{
// 阿里商标注册
// 阿里商标注册
if
(
pobj
.
actionBody
.
phone
.
length
>
11
){
// 如果是密文手机号,则设置为空
pobj
.
actionBody
.
phone
=
""
pobj
.
actionBody
.
mobile
=
""
}
pobj
.
actionBody
.
type
=
"ali.tm"
;
pobj
.
actionBody
.
type
=
"ali.tm"
;
pobj
.
actionBody
.
idempotentSource
=
"tm_ali"
;
pobj
.
actionBody
.
idempotentSource
=
"tm_ali"
;
pobj
.
actionBody
.
contactsDingtalk
=
pobj
.
actionBody
.
idempotentId
;
pobj
.
actionBody
.
contactsDingtalk
=
pobj
.
actionBody
.
idempotentId
;
...
@@ -114,11 +129,6 @@ class UtilsNeedService extends AppServiceBase {
...
@@ -114,11 +129,6 @@ class UtilsNeedService extends AppServiceBase {
this
.
utilsPushSve
.
business2Channel
(
pobj
,
"pushNeedBusiness"
);
this
.
utilsPushSve
.
business2Channel
(
pobj
,
"pushNeedBusiness"
);
}
else
{
}
else
{
if
([
"ali.tm"
,
"ali.tmd"
].
includes
(
pobj
.
actionBody
.
type
)){
if
([
"ali.tm"
,
"ali.tmd"
].
includes
(
pobj
.
actionBody
.
type
)){
if
(
pobj
.
actionBody
.
phone
.
length
>
11
){
// 如果是密文手机号,则设置为空
pobj
.
actionBody
.
phone
=
""
pobj
.
actionBody
.
mobile
=
""
}
this
.
utilsPushSve
.
business2Channel
(
pobj
,
"pushNeedTMBusiness"
);
this
.
utilsPushSve
.
business2Channel
(
pobj
,
"pushNeedTMBusiness"
);
}
else
{
}
else
{
var
reqParams
=
{
var
reqParams
=
{
...
...
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