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
fde9c155
Commit
fde9c155
authored
Dec 28, 2019
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
47445347
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletions
+19
-1
igirl-channel/app/base/api/api.base.js
+2
-1
igirl-channel/app/base/api/impl/action/opLog.js
+17
-0
No files found.
igirl-channel/app/base/api/api.base.js
View file @
fde9c155
...
...
@@ -61,7 +61,8 @@ class APIBase {
var
fullname
=
gname
+
"."
+
methodname
;
var
lst
=
[
"test.test"
,
"testApiT.test"
,
"opLog.info"
,
"opLog.error"
,
"auth.getToken"
,
"auth.getJdSign"
];
...
...
igirl-channel/app/base/api/impl/action/opLog.js
0 → 100644
View file @
fde9c155
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
const
logCtl
=
system
.
getObject
(
"web.common.oplogCtl"
);
class
opLog
extends
APIBase
{
constructor
()
{
super
();
}
async
info
(
pobj
,
qobj
,
req
)
{
this
.
logCtl
.
info
(
pobj
);
}
async
error
(
pobj
,
qobj
,
req
)
{
this
.
logCtl
.
error
(
pobj
);
}
}
module
.
exports
=
opLog
;
\ 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