This commit is contained in:
苏尹岚
2021-03-31 16:20:11 +08:00
parent 9863f02757
commit 6bf4ce45a5
61 changed files with 214 additions and 215 deletions

View File

@@ -16,10 +16,10 @@ import (
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/model/dao"
"git.rosy.net.cn/jx-callback/globals"
beego "github.com/astaxie/beego/adapter"
"github.com/astaxie/beego/server/web"
)
func GetComposedCode(c *beego.Controller, code string) (composedCode string) {
func GetComposedCode(c *web.Controller, code string) (composedCode string) {
composedCode = code
referer := c.Ctx.Request.Referer()
globals.SugarLogger.Debugf("GetComposedCode referer:%s", referer)
@@ -34,7 +34,7 @@ func GetComposedCode(c *beego.Controller, code string) (composedCode string) {
}
type Auth2Controller struct {
beego.Controller
web.Controller
}
// @Title 生成captcha