Files
jx-print/routers/v3_app_router.go
2022-07-26 17:24:41 +08:00

15 lines
421 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package routers
import (
"git.rosy.net.cn/jx-print/controllers/app"
"github.com/gin-gonic/gin"
)
// InitV3App 小程序端不需要token
func InitV3App(v2 *gin.RouterGroup) {
appNo := v2.Group("/app_no")
appNo.POST("/getUserPhone", app.Auth2ControllerController.GetUserPhoneByWeChat) // 获取微信用户电话
appNo.POST("/login", app.Auth2ControllerController.Login) // 微信登录
}