- change content type for callback msg weimob
This commit is contained in:
@@ -9,7 +9,6 @@ package routers
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"git.rosy.net.cn/baseapi/platformapi/weimobapi"
|
"git.rosy.net.cn/baseapi/platformapi/weimobapi"
|
||||||
"git.rosy.net.cn/baseapi/utils"
|
|
||||||
"git.rosy.net.cn/jx-callback/controllers"
|
"git.rosy.net.cn/jx-callback/controllers"
|
||||||
|
|
||||||
"github.com/astaxie/beego"
|
"github.com/astaxie/beego"
|
||||||
@@ -107,6 +106,6 @@ func init() {
|
|||||||
|
|
||||||
// 在微盟配置回调时能通过检测
|
// 在微盟配置回调时能通过检测
|
||||||
beego.Any("/weimob", func(ctx *beecontext.Context) {
|
beego.Any("/weimob", func(ctx *beecontext.Context) {
|
||||||
ctx.WriteString(string(utils.MustMarshal(weimobapi.SuccessResponse)))
|
ctx.Output.JSON(weimobapi.SuccessResponse, false, false)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user