yue.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "openapi": "3.0.1",
  3. "info": {
  4. "title": "默认模块",
  5. "description": "",
  6. "version": "1.0.0"
  7. },
  8. "tags": [],
  9. "paths": {
  10. "/merchant/getBalance": {
  11. "get": {
  12. "summary": "商户余额",
  13. "deprecated": false,
  14. "description": "",
  15. "tags": [],
  16. "parameters": [],
  17. "responses": {
  18. "200": {
  19. "description": "",
  20. "content": {
  21. "application/json": {
  22. "schema": {
  23. "$ref": "#/components/schemas/RMerchantBalanceVO"
  24. },
  25. "example": {
  26. "code": 0,
  27. "msg": "",
  28. "data": {
  29. "totalAmount": 0,
  30. "totalUseAmount": 0,
  31. "freezeAmount": 0,
  32. "withdrawnAmount": 0,
  33. "withdrawnTotalAmount": 0
  34. }
  35. }
  36. }
  37. }
  38. }
  39. },
  40. "security": [
  41. {
  42. "bearer": []
  43. }
  44. ]
  45. }
  46. }
  47. },
  48. "components": {
  49. "schemas": {
  50. "MerchantBalanceVO": {
  51. "type": "object",
  52. "properties": {
  53. "totalAmount": {
  54. "type": "number",
  55. "description": "总交易金额"
  56. },
  57. "totalUseAmount": {
  58. "type": "number",
  59. "description": "总到账金额"
  60. },
  61. "freezeAmount": {
  62. "type": "number",
  63. "description": "总冻结金额"
  64. },
  65. "withdrawnAmount": {
  66. "type": "number",
  67. "description": "总提现金额"
  68. },
  69. "withdrawnTotalAmount": {
  70. "type": "number",
  71. "description": "总提现扣款金额"
  72. }
  73. }
  74. },
  75. "RMerchantBalanceVO": {
  76. "type": "object",
  77. "properties": {
  78. "code": {
  79. "type": "integer",
  80. "description": "返回标记:成功标记=0,失败标记=1"
  81. },
  82. "msg": {
  83. "type": "string",
  84. "description": "返回信息"
  85. },
  86. "data": {
  87. "$ref": "#/components/schemas/MerchantBalanceVO",
  88. "description": "数据"
  89. }
  90. }
  91. }
  92. },
  93. "responses": {},
  94. "securitySchemes": {
  95. "bearer": {
  96. "type": "http",
  97. "scheme": "bearer"
  98. }
  99. }
  100. },
  101. "servers": [],
  102. "security": []
  103. }