应用集成平台服务端
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.
 
 
 

19 lines
557 B

package personalityAssessment
import (
"appPlatform/api/personalityTest"
"github.com/gin-gonic/gin"
)
func (a *ApiRouter) RouterGroup(router *gin.RouterGroup) {
apiRouter := router.Group("rongxin")
var methodBinding = personalityTest.AppApiEntry.CharacterTestRongXin
{
apiRouter.GET("", methodBinding.Index) //入口
apiRouter.POST("", methodBinding.Index) //入口
apiRouter.POST("login", methodBinding.Login) //登录(内部人员)
apiRouter.POST("loginExternal", methodBinding.LoginExternal) //登录(内部人员)
}
}