refactor🎨: 缩减函数名称

This commit is contained in:
wenjianzhang committed 2021-06-07 20:37:01 +08:00
1 parent c96d9c35a7
commit 9a2c0729f6
22 files changed
+111 -126

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ type SysLoginLog struct {
api.Api
}
// GetSysLoginLogList 登录日志列表
// GetPage 登录日志列表
// @Summary 登录日志列表
// @Description 获取JSON
// @Tags 登录日志
@@ -28,7 +28,7 @@ type SysLoginLog struct {
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-login-log [get]
// @Security Bearer
func (e SysLoginLog) GetList(c *gin.Context) {
func (e SysLoginLog) GetPage(c *gin.Context) {
s := service.SysLoginLog{}
req := dto.SysLoginLogSearch {}
err := e.MakeContext(c).