Squashed commit of the following: commit c0e6400bcd42f317012621f7befd085e8be03b2f Author: Sun <95302870@qq.com> Date: Fri Nov 10 13:02:35 2023 +0800 更新说明文档 commit 0a81db157bec6da80ec7b522c1f59ce5f0153fc2 Author: Sun <95302870@qq.com> Date: Fri Nov 10 13:02:27 2023 +0800 完善删除图标功能
19 lines
444 B
Go
19 lines
444 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)
|
|
r.POST("/panel/itemIcon/deletes", itemIcon.Deletes)
|
|
}
|
|
}
|