1. B端
拾果
  • 轻体赛
    • 获取用户测量数据(服务端对接)
      GET
    • 获取用户的openId(服务端对接)
      GET
    • 获取页面跳转地址
      GET
    • 生成小程序码
      POST
    • 体重数据打卡推送(中科往拾果)
      POST
    • 获取体重数据变化对比数据(服务端对接)
      GET
  • B端
    • 获取优惠券配置(服务端对接)
      GET
    • 发放优惠券(服务端对接)
      POST
  • 企业微信
    • 获取企业微信配置(服务端对接)
      GET
  1. B端

发放优惠券(服务端对接)

开发中
POST
/shiguo/b/{phone}/coupon
通过手机号代替用户标识
会校验请求ip是否在白名单内
手机号为11位

请求参数

Path 参数

Body 参数application/json

示例
{
    "appSecret": "string",
    "couponNum": 0,
    "orderNum": "string"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/shiguo/b//coupon' \
--header 'Content-Type: application/json' \
--data-raw '{
    "appSecret": "string",
    "couponNum": 0,
    "orderNum": "string"
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 0,
    "msg": "string",
    "data": true
}
修改于 2025-07-09 02:45:00
上一页
获取优惠券配置(服务端对接)
下一页
获取企业微信配置(服务端对接)
Built with