- change content type for callback msg weimob

This commit is contained in:
gazebo
2019-01-19 11:29:33 +08:00
parent a41686fb56
commit c675ac56b0

View File

@@ -9,7 +9,6 @@ package routers
import (
"git.rosy.net.cn/baseapi/platformapi/weimobapi"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/controllers"
"github.com/astaxie/beego"
@@ -107,6 +106,6 @@ func init() {
// 在微盟配置回调时能通过检测
beego.Any("/weimob", func(ctx *beecontext.Context) {
ctx.WriteString(string(utils.MustMarshal(weimobapi.SuccessResponse)))
ctx.Output.JSON(weimobapi.SuccessResponse, false, false)
})
}