online_code/route/user.go

11 lines
178 B
Go
Raw Permalink Normal View History

2022-06-02 16:22:01 +08:00
package route
import (
"github.com/gin-gonic/gin"
"online_code/api"
)
func user(g *gin.RouterGroup) {
g.GET("/:identity", api.UserApi().GetUserInfo) // 获取用户详情
}