说明

微信配置

type 传1 代表添加修改

type 传2 代表 查看配置信息 只传 type

请求地址

环境 请求地址
测试环境 https://pay.umxnt.com/api/user/weixin_config
正式环境

请求参数

参数 类型 是否必填 最大长度 描述
token string 令牌
type string 1代表添加修改,2代表查看数据(以下参数均不传)
app_id string 公众号id
app_secret string 公众号秘钥
wx_notify_appid string 公众号提醒app ID
wx_notify_secret string 公众号提醒秘钥
template_id string 公众号提醒模版ID
wx_merchant_id string 微信服务商商户号
key string 微信支付key
cert_path string 证书文件
key_path string 密钥文件
auth_path string 域名授权文件
  • 返回值示例 成功请求示例:

    {
      "status": 1,
      "message": "保存成功",
      "data": {
        "app_id": "1",
        "app_secret": "2",
        "wx_merchant_id": "3",
        "key": "4111",
        "cert_path": "5",
        "key_path": "7",
        "auth_path": "8",
        "config_id": "19999999994"
      }
    }
    

    失败请求示例

    {
        "msg":"无效参数",
        "status":0
    }
    

results matching ""

    No results matching ""