Skip to content

Linux executable

Compare
Choose a tag to compare
@rosbit rosbit released this 09 Nov 13:11
· 13 commits to master since this release
  • 发送模版消息
    • 配置项见tmpl-msg
      -例: curl -X POST http://gateway:port/tmpl-msg -d '
      {
         "s": "service-name-in-conf",
         "to": "接收用户的openid",
         "tid": "模版id",
         "url": "可选的跳转地址",
         "mp": {
              "说明": "mp项是可选的",
              "appid": "小程序appid",
              "pagepath": "小程序的页面路径",
         },
         "data": {
             "说明": "模版中变量名和值",
             "k1": "v1",
             "k2": "v2",
             "....": "..."
         }
      }
    '
  • JSAPI签名
    - 配置项见sign-jsapi
    - 例: curl -X POST http://gateway:port/sign-jsapi -d 's=<service-name-in-conf>&u=<url-calling-jsapi-in-urlencoding>'