KPI绩效考核系统
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.

21 lines
608 B

package verifyLogin
import (
"key_performance_indicators/api/base"
"github.com/gin-gonic/gin"
)
//OAuth 2.0 授权
func (a *ApiRouter) RouterGroup(router *gin.RouterGroup) {
apiRouter := router.Group("base")
var methodBinding = base.AppApiEntry.LoginVerify
{
apiRouter.GET("", methodBinding.Index) //入口
apiRouter.POST("", methodBinding.Index) //入口
apiRouter.POST("captcha", methodBinding.Captcha) //获取验证码
apiRouter.POST("login", methodBinding.ScanCodeLogin) //登录
apiRouter.POST("signout", methodBinding.SignOut) //退出登录
}
}