-
Notifications
You must be signed in to change notification settings - Fork 0
/
adminlog.go
41 lines (34 loc) · 948 Bytes
/
adminlog.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Path: internal/apiserver/service
// FileName: adminlog.go
// Created by dkedTeam
// Author: GJing
// Date: 2022/12/27$ 16:13$
package service
import (
"github.com/gjing1st/gin-admin-frame/internal/apiserver/model/request"
"github.com/gjing1st/gin-admin-frame/internal/apiserver/store/mysql"
"github.com/gjing1st/gin-admin-frame/pkg/errcode"
)
type SysLogService struct {
}
var sysLogMysql mysql.SysLogMysql
// Create
// @description: 添加管理员日志
// @param:
// @author: GJing
// @email: gjing1st@gmail.com
// @date: 2022/12/27 16:14
// @success:
func (sls *SysLogService) Create(log *request.SysLogCreate, req interface{}) {
}
// List
// @description:日志列表
// @param:
// @author: GJing
// @email: gjing1st@gmail.com
// @date: 2023/2/9 10:52
// @success:
func (sls *SysLogService) List(req *request.SysLogList) (res interface{}, total int64, errCode errcode.Err) {
res, total, errCode = sysLogMysql.List(req)
return
}