接口

## 获取接口信息 ### 请求地址 ``` api/index/ ``` ### 请求参数 | 请求参数 | 类型 | 说明 | 是否必填 | |---------|------|------|---------| | _handle | string | 固定值:PortPage | 是 | | _method | string | 固定值:Get | 是 | | type | string | 订单通知:ordernotice 用户通知:regnotice 付款:payment 自动推送:autoupdate 积分兑换:score 平台币兑换:coin 商城:shop 位置:iplocation | 是 | ### 返回值 ``` json { "code":1, "msg":"", "data":{ "pid":"xxx",//商户编号 "pkey":"xxx",//商户密钥 } } ``` ## 保存接口信息 ### 请求地址 ``` api/index/ ``` ### 请求参数 | 请求参数 | 类型 | 说明 | 是否必填 | |---------|------|------|---------| | _handle | string | 固定值:PortPage | 是 | | _method | string | 固定值:Save | 是 | | type | string | 订单通知:ordernotice 用户通知:regnotice 付款:payment 自动推送:autoupdate 积分兑换:score 平台币兑换:coin 商城:shop 位置:iplocation | 是 | | pid | string | 商户编号 | 是 | | pkey | string | 商户密钥 | 是 | ### 返回值 ``` json { "code":1, "msg":"", "data":[] } ``` ## 分账接口获取 ### 请求地址 ``` api/index/ ``` ### 请求参数 | 请求参数 | 类型 | 说明 | 是否必填 | |---------|------|------|---------| | _handle | string | 固定值:SystemPage | 是 | | _method | string | 固定值:Add | 是 | | xy_name | string | 固定值:routing | 是 | ### 返回值 ``` json { "code":1, "msg":"", "data":{ "xy_switch":0,//0关闭 1开启 "xy_appid":"商户编号", "xy_appkey":"商户密钥", "xy_url":"请求地址", "xy_alipaypubliccertpath":"支付宝公钥证书路径", "xy_appcertpath":"商户应用证书路径", "xy_rootcertpath":"支付宝根证书路径", } } ``` ## 分账接口保存 ### 请求地址 ``` api/index/ ``` ### 请求参数 | 请求参数 | 类型 | 说明 | 是否必填 | |---------|------|------|---------| | _handle | string | 固定值:SystemPage | 是 | | _method | string | 固定值:Add | 是 | | xy_name | string | 固定值:routing | 是 | | xy_switch | int | 0关闭 1开启 | 是 | | xy_appid | string | 商户编号 | 是 | | xy_appkey | string | 商户密钥 | 是 | | xy_url | string | 请求地址 | 是 | | xy_alipaypubliccertpath | string | 支付宝公钥证书路径| 是 | | xy_appcertpath | string | 商户应用证书路径 | 是 | | xy_rootcertpath | string | 支付宝根证书路径 | 是 | ### 返回值 ``` json { "code":1, "msg":"", "data":[] } ```