tz.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. {
  2. "openapi": "3.0.1",
  3. "info": {
  4. "title": "默认模块",
  5. "description": "",
  6. "version": "1.0.0"
  7. },
  8. "tags": [],
  9. "paths": {
  10. "/admin/payNotify/page": {
  11. "get": {
  12. "summary": "分页查询列表",
  13. "deprecated": false,
  14. "description": "",
  15. "tags": [],
  16. "parameters": [
  17. {
  18. "name": "appId",
  19. "in": "query",
  20. "description": "",
  21. "required": true,
  22. "schema": {
  23. "type": "string"
  24. }
  25. },
  26. {
  27. "name": "orderId",
  28. "in": "query",
  29. "description": "",
  30. "required": true,
  31. "schema": {
  32. "type": "string"
  33. }
  34. }
  35. ],
  36. "responses": {
  37. "200": {
  38. "description": "",
  39. "content": {
  40. "application/json": {
  41. "schema": {
  42. "$ref": "#/components/schemas/RPayNotifyRO",
  43. "description": "通知记录"
  44. },
  45. "example": {
  46. "code": 0,
  47. "msg": "",
  48. "data": {
  49. "id": 0,
  50. "orderId": "",
  51. "status": 0,
  52. "nextNotifyTime": "",
  53. "lastExecuteTime": "",
  54. "notifyTimes": 0,
  55. "maxNotifyTimes": 0,
  56. "notifyUrl": "",
  57. "errorMsg": "",
  58. "payNotifyLogs": [
  59. {
  60. "notifyTimes": 0,
  61. "response": "",
  62. "status": 0,
  63. "createTime": ""
  64. }
  65. ]
  66. }
  67. }
  68. }
  69. },
  70. "headers": {}
  71. }
  72. },
  73. "security": []
  74. }
  75. }
  76. },
  77. "components": {
  78. "schemas": {
  79. "PayNotifyLogRO": {
  80. "type": "object",
  81. "properties": {
  82. "notifyTimes": {
  83. "type": "integer",
  84. "description": "第几次被通知\n\n对应到{@link MchPayNotifyTask#getNotifyTimes()}"
  85. },
  86. "response": {
  87. "type": "string",
  88. "description": "HTTP 响应结果"
  89. },
  90. "status": {
  91. "type": "integer",
  92. "description": "支付通知状态\n\n枚举{@link PayNotifyStatusEnum}"
  93. },
  94. "createTime": {
  95. "type": "string",
  96. "description": "创建时间"
  97. }
  98. }
  99. },
  100. "PayNotifyRO": {
  101. "type": "object",
  102. "properties": {
  103. "id": {
  104. "type": "integer",
  105. "description": "",
  106. "format": "int64"
  107. },
  108. "orderId": {
  109. "type": "string",
  110. "description": "平台订单ID"
  111. },
  112. "status": {
  113. "type": "integer",
  114. "description": "通知状态\n\n枚举{@link PayNotifyStatusEnum}"
  115. },
  116. "nextNotifyTime": {
  117. "type": "string",
  118. "description": "下一次通知时间"
  119. },
  120. "lastExecuteTime": {
  121. "type": "string",
  122. "description": "最后一次执行时间"
  123. },
  124. "notifyTimes": {
  125. "type": "integer",
  126. "description": "当前通知次数"
  127. },
  128. "maxNotifyTimes": {
  129. "type": "integer",
  130. "description": "最大可通知次数"
  131. },
  132. "notifyUrl": {
  133. "type": "string",
  134. "description": "通知地址"
  135. },
  136. "errorMsg": {
  137. "type": "string",
  138. "description": "失败原因"
  139. },
  140. "payNotifyLogs": {
  141. "type": "array",
  142. "items": {
  143. "$ref": "#/components/schemas/PayNotifyLogRO",
  144. "description": "com.mw.bridging.open.ro.PayNotifyLogRO"
  145. },
  146. "description": "通知日志"
  147. }
  148. }
  149. },
  150. "RPayNotifyRO": {
  151. "type": "object",
  152. "properties": {
  153. "code": {
  154. "type": "integer",
  155. "description": "返回标记:成功标记=0,失败标记=1"
  156. },
  157. "msg": {
  158. "type": "string",
  159. "description": "返回信息"
  160. },
  161. "data": {
  162. "$ref": "#/components/schemas/PayNotifyRO",
  163. "description": "数据"
  164. }
  165. }
  166. }
  167. },
  168. "securitySchemes": {}
  169. },
  170. "servers": [],
  171. "security": []
  172. }