19 lines
548 B
Go
19 lines
548 B
Go
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) // 微信登录
|
||
|
||
//
|
||
appNo.POST("/getToken4Jxc4", app.Auth2ControllerController.GetToken4Jxc4) // 微信登录京西菜市,获取菜市token
|
||
|
||
}
|