123456789101112131415161718192021222324252627282930313233343536373839 |
- // Copyright 2017 utimes.cc. All rights reserved.
- // Use of this source code is governed by utimes.cc.
- package apis
- type AddActionLogReq struct {
- Uid int64 `json:"uid"`
- Name string `json:"name"`
- Modules string `json:"modules"`
- Func string `json:"func"`
- Before string `json:"before"`
- Content string `json:"content"`
- ModifyTime string `json:"modify_time"`
- }
- type AddActionLogReply struct {
- }
- type GetLogReq struct {
- Search string `json:"search"`
- PageNum int `json:"page_num"`
- PageSize int `json:"page_size"`
- }
- type LogList struct {
- Id int64 `json:"id"`
- User string `json:"user"`
- Modules string `json:"modules"`
- Func string `json:"func"`
- Name string `json:"name"`
- Before string `json:"before"`
- After string `json:"after"`
- CreatedAt string `json:"created_at"`
- }
- type GetLogReply struct {
- Total int64 `json:"total"`
- List []LogList `json:"list"`
- }
|