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.
20 lines
473 B
20 lines
473 B
package authenticationroute
|
|
|
|
import (
|
|
"appPlatform/api/authentication"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
//实验
|
|
|
|
func (a *ApiRouter) RouterGroup(router *gin.RouterGroup) {
|
|
apiRouter := router.Group("signcode")
|
|
|
|
var methodBinding = authentication.AppApiEntry.SingCodeApi
|
|
{
|
|
apiRouter.GET("", methodBinding.Index) //入口
|
|
apiRouter.POST("", methodBinding.Index) //入口
|
|
apiRouter.POST("signcode", methodBinding.SignCode) //验证身份
|
|
}
|
|
}
|
|
|