sys_operation_record.go 1.1 KB

12345678910111213141516171819202122
  1. package system
  2. import (
  3. v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1"
  4. "github.com/gin-gonic/gin"
  5. )
  6. type OperationRecordRouter struct {
  7. }
  8. func (s *OperationRecordRouter) InitSysOperationRecordRouter(Router *gin.RouterGroup) {
  9. operationRecordRouter := Router.Group("sysOperationRecord")
  10. var authorityMenuApi = v1.ApiGroupApp.SystemApiGroup.OperationRecordApi
  11. {
  12. operationRecordRouter.POST("createSysOperationRecord", authorityMenuApi.CreateSysOperationRecord) // 新建SysOperationRecord
  13. operationRecordRouter.DELETE("deleteSysOperationRecord", authorityMenuApi.DeleteSysOperationRecord) // 删除SysOperationRecord
  14. operationRecordRouter.DELETE("deleteSysOperationRecordByIds", authorityMenuApi.DeleteSysOperationRecordByIds) // 批量删除SysOperationRecord
  15. operationRecordRouter.GET("findSysOperationRecord", authorityMenuApi.FindSysOperationRecord) // 根据ID获取SysOperationRecord
  16. operationRecordRouter.GET("getSysOperationRecordList", authorityMenuApi.GetSysOperationRecordList) // 获取SysOperationRecord列表
  17. }
  18. }