服务市场

调用服务平台提供的服务。

  1. serviceData := &power.HashMap{
  2. "img_url": "http://mmbiz.qpic.cn/mmbiz_jpg/7UFjuNbYxibu66xSqsQqKcuoGBZM77HIyibdiczeWibdMeA2XMt5oibWVQMgDibriazJSOibLqZxcO6DVVcZMxDKgeAtbQ/0",
  3. "data_type": 3,
  4. "ocr_type": 1,
  5. }
  6. services.AppMiniProgram.ServiceMarket.InvokeService(ctx, &request.RequestServiceMarket{
  7. Service: "SERVICEID",
  8. Api: "APINAME",
  9. ClientMsgID: "CLIENTMSGID",
  10. Data: serviceData,
  11. })

微信官方文档