refactor🎨: 缩减函数名称

This commit is contained in:
wenjianzhang
2021-06-07 20:37:01 +08:00
parent c96d9c35a7
commit 9a2c0729f6
22 changed files with 111 additions and 126 deletions
+2 -2
View File
@@ -86,7 +86,7 @@ func (e SysOperaLog) Get(c *gin.Context) {
e.OK(object, "查看成功")
}
// Remove 操作日志删除
// Delete 操作日志删除
// DeleteSysMenu 操作日志删除
// @Summary 删除操作日志
// @Description 删除数据
@@ -94,7 +94,7 @@ func (e SysOperaLog) Get(c *gin.Context) {
// @Param data body dto.SysOperaLogById true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-opera-log [delete]
func (e SysOperaLog) Remove(c *gin.Context) {
func (e SysOperaLog) Delete(c *gin.Context) {
s := new(service.SysOperaLog)
req := new(dto.SysOperaLogById)
err := e.MakeContext(c).