19 lines
391 B
Go
19 lines
391 B
Go
package panel
|
|
|
|
import (
|
|
"sun-panel/api/api_v1"
|
|
"sun-panel/api/api_v1/middleware"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func InitItemIcon(router *gin.RouterGroup) {
|
|
itemIcon := api_v1.ApiGroupApp.ApiPanel.ItemIcon
|
|
r := router.Group("", middleware.LoginInterceptor)
|
|
{
|
|
r.POST("/panel/itemIcon/edit", itemIcon.Edit)
|
|
r.POST("/panel/itemIcon/getListByGroupId", itemIcon.GetListByGroupId)
|
|
|
|
}
|
|
}
|