xiexiaoyuan 2 年之前
父節點
當前提交
8f18cc6a5d
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      controllers/wechat.go

+ 1 - 2
controllers/wechat.go

@@ -4,7 +4,6 @@ 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"
@@ -17,7 +16,7 @@ type WechatController struct {
 }
 
 type WechatCommonController struct {
-	web.Controller
+	BaseCommonController
 }
 
 // @Title 微信登录接口