You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
202 B
Go
12 lines
202 B
Go
2 years ago
|
package admin
|
||
|
|
||
|
import (
|
||
|
"ginDemo/api/admin"
|
||
|
"github.com/gin-gonic/gin"
|
||
|
)
|
||
|
|
||
|
// 用户相关路由
|
||
|
func user(g *gin.RouterGroup) {
|
||
|
g.GET("", admin.UserApi().GetUser) // 获取当前登录用户信息
|
||
|
}
|