소스 검색

微信通知去掉登录校验

xiexiaoyuan 2 년 전
부모
커밋
296b249ab9
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      controllers/wechat.go

+ 2 - 1
controllers/wechat.go

@@ -4,6 +4,7 @@ import (
 	"encoding/json"
 	"encoding/xml"
 	"fmt"
+	"github.com/beego/beego/v2/server/web"
 	"hongze/hongze_api/models"
 	"hongze/hongze_api/services"
 	"hongze/hongze_api/utils"
@@ -16,7 +17,7 @@ type WechatController struct {
 }
 
 type WechatCommonController struct {
-	BaseCommonController
+	web.Controller
 }
 
 // @Title 微信登录接口