You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
package systempower
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"key_performance_indicators/api/version1"
|
|
|
|
|
|
|
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// 权限管理PC端
|
|
|
|
|
func (a *ApiRouter) RouterGroupPc(router *gin.RouterGroup) {
|
|
|
|
|
apiRouter := router.Group("powerpc")
|
|
|
|
|
|
|
|
|
|
var methodBinding = version1.AppApiEntry.JurisdictionpcApi
|
|
|
|
|
{
|
|
|
|
|
apiRouter.GET("", methodBinding.Index) //入口
|
|
|
|
|
apiRouter.POST("", methodBinding.Index) //入口
|
|
|
|
|
apiRouter.POST("edit_power", methodBinding.EditPower) //编辑权限
|
|
|
|
|
|
|
|
|
|
apiRouter.POST("add_system", methodBinding.AddSystem) //添加应用系统
|
|
|
|
|
apiRouter.POST("system_list", methodBinding.SystemList) //系统列表
|
|
|
|
|
apiRouter.POST("edit_system", methodBinding.EditSystem) //编辑应用系统信息
|
|
|
|
|
apiRouter.POST("edit_state_of_del", methodBinding.EditStateOfDel) //更改状态或删除
|
|
|
|
|
}
|
|
|
|
|
}
|