11 lines
178 B
Go
11 lines
178 B
Go
|
package route
|
||
|
|
||
|
import (
|
||
|
"github.com/gin-gonic/gin"
|
||
|
"online_code/api"
|
||
|
)
|
||
|
|
||
|
func user(g *gin.RouterGroup) {
|
||
|
g.GET("/:identity", api.UserApi().GetUserInfo) // 获取用户详情
|
||
|
}
|