设置配置

#### 请求URL: -/pay/payment/config #### 请求方式: - POST #### 请求头: |参数名|是否必须|类型|默认值|说明| |:------- |:---|:----- |:---|----- | |Content-Type |是 |string|| application/json| #### 请求body示例: ``` { "id": 1, //支持的id "terminal": ["h5"],//终端 "config": { //配置 "appId": "asdf", "cusid": "s", "subAppid": "asdf", "privateKey": "asdfasdf", "publicKey": "asdfasdfasdfasdf", "appCertSn": "asdfasdf",//应用序列号 "alipayRootCertSN": "asdfasdf" //支付宝根证书序列号 }, "subConfig": [ { "id": 0,//id "cusid": "", //商户号 "region": "",//地区 } ] } ``` #### 返回示例: ``` { "code": 200, "result": {}, "message": "" } ```