内网服务访问外部第三方 API 的统一网关
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.
 
 

25 lines
470 B

package route
import (
"jrest"
"third-party-gateway/api/handler"
)
func InitRouter() {
root := jrest.RouteGroup("thirdParty")
//base := root.Group("base")
//{
// //上传文件
// base.POST("upload", handler.FileUpload)
//}
wechat := root.Group("wechat")
{
//获取授权二维码
wechat.GET("getPrintMiniProgramQrCode", handler.GetPrintMiniProgramQrCode)
//扫码注册登录
wechat.GET("getMiniProgramOpenId", handler.GetMiniProgramOpenId)
}
}