Commit 0cb1b832 by zmj

fix url

parent 04ca174b
...@@ -22,7 +22,7 @@ module Push ...@@ -22,7 +22,7 @@ module Push
ver: '1', ver: '1',
appId: PushSettings.huawei['app_id'] appId: PushSettings.huawei['app_id']
} }
url = PUSH_URL + "nsp_ctx=#{CGI::escape(nsp_ctx.to_json)}" url = PUSH_URL + "?nsp_ctx=#{CGI::escape(nsp_ctx.to_json)}"
post(url, body) post(url, body)
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment