123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- {
- "$schema": "http://json-schema.org/draft-04/schema",
- "title": "支付网关配置",
- "type": "object",
- "required": [
- "UITemplateVersion",
- "TongLianPayV1Config",
- "TongLianPayV2Config"
- ],
- "format": "table",
- "properties": {
- "UITemplateVersion": {
- "type": "string",
- "readOnly": true,
- "default": "1.0",
- "format": "hidden",
- "options": {
- "compact": true
- }
- },
- "TongLianPayV1Config": {
- "type": "object",
- "title": "通联支付 - 普通接口配置",
- "required": [
- "Config"
- ],
- "properties": {
- "Config": {
- "type": "object",
- "required": [
- "appId",
- "cusId",
- "appKey",
- "apiVersion",
- "apiUrl",
- "queryInterval",
- "queryTimeout"
- ],
- "format": "grid-strict",
- "properties": {
- "appId": {
- "title": "appId - 由通联支付后台开通并预分配至客户, 请咨询通联支付或者客户, 常见为8位数字串",
- "type": "string",
- "options": {
- "grid_columns": 6
- }
- },
- "cusId": {
- "title": "cusId - 由通联支付后台开通并预分配至客户, 请咨询通联支付或者客户, 常见为15位数字与字母混合串",
- "type": "string",
- "minLength": 5,
- "options": {
- "grid_columns": 6
- }
- },
- "appKey": {
- "title": "appKey - 由通联支付后台开通并预分配至客户, 请咨询通联支付或者客户, 常见为32位数字与字母混合串",
- "type": "string",
- "minLength": 5,
- "options": {
- "grid_columns": 6
- }
- },
- "apiVersion": {
- "title": "apiVersion - 由通联支付后台指定, 请咨询通联支付, 常见为数字",
- "type": "string",
- "default": "11",
- "options": {
- "grid_columns": 6
- }
- },
- "apiUrl": {
- "title": "apiUrl - 由通联支付后台指定, 请咨询通联支付, 常见以http开头的URL地址",
- "pattern": "http.*",
- "type": "string",
- "default": "https://vsp.allinpay.com/apiweb/unitorder",
- "options": {
- "grid_columns": 6
- }
- },
- "notifyUrl": {
- "title": "notifyUrl - 暂时不使用, 留空白即可",
- "pattern": "http.*",
- "type": "string",
- "options": {
- "grid_columns": 6
- }
- },
- "queryInterval": {
- "type": "integer",
- "title": "自动查询远端支付状态的间隔 - 两段式的支付请求中, 对于最终支付是否成功需要不段的轮询远端支付网关以获取最终支付状态, 此值控制轮询的间隔",
- "default": 10,
- "maximum": 600,
- "minimum": 5,
- "options": {
- "grid_columns": 6
- }
- },
- "queryTimeout": {
- "type": "integer",
- "title": "自动查询远端支付状态的超时时长 - 两段式的支付请求中, 对于最终支付是否成功需要不段的轮询远端支付网关以获取最终支付状态, 此值控制所有轮询的总超时时长",
- "default": 90,
- "maximum": 900,
- "minimum": 20,
- "options": {
- "grid_columns": 6
- }
- }
- }
- }
- }
- },
- "TongLianPayV2Config": {
- "type": "object",
- "title": "通联支付 - 高级接口配置",
- "required": [
- "Config"
- ],
- "properties": {
- "Config": {
- "required": [
- "appId",
- "version",
- "charset",
- "signType",
- "key",
- "apiUrl",
- "notifyUrl",
- "oilStationNo",
- "queryInterval",
- "queryTimeout",
- "shiftsMask",
- "subAppId",
- "sysId"
- ],
- "format": "grid-strict",
- "properties": {
- "appId": {
- "title": "appId - 由通联支付后台开通并预分配至客户, 请咨询通联支付或者客户, 常见为8位数字串",
- "type": "string",
- "options": {
- "grid_columns": 3
- }
- },
- "version": {
- "title": "version - 由通联支付后台指定, 请咨询通联支付, 常见为带小数点的数字",
- "type": "string",
- "default": "1.0",
- "options": {
- "grid_columns": 3
- }
- },
- "charset": {
- "title": "charset - 字符编码集, 由通联支付后台指定, 请咨询通联支付",
- "type": "string",
- "default": "utf-8",
- "options": {
- "grid_columns": 3
- }
- },
- "signType": {
- "title": "signType - 字符内容摘要算法, 由通联支付后台指定, 请咨询通联支付",
- "type": "string",
- "default": "MD5",
- "options": {
- "grid_columns": 3
- }
- },
- "key": {
- "title": "key - 由通联支付后台开通并预分配至客户, 请咨询通联支付或者客户, 常见为32位数字与字母混合串",
- "type": "string",
- "minLength": 5,
- "options": {
- "grid_columns": 12
- }
- },
- "apiUrl": {
- "title": "apiUrl - 由通联支付后台指定, 请咨询通联支付, 常见以http开头的URL地址",
- "pattern": "http.*",
- "type": "string",
- "default": "https://cloud.aipgd.com/gateway",
- "options": {
- "grid_columns": 6
- }
- },
- "notifyUrl": {
- "title": "notifyUrl - 暂时不使用, 留空白即可",
- "pattern": "http.*",
- "type": "string",
- "options": {
- "grid_columns": 6
- }
- },
- "oilStationNo": {
- "title": "oilStationNo - 由通联支付后台开通并预分配至客户, 请咨询通联支付或者客户, 常见为5位数字与字母混合串",
- "type": "string",
- "minLength": 2,
- "options": {
- "grid_columns": 3
- }
- },
- "queryInterval": {
- "type": "integer",
- "title": "自动查询远端支付状态的间隔 - 两段式的支付请求中, 对于最终支付是否成功需要不段的轮询远端支付网关以获取最终支付状态, 此值控制轮询的间隔",
- "default": 10,
- "maximum": 600,
- "minimum": 5,
- "options": {
- "grid_columns": 3
- }
- },
- "queryTimeout": {
- "type": "integer",
- "title": "自动查询远端支付状态的超时时长 - 两段式的支付请求中, 对于最终支付是否成功需要不段的轮询远端支付网关以获取最终支付状态, 此值控制所有轮询的总超时时长",
- "default": 90,
- "maximum": 900,
- "minimum": 20,
- "options": {
- "grid_columns": 3
- }
- },
- "shiftsMask": {
- "title": "shiftsMask - 由通联支付后台开通并预分配至客户, 请咨询通联支付或者客户, 常见为2位数字串",
- "type": "string",
- "default": "01",
- "minLength": 1,
- "options": {
- "grid_columns": 3
- }
- },
- "subAppId": {
- "title": "subAppId - 由通联支付后台开通并预分配至客户, 可留空",
- "type": "string",
- "options": {
- "grid_columns": 6
- }
- },
- "sysId": {
- "title": "sysId - 由通联支付后台开通并预分配至客户, 常见为19位数字串",
- "type": "string",
- "minLength": 5,
- "options": {
- "grid_columns": 6
- }
- }
- }
- }
- }
- }
- }
- }
|