appCtorParamsJsonSchema.json 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema",
  3. "title": "支付网关配置",
  4. "type": "object",
  5. "required": [
  6. "UITemplateVersion",
  7. "TongLianPayV1Config",
  8. "TongLianPayV2Config"
  9. ],
  10. "format": "table",
  11. "properties": {
  12. "UITemplateVersion": {
  13. "type": "string",
  14. "readOnly": true,
  15. "default": "1.0",
  16. "format": "hidden",
  17. "options": {
  18. "compact": true
  19. }
  20. },
  21. "TongLianPayV1Config": {
  22. "type": "object",
  23. "title": "通联支付 - 普通接口配置",
  24. "required": [
  25. "Config"
  26. ],
  27. "properties": {
  28. "Config": {
  29. "type": "object",
  30. "required": [
  31. "appId",
  32. "cusId",
  33. "appKey",
  34. "apiVersion",
  35. "apiUrl",
  36. "queryInterval",
  37. "queryTimeout"
  38. ],
  39. "format": "grid-strict",
  40. "properties": {
  41. "appId": {
  42. "title": "appId - 由通联支付后台开通并预分配至客户, 请咨询通联支付或者客户, 常见为8位数字串",
  43. "type": "string",
  44. "options": {
  45. "grid_columns": 6
  46. }
  47. },
  48. "cusId": {
  49. "title": "cusId - 由通联支付后台开通并预分配至客户, 请咨询通联支付或者客户, 常见为15位数字与字母混合串",
  50. "type": "string",
  51. "minLength": 5,
  52. "options": {
  53. "grid_columns": 6
  54. }
  55. },
  56. "appKey": {
  57. "title": "appKey - 由通联支付后台开通并预分配至客户, 请咨询通联支付或者客户, 常见为32位数字与字母混合串",
  58. "type": "string",
  59. "minLength": 5,
  60. "options": {
  61. "grid_columns": 6
  62. }
  63. },
  64. "apiVersion": {
  65. "title": "apiVersion - 由通联支付后台指定, 请咨询通联支付, 常见为数字",
  66. "type": "string",
  67. "default": "11",
  68. "options": {
  69. "grid_columns": 6
  70. }
  71. },
  72. "apiUrl": {
  73. "title": "apiUrl - 由通联支付后台指定, 请咨询通联支付, 常见以http开头的URL地址",
  74. "pattern": "http.*",
  75. "type": "string",
  76. "default": "https://vsp.allinpay.com/apiweb/unitorder",
  77. "options": {
  78. "grid_columns": 6
  79. }
  80. },
  81. "notifyUrl": {
  82. "title": "notifyUrl - 暂时不使用, 留空白即可",
  83. "pattern": "http.*",
  84. "type": "string",
  85. "options": {
  86. "grid_columns": 6
  87. }
  88. },
  89. "queryInterval": {
  90. "type": "integer",
  91. "title": "自动查询远端支付状态的间隔 - 两段式的支付请求中, 对于最终支付是否成功需要不段的轮询远端支付网关以获取最终支付状态, 此值控制轮询的间隔",
  92. "default": 10,
  93. "maximum": 600,
  94. "minimum": 5,
  95. "options": {
  96. "grid_columns": 6
  97. }
  98. },
  99. "queryTimeout": {
  100. "type": "integer",
  101. "title": "自动查询远端支付状态的超时时长 - 两段式的支付请求中, 对于最终支付是否成功需要不段的轮询远端支付网关以获取最终支付状态, 此值控制所有轮询的总超时时长",
  102. "default": 90,
  103. "maximum": 900,
  104. "minimum": 20,
  105. "options": {
  106. "grid_columns": 6
  107. }
  108. }
  109. }
  110. }
  111. }
  112. },
  113. "TongLianPayV2Config": {
  114. "type": "object",
  115. "title": "通联支付 - 高级接口配置",
  116. "required": [
  117. "Config"
  118. ],
  119. "properties": {
  120. "Config": {
  121. "required": [
  122. "appId",
  123. "version",
  124. "charset",
  125. "signType",
  126. "key",
  127. "apiUrl",
  128. "notifyUrl",
  129. "oilStationNo",
  130. "queryInterval",
  131. "queryTimeout",
  132. "shiftsMask",
  133. "subAppId",
  134. "sysId"
  135. ],
  136. "format": "grid-strict",
  137. "properties": {
  138. "appId": {
  139. "title": "appId - 由通联支付后台开通并预分配至客户, 请咨询通联支付或者客户, 常见为8位数字串",
  140. "type": "string",
  141. "options": {
  142. "grid_columns": 3
  143. }
  144. },
  145. "version": {
  146. "title": "version - 由通联支付后台指定, 请咨询通联支付, 常见为带小数点的数字",
  147. "type": "string",
  148. "default": "1.0",
  149. "options": {
  150. "grid_columns": 3
  151. }
  152. },
  153. "charset": {
  154. "title": "charset - 字符编码集, 由通联支付后台指定, 请咨询通联支付",
  155. "type": "string",
  156. "default": "utf-8",
  157. "options": {
  158. "grid_columns": 3
  159. }
  160. },
  161. "signType": {
  162. "title": "signType - 字符内容摘要算法, 由通联支付后台指定, 请咨询通联支付",
  163. "type": "string",
  164. "default": "MD5",
  165. "options": {
  166. "grid_columns": 3
  167. }
  168. },
  169. "key": {
  170. "title": "key - 由通联支付后台开通并预分配至客户, 请咨询通联支付或者客户, 常见为32位数字与字母混合串",
  171. "type": "string",
  172. "minLength": 5,
  173. "options": {
  174. "grid_columns": 12
  175. }
  176. },
  177. "apiUrl": {
  178. "title": "apiUrl - 由通联支付后台指定, 请咨询通联支付, 常见以http开头的URL地址",
  179. "pattern": "http.*",
  180. "type": "string",
  181. "default": "https://cloud.aipgd.com/gateway",
  182. "options": {
  183. "grid_columns": 6
  184. }
  185. },
  186. "notifyUrl": {
  187. "title": "notifyUrl - 暂时不使用, 留空白即可",
  188. "pattern": "http.*",
  189. "type": "string",
  190. "options": {
  191. "grid_columns": 6
  192. }
  193. },
  194. "oilStationNo": {
  195. "title": "oilStationNo - 由通联支付后台开通并预分配至客户, 请咨询通联支付或者客户, 常见为5位数字与字母混合串",
  196. "type": "string",
  197. "minLength": 2,
  198. "options": {
  199. "grid_columns": 3
  200. }
  201. },
  202. "queryInterval": {
  203. "type": "integer",
  204. "title": "自动查询远端支付状态的间隔 - 两段式的支付请求中, 对于最终支付是否成功需要不段的轮询远端支付网关以获取最终支付状态, 此值控制轮询的间隔",
  205. "default": 10,
  206. "maximum": 600,
  207. "minimum": 5,
  208. "options": {
  209. "grid_columns": 3
  210. }
  211. },
  212. "queryTimeout": {
  213. "type": "integer",
  214. "title": "自动查询远端支付状态的超时时长 - 两段式的支付请求中, 对于最终支付是否成功需要不段的轮询远端支付网关以获取最终支付状态, 此值控制所有轮询的总超时时长",
  215. "default": 90,
  216. "maximum": 900,
  217. "minimum": 20,
  218. "options": {
  219. "grid_columns": 3
  220. }
  221. },
  222. "shiftsMask": {
  223. "title": "shiftsMask - 由通联支付后台开通并预分配至客户, 请咨询通联支付或者客户, 常见为2位数字串",
  224. "type": "string",
  225. "default": "01",
  226. "minLength": 1,
  227. "options": {
  228. "grid_columns": 3
  229. }
  230. },
  231. "subAppId": {
  232. "title": "subAppId - 由通联支付后台开通并预分配至客户, 可留空",
  233. "type": "string",
  234. "options": {
  235. "grid_columns": 6
  236. }
  237. },
  238. "sysId": {
  239. "title": "sysId - 由通联支付后台开通并预分配至客户, 常见为19位数字串",
  240. "type": "string",
  241. "minLength": 5,
  242. "options": {
  243. "grid_columns": 6
  244. }
  245. }
  246. }
  247. }
  248. }
  249. }
  250. }
  251. }