浏览代码

微信通知去掉登录校验

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 微信登录接口