package priv import ( "github.com/gin-gonic/gin" "net/http" "product/backend/models" ) // Get 获取 func Get(ctx *gin.Context) { // response ctx.JSON(http.StatusOK, gin.H{ "code": 0, "data": models.Privs(), }) }