Commit 9aaddda8 by Victor Wang

Update README.md

增加推送 iOS 消息时候的方法示例
parent 3ec8a9df
...@@ -65,6 +65,8 @@ content = { ...@@ -65,6 +65,8 @@ content = {
} }
content = content.to_s.gsub(":", "").gsub("=>", ":") content = content.to_s.gsub(":", "").gsub("=>", ":")
template.transmission_content = content template.transmission_content = content
# 设置iOS的推送参数,如果只有安卓 App,可以忽略下面一行
# template.set_push_info("", 1, "这里是iOS推送的显示信息", "")
# 创建群发消息 # 创建群发消息
list_message = IGeTui::ListMessage.new list_message = IGeTui::ListMessage.new
......
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