14 lines
209 B
Go
14 lines
209 B
Go
|
package route
|
||
|
|
||
|
import (
|
||
|
"github.com/gin-gonic/gin"
|
||
|
"wireguard-dashboard/http/api"
|
||
|
)
|
||
|
|
||
|
func UserApi(r *gin.Engine) {
|
||
|
userApi := r.Group("user")
|
||
|
{
|
||
|
userApi.POST("/login", api.UserApi().Login) // 登陆
|
||
|
}
|
||
|
}
|