作者 yangfu

Merge branch 'dev' of http://gitlab.fjmaimaimai.com/mmm-go/openapi into dev

... ... @@ -8,6 +8,7 @@ require (
github.com/aliyun/aliyun-oss-go-sdk v2.1.4+incompatible
github.com/aliyun/aliyun-sts-go-sdk v0.0.0-20171106034748-98d3903a2309
github.com/astaxie/beego v1.10.0
github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f // indirect
github.com/fasthttp-contrib/websocket v0.0.0-20160511215533-1f3b11f56072 // indirect
github.com/fatih/structs v1.1.0 // indirect
github.com/gavv/httpexpect v2.0.0+incompatible
... ...
... ... @@ -35,6 +35,7 @@ func (this *PushController) PushInfo() {
if len(request.ProjectKey) == 0 || request.ProjectKey == "worth" {
request.ProjectKey = "mmm.ability.worth" //默认是价值项目
}
request.Type = 0 // TODO: 测试需要强制0,后期需要改回来
header := controllers.GetRequestHeader(this.Ctx)
msg = protocol.NewReturnResponse(push.Notification(header, request))
}
... ...