|
@@ -48,6 +48,7 @@ func AppAPI(opts ...func(engine *gin.Engine)) func(s *gin.Engine) {
|
|
|
|
|
|
s.POST("/userwxopenid/binding", api.UserWXOpenIDBinding)
|
|
s.POST("/userwxopenid/binding", api.UserWXOpenIDBinding)
|
|
|
|
|
|
|
|
+ s.GET("/yq/image", api.GetImage)
|
|
apiV1 := s.Group("/authdata")
|
|
apiV1 := s.Group("/authdata")
|
|
apiV1.Use(jwt.JWT()) // token 验证
|
|
apiV1.Use(jwt.JWT()) // token 验证
|
|
{
|
|
{
|