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.

17 lines
225 B

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(),
})
}