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
a85f24eb
Commit
a85f24eb
authored
Apr 15, 2021
by
王悦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
伙伴商标工作台提醒
parent
3da07e5a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
3 deletions
+17
-3
taskexecutor/app/base/db/task/alichannel/taskPushPublicService.js
+1
-0
taskexecutor/app/base/db/task/tm/tmdeliveryDing.js
+3
-0
taskexecutor/app/base/db/task/tm/tmofficialDing.js
+3
-0
taskexecutor/app/config/localsettings.js
+3
-3
taskexecutor/app/config/settings.js
+7
-0
No files found.
taskexecutor/app/base/db/task/alichannel/taskPushPublicService.js
View file @
a85f24eb
//tag规则 release-v188.2.*
//tag规则 release-v188.2.*
//fqboss定时任务
const
TaskBase
=
require
(
"../../task.base"
);
const
TaskBase
=
require
(
"../../task.base"
);
const
system
=
require
(
"../../../system"
);
const
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
var
settings
=
require
(
"../../../../config/settings"
);
...
...
taskexecutor/app/base/db/task/tm/tmdeliveryDing.js
View file @
a85f24eb
//tag规则 release-v188.15.*
//tag规则 release-v188.15.*
//商标工作台未提报提醒
const
TaskBase
=
require
(
"../../task.base"
);
const
TaskBase
=
require
(
"../../task.base"
);
const
system
=
require
(
"../../../system"
);
const
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
var
settings
=
require
(
"../../../../config/settings"
);
...
@@ -23,6 +24,8 @@ class TmNotifyTask extends TaskBase {
...
@@ -23,6 +24,8 @@ class TmNotifyTask extends TaskBase {
try
{
try
{
var
url
=
settings
.
tmnotifyUrl
()
+
"/api/action/tmNotify/dataCount"
;
var
url
=
settings
.
tmnotifyUrl
()
+
"/api/action/tmNotify/dataCount"
;
this
.
restclient
.
execPost
(
obj
,
url
);
this
.
restclient
.
execPost
(
obj
,
url
);
var
hburl
=
settings
.
tmnotifyhbUrl
()
+
"/api/action/tmNotify/dataCount"
;
this
.
restclient
.
execPost
(
obj
,
hburl
);
return
system
.
getResultSuccess
();
return
system
.
getResultSuccess
();
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
);
console
.
log
(
error
);
...
...
taskexecutor/app/base/db/task/tm/tmofficialDing.js
View file @
a85f24eb
//tag规则 release-v188.16.*
//tag规则 release-v188.16.*
//商标工作台未抓取官文提醒
const
TaskBase
=
require
(
"../../task.base"
);
const
TaskBase
=
require
(
"../../task.base"
);
const
system
=
require
(
"../../../system"
);
const
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
var
settings
=
require
(
"../../../../config/settings"
);
...
@@ -23,6 +24,8 @@ class TmOfficialTask extends TaskBase {
...
@@ -23,6 +24,8 @@ class TmOfficialTask extends TaskBase {
try
{
try
{
var
url
=
settings
.
tmnotifyUrl
()
+
"/api/action/tmNotify/officialCount"
;
var
url
=
settings
.
tmnotifyUrl
()
+
"/api/action/tmNotify/officialCount"
;
this
.
restclient
.
execPost
(
obj
,
url
);
this
.
restclient
.
execPost
(
obj
,
url
);
var
hburl
=
settings
.
tmnotifyhbUrl
()
+
"/api/action/tmNotify/officialCount"
;
this
.
restclient
.
execPost
(
obj
,
hburl
);
return
system
.
getResultSuccess
();
return
system
.
getResultSuccess
();
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
);
console
.
log
(
error
);
...
...
taskexecutor/app/config/localsettings.js
View file @
a85f24eb
var
settings
=
{
var
settings
=
{
redis
:
{
redis
:
{
host
:
"
192.168.4.119
"
,
host
:
"
59.110.125.77
"
,
port
:
63
79
,
port
:
304
79
,
password
:
"
Gongsibao2018
"
,
password
:
"
havzMSYc3aBZXOjpG3
"
,
db
:
15
,
db
:
15
,
},
},
database
:
function
()
{
database
:
function
()
{
...
...
taskexecutor/app/config/settings.js
View file @
a85f24eb
...
@@ -71,6 +71,13 @@ var settings = {
...
@@ -71,6 +71,13 @@ var settings = {
return
"https://fq.gongsibao.com/tmnotify"
;
return
"https://fq.gongsibao.com/tmnotify"
;
}
}
},
},
tmnotifyhbUrl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
return
"https://tmtest.gongsibao.com/tmnotify"
;
}
else
{
return
"https://tm.gongsibao.com/tmnotify"
;
}
},
zhugeioUrl
:
function
()
{
zhugeioUrl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
if
(
this
.
env
==
"dev"
)
{
return
"https://mmc.gongsibao.com"
;
return
"https://mmc.gongsibao.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