refactor🎨: 调整登陆日志和api和操作日志模块

This commit is contained in:
zhangwenjian committed 2021-07-04 13:43:11 +08:00
1 parent 37d318b4d9
commit b9b3cbee93
7 files changed
+41 -35

No files matched your search

+12 -2
View File
@@ -77,10 +77,20 @@ func (s *SysApiUpdateReq) GetId() interface{} {
// SysApiGetReq 功能获取请求参数
type SysApiGetReq struct {
dto.ObjectGetReq
Id int `uri:"id"`
}
func (s *SysApiGetReq) GetId() interface{} {
return s.Id
}
// SysApiDeleteReq 功能删除请求参数
type SysApiDeleteReq struct {
dto.ObjectDeleteReq
Ids []int `json:"ids"`
}
func (s *SysApiDeleteReq) GetId() interface{} {
return s.Ids
}