template_serviceImpl.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. {
  2. "templateName":"服务实现",
  3. "templateCode":"serviceImpl",
  4. "templateKey":"serviceBusinessId",
  5. "templateKeyName":"服务实现ID",
  6. "searchCode": "name",
  7. "searchName": "服务名称",
  8. "conditions": [
  9. {
  10. "name": "业务类型",
  11. "inputType": "input",
  12. "code": "businessTypeCd",
  13. "whereCondition": "equal"
  14. },
  15. {
  16. "name": "业务名称",
  17. "inputType": "input",
  18. "code": "name",
  19. "whereCondition": "like"
  20. },
  21. {
  22. "name": "调用方式",
  23. "inputType": "select",
  24. "code": "invokeType",
  25. "selectValue":"1,2,3",
  26. "selectValueName":"微服务POST方式,webservice方式,http post方式",
  27. "whereCondition": "equal"
  28. },
  29. {
  30. "name": "kafka主题",
  31. "inputType": "input",
  32. "code": "messageTopic",
  33. "whereCondition": "like"
  34. }
  35. ],
  36. "columns":[
  37. {
  38. "code":"businessTypeCd",
  39. "cnCode":"业务类型",
  40. "desc":"必填,请填写业务类型",
  41. "required":true,
  42. "hasDefaultValue":false,
  43. "inputType":"input",
  44. "limit":"maxin",
  45. "limitParam":"2,50",
  46. "limitErrInfo":"业务类型必须在2至50字符之间",
  47. "show": true
  48. },
  49. {
  50. "code":"name",
  51. "cnCode":"业务名称",
  52. "desc":"必填,请填写业务名称",
  53. "required":true,
  54. "hasDefaultValue":false,
  55. "inputType":"input",
  56. "limit":"maxin",
  57. "limitParam":"2,50",
  58. "limitErrInfo":"业务类型必须在2至50字符之间",
  59. "show": true
  60. },
  61. {
  62. "code":"invokeType",
  63. "cnCode":"调用类型",
  64. "desc":"必填,请填写调用类型",
  65. "required":true,
  66. "hasDefaultValue":false,
  67. "inputType":"select",
  68. "selectValue":"1,2,3",
  69. "selectValueName":"微服务POST方式,webservice方式,http post方式",
  70. "limit":"maxin",
  71. "limitParam":"1,4",
  72. "limitErrInfo":"调用类型错误",
  73. "show": true
  74. },
  75. {
  76. "code":"url",
  77. "cnCode":"调用地址",
  78. "desc":"必填,请填写调用地址,为mapping 表中domain为DOMAIN.COMMON映射key",
  79. "required":true,
  80. "hasDefaultValue":true,
  81. "defaultValue":"1000",
  82. "inputType":"input",
  83. "limit":"num",
  84. "limitParam":"",
  85. "limitErrInfo":"调用次数错误",
  86. "show": false
  87. },
  88. {
  89. "code":"messageTopic",
  90. "cnCode":"kafka主题",
  91. "desc":"可填,请填写kafka主题",
  92. "required":false,
  93. "hasDefaultValue":false,
  94. "defaultValue":"",
  95. "inputType":"input",
  96. "limit":"maxLength",
  97. "limitParam":"50",
  98. "limitErrInfo":"kafka主题不能超过50",
  99. "show": false
  100. },
  101. {
  102. "code":"timeout",
  103. "cnCode":"超时时间",
  104. "desc":"必填,请填写超时时间",
  105. "required":true,
  106. "hasDefaultValue":true,
  107. "defaultValue":60,
  108. "inputType":"input",
  109. "limit":"num",
  110. "limitParam":"",
  111. "limitErrInfo":"超时时间必须为数字",
  112. "show": false
  113. },
  114. {
  115. "code":"retryCount",
  116. "cnCode":"重试次数",
  117. "desc":"必填,请填写重试次数",
  118. "required":true,
  119. "hasDefaultValue":true,
  120. "defaultValue":3,
  121. "inputType":"input",
  122. "limit":"num",
  123. "limitParam":"",
  124. "limitErrInfo":"重试次数必须为数字",
  125. "show": false
  126. },
  127. {
  128. "code":"description",
  129. "cnCode":"描述",
  130. "desc":"可填,请填写描述",
  131. "required":false,
  132. "hasDefaultValue":false,
  133. "defaultValue":"",
  134. "inputType":"textarea",
  135. "limit":"maxLength",
  136. "limitParam":"200",
  137. "limitErrInfo":"备注内容不能超过200",
  138. "show": false
  139. }
  140. ]
  141. }