Merge branch 'dev' of http://gitlab.fjmaimaimai.com/mmm-go/openapi into dev
正在显示
2 个修改的文件
包含
2 行增加
和
0 行删除
@@ -8,6 +8,7 @@ require ( | @@ -8,6 +8,7 @@ require ( | ||
8 | github.com/aliyun/aliyun-oss-go-sdk v2.1.4+incompatible | 8 | github.com/aliyun/aliyun-oss-go-sdk v2.1.4+incompatible |
9 | github.com/aliyun/aliyun-sts-go-sdk v0.0.0-20171106034748-98d3903a2309 | 9 | github.com/aliyun/aliyun-sts-go-sdk v0.0.0-20171106034748-98d3903a2309 |
10 | github.com/astaxie/beego v1.10.0 | 10 | github.com/astaxie/beego v1.10.0 |
11 | + github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f // indirect | ||
11 | github.com/fasthttp-contrib/websocket v0.0.0-20160511215533-1f3b11f56072 // indirect | 12 | github.com/fasthttp-contrib/websocket v0.0.0-20160511215533-1f3b11f56072 // indirect |
12 | github.com/fatih/structs v1.1.0 // indirect | 13 | github.com/fatih/structs v1.1.0 // indirect |
13 | github.com/gavv/httpexpect v2.0.0+incompatible | 14 | github.com/gavv/httpexpect v2.0.0+incompatible |
@@ -35,6 +35,7 @@ func (this *PushController) PushInfo() { | @@ -35,6 +35,7 @@ func (this *PushController) PushInfo() { | ||
35 | if len(request.ProjectKey) == 0 || request.ProjectKey == "worth" { | 35 | if len(request.ProjectKey) == 0 || request.ProjectKey == "worth" { |
36 | request.ProjectKey = "mmm.ability.worth" //默认是价值项目 | 36 | request.ProjectKey = "mmm.ability.worth" //默认是价值项目 |
37 | } | 37 | } |
38 | + request.Type = 0 // TODO: 测试需要强制0,后期需要改回来 | ||
38 | header := controllers.GetRequestHeader(this.Ctx) | 39 | header := controllers.GetRequestHeader(this.Ctx) |
39 | msg = protocol.NewReturnResponse(push.Notification(header, request)) | 40 | msg = protocol.NewReturnResponse(push.Notification(header, request)) |
40 | } | 41 | } |
-
请 注册 或 登录 后发表评论