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
f0441e77
Commit
f0441e77
authored
Nov 20, 2019
by
王栋源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdy
parent
643e200d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
0 deletions
+47
-0
igirl-web/app/base/db/task/TmDynamicsAllotTask.js
+23
-0
igirl-web/app/base/db/task/TmMonitAllotTask.js
+24
-0
No files found.
igirl-web/app/base/db/task/TmDynamicsAllotTask.js
0 → 100644
View file @
f0441e77
const
TaskBase
=
require
(
"../task.base"
);
var
system
=
require
(
"../../system"
)
const
logCtl
=
system
.
getObject
(
"web.oplogCtl"
);
class
TmDynamicsAllotTask
extends
TaskBase
{
constructor
()
{
super
(
TaskBase
.
getServiceName
(
TmDynamicsAllotTask
));
this
.
bytmdynamicsSve
=
system
.
getObject
(
"service.bytmdynamicsSve"
);
}
async
subDoTask
()
{
await
this
.
execSend
();
}
async
execSend
()
{
var
tmp
=
await
this
.
bytmdynamicsSve
.
notifyWxTmDynamics
();
//日志记录
logCtl
.
info
({
optitle
:
"商标监控动态数量增加微信通知执行结果"
,
op
:
"base/db/task/TmDynamicsAllotTask.js"
,
content
:
"执行结果:"
+
tmp
,
clientIp
:
""
});
}
}
module
.
exports
=
TmDynamicsAllotTask
;
igirl-web/app/base/db/task/TmMonitAllotTask.js
0 → 100644
View file @
f0441e77
const
TaskBase
=
require
(
"../task.base"
);
var
system
=
require
(
"../../system"
)
const
logCtl
=
system
.
getObject
(
"web.oplogCtl"
);
class
TmMonitAllotTask
extends
TaskBase
{
constructor
()
{
super
(
TaskBase
.
getServiceName
(
TmMonitAllotTask
));
this
.
bytmmonitSve
=
system
.
getObject
(
"service.bytmmonitSve"
);
}
async
subDoTask
()
{
await
this
.
execSend
();
}
async
execSend
()
{
console
.
log
(
"cehishi ewhcihhscxheikjhc"
);
// var tmp = await this.bytmmonitSve.getMonitAll();
//日志记录
logCtl
.
info
({
optitle
:
"商标监控动态执行结果"
,
op
:
"base/db/task/TmMonitAllotTask.js"
,
content
:
"执行结果:"
+
tmp
,
clientIp
:
""
});
}
}
module
.
exports
=
TmMonitAllotTask
;
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