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
8bebd0c7
Commit
8bebd0c7
authored
Dec 01, 2020
by
王悦
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/taskexecutor' into taskexecutor
parents
eebbea38
562dd75c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
taskexecutor/app/base/db/task/tm/pushmarketplatneed2fq.js
+0
-1
taskexecutor/app/base/db/task/verif/pannong.js
+6
-7
No files found.
taskexecutor/app/base/db/task/tm/pushmarketplatneed2fq.js
View file @
8bebd0c7
...
...
@@ -6,7 +6,6 @@ class Pushmarketplatneed2fq extends TaskBase {
constructor
()
{
super
(
TaskBase
.
getServiceName
(
Pushmarketplatneed2fq
));
this
.
restclient
=
system
.
getObject
(
"util.restClient"
);
this
.
fqbossUrl
=
settings
.
fqbossUrl
();
}
/**
* 每隔10分钟检查一次
...
...
taskexecutor/app/base/db/task/verif/pannong.js
View file @
8bebd0c7
const
TaskBase
=
require
(
"../../task.base"
);
const
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
class
Task
alitmupdate
extends
TaskBase
{
class
Task
pannongtoken
extends
TaskBase
{
constructor
()
{
super
(
TaskBase
.
getServiceName
(
Task
alitmupdate
));
super
(
TaskBase
.
getServiceName
(
Task
pannongtoken
));
this
.
restclient
=
system
.
getObject
(
"util.restClient"
);
this
.
gsbDeliverlUrl
=
settings
.
gsbDeliver
();
}
...
...
@@ -21,13 +21,12 @@ class Taskalitmupdate extends TaskBase {
}
var
url
=
this
.
gsbDeliverlUrl
+
"web/auth/authCtl/refreshToken"
;
// 2020 1112 lin 新增 这里写死的字符串是由兴业提供 作为请求校验用
var
rtn
=
await
this
.
restclient
.
execPostpannong
(
obj
,
url
,
"5ae2da88-0ced-4b7a-98ea-60d5e1ff7e2e"
);
console
.
log
(
"web/auth/authCtl/refreshToken"
,
rtn
);
return
rtn
;
this
.
restclient
.
execPostpannong
(
obj
,
url
,
"5ae2da88-0ced-4b7a-98ea-60d5e1ff7e2e"
);
return
system
.
getResultSuccess
();
}
catch
(
error
)
{
console
.
log
(
"error"
,
error
);
return
null
;
}
}
}
module
.
exports
=
Taskalitmupdate
;
\ No newline at end of file
module
.
exports
=
Taskpannongtoken
;
\ No newline at end of file
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