service.json 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780
  1. [
  2. {
  3. "title":"通用接口",
  4. "children":[
  5. {
  6. "name":"获取图层列表",
  7. "detail":{
  8. "url":"/metadata/general/getMenuData",
  9. "describe":"获取图层列表",
  10. "requestMehod":"POST",
  11. "requestHeader":[
  12. ],
  13. "inputParam":[
  14. ],
  15. "inputParamExample":{
  16. },
  17. "outputParam":{
  18. "response":[
  19. {
  20. "name":"code",
  21. "explain":"响应状态码",
  22. "type":"number"
  23. },
  24. {
  25. "name":"content",
  26. "explain":"响应内容",
  27. "type":"jsonObject"
  28. },
  29. {
  30. "name":"message",
  31. "explain":"响应状态描述",
  32. "type":"number"
  33. },
  34. {
  35. "name":"total",
  36. "explain":"响应返回数据条数",
  37. "type":"number"
  38. }
  39. ],
  40. "content":[
  41. {
  42. "name":"title",
  43. "explain":"图层名称",
  44. "type":"string"
  45. },
  46. {
  47. "name":"count",
  48. "explain":"数据条数",
  49. "type":"number"
  50. },
  51. {
  52. "name":"id",
  53. "explain":"图层ID",
  54. "type":"number"
  55. },
  56. {
  57. "name":"geometryType",
  58. "explain":"点线面",
  59. "type":"string"
  60. }
  61. ]
  62. },
  63. "outputParamExample":{
  64. "code":200,
  65. "message":"成功",
  66. "content":[
  67. {
  68. "models":[
  69. {
  70. "count":100,
  71. "title":"供热企业分布",
  72. "type":0,
  73. "content":"供热企业基本信息",
  74. "lineWidth":2,
  75. "tableName":"CXJSGL.T_ZTQ_CXJSGL_VIEW_JCSJ_QIYE",
  76. "fillColor":"#007EFF",
  77. "alpha":1,
  78. "threeId":"CXJSGL",
  79. "iconUrl":"/image/HBZJYZT/jianshedanweifenhuyanshou.svg",
  80. "id":47,
  81. "geometryType":"Point"
  82. }
  83. ]
  84. }
  85. ]
  86. }
  87. }
  88. }
  89. ]
  90. },
  91. {
  92. "title":"图层数据接口",
  93. "children":[
  94. {
  95. "name":"根据图层ID查询图层数据",
  96. "detail": {
  97. "url": "/metadata/model/selectById",
  98. "describe": "根据图层ID查询图层数据",
  99. "requestMehod": "POST",
  100. "requestHeader": [{
  101. "name":"token",
  102. "explain":"用户验证所需token",
  103. "type":"string",
  104. "must":"是"
  105. }],
  106. "inputParam": [{
  107. "name":"id",
  108. "explain":"图层ID",
  109. "type":"int",
  110. "must":"是"
  111. }],
  112. "inputParamExample": {},
  113. "outputParam": {"response":[
  114. {
  115. "name":"code",
  116. "explain":"响应状态码",
  117. "type":"number"
  118. },
  119. {
  120. "name":"content",
  121. "explain":"响应内容",
  122. "type":"number"
  123. },
  124. {
  125. "name":"message",
  126. "explain":"响应状态描述",
  127. "type":"number"
  128. }
  129. ],
  130. "content":[
  131. {
  132. "name":"title",
  133. "explain":"模型标题名称",
  134. "type":"String"
  135. },{
  136. "name":"iconUrl",
  137. "explain":"图标路径",
  138. "type":"String"
  139. },{
  140. "name":"tableName",
  141. "explain":"数据来源表名称",
  142. "type":"String"
  143. },{
  144. "name":"jsonStr",
  145. "explain":"其他字段信息",
  146. "type":"String"
  147. }
  148. ]},
  149. "outputParamExample": {
  150. "code": 200,
  151. "message": "成功",
  152. "content": {
  153. "updateDate": 1637908243000,
  154. "jsonStr": "COMMENT ON TABLE \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\" IS '热力站信息';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"ADDRESS\" IS '地址';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"ADDTIME\" IS '添加时间';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"AREAOTHER\" IS '实际其他类型建筑供热面积(m2)';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"AREAPUBLIC\" IS '实际公建供热面积(M2)';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"AREARESIDENT\" IS '实际居建供热面积(m2)';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"DQ_ERROR_FLAG\" IS '标识位';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"HEATINGAREA\" IS '实际总供热面积(M2)自动计算';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"HEATINGAREAMAX\" IS '额定供热面积(m2)';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"HEATSOURCEID\" IS '所属热源编号';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"HEATSTATIONID\" IS '热力站编号';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"HEATSTATIONNAME\" IS '热力站名称';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"HEATTRANSFERABILITY\" IS '额定热力站换热能力(MW)';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"HOUSEHOLDCOUNT\" IS '实际热用户数量(户)';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"ISMAIN\" IS '是否是主要热站(1是 0否)';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"MAPX\" IS '经度X';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"MAPY\" IS '纬度Y';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"NOTE\" IS '备注';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"S_EXT_CREATETIME\" IS '时间戳';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"S_EXT_DEPTNUM\" IS '来源部门';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"S_EXT_ICODE\" IS '内部关联码';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"S_EXT_SYSNUM\" IS '来源系统';\nCOMMENT ON COLUMN \"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN\".\"S_EXT_TIMESTAMP\" IS '增量时间戳';",
  155. "title": "热力站分布",
  156. "type": 3,
  157. "content": "河北省热力站源分布信息",
  158. "lineWidth": 2.0,
  159. "tableName": "T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN",
  160. "fillColor": "#FB3617",
  161. "alpha": 1.0,
  162. "threeId": "CXJSGL",
  163. "iconUrl": "/image/HBZJYZT/reyuanshujv.svg",
  164. "id": 14,
  165. "geometryType": "Point",
  166. "createDate": 1634784811000
  167. }
  168. }
  169. }
  170. },
  171. {
  172. "name":"根据标题查询图层",
  173. "detail": {
  174. "url": "/metadata/model/selectByTitle",
  175. "describe": "根据标题查询图层",
  176. "requestMehod": "POST",
  177. "requestHeader": [{
  178. "name":"token",
  179. "explain":"用户验证所需token",
  180. "type":"string",
  181. "must":"是"
  182. }],
  183. "inputParam": [ {
  184. "name":"title",
  185. "explain":"标题名称",
  186. "type":"string",
  187. "must":"是"
  188. },
  189. {
  190. "name":"page",
  191. "explain":"第几页(分页)",
  192. "type":"string",
  193. "must":"是"
  194. },
  195. {
  196. "name":"pageSize",
  197. "explain":"每页条数(分页)",
  198. "type":"string",
  199. "must":"是"
  200. }],
  201. "inputParamExample": {},
  202. "outputParam": {"response":[
  203. {
  204. "name":"code",
  205. "explain":"响应状态码",
  206. "type":"number"
  207. },
  208. {
  209. "name":"content",
  210. "explain":"响应内容",
  211. "type":"number"
  212. },
  213. {
  214. "name":"message",
  215. "explain":"响应状态描述",
  216. "type":"number"
  217. },
  218. {
  219. "name":"total",
  220. "explain":"响应返回数据条数",
  221. "type":"number"
  222. }
  223. ],
  224. "content":[
  225. {
  226. "name":"title",
  227. "explain":"标题数据名称",
  228. "type":"String"
  229. },{
  230. "name":"iconUrl",
  231. "explain":"图标路径",
  232. "type":"String"
  233. },{
  234. "name":"tableName",
  235. "explain":"数据来源表名称",
  236. "type":"String"
  237. }
  238. ]},
  239. "outputParamExample": {
  240. "total": 1,
  241. "code": 200,
  242. "message": "成功",
  243. "content": [
  244. {
  245. "lineColor": "#000000",
  246. "title": "工程项目",
  247. "type": 1,
  248. "content": "工程项目基本信息",
  249. "lineWidth": 2.0,
  250. "tableName": "t_gcxmgl_gcxmjbxx",
  251. "fillColor": "#14C4F9",
  252. "alpha": 1.0,
  253. "threeId": "0036",
  254. "iconUrl": "/image/HBZJYZT/fangdichankaifaqiye.svg",
  255. "id": 1,
  256. "geometryType": "Point"
  257. }
  258. ]
  259. }
  260. }
  261. },
  262. {
  263. "name":"根据类型查询图层",
  264. "detail": {
  265. "url": "/metadata/model/selectByType",
  266. "describe": "根据类型查询图层",
  267. "requestMehod": "POST",
  268. "requestHeader": [{
  269. "name":"token",
  270. "explain":"用户验证所需token",
  271. "type":"string",
  272. "must":"是"
  273. }],
  274. "inputParam": [{
  275. "name":"type",
  276. "explain":"类型(0 人口;1项目;2企业;3设施;4其他)",
  277. "type":"string",
  278. "must":"是"
  279. },
  280. {
  281. "name":"page",
  282. "explain":"第几页(分页)",
  283. "type":"string",
  284. "must":"是"
  285. },
  286. {
  287. "name":"pageSize",
  288. "explain":"每页条数(分页)",
  289. "type":"string",
  290. "must":"是"
  291. }],
  292. "inputParamExample": {},
  293. "outputParam": {"response":[
  294. {
  295. "name":"code",
  296. "explain":"响应状态码",
  297. "type":"number"
  298. },
  299. {
  300. "name":"content",
  301. "explain":"响应内容",
  302. "type":"number"
  303. },
  304. {
  305. "name":"message",
  306. "explain":"响应状态描述",
  307. "type":"number"
  308. },
  309. {
  310. "name":"total",
  311. "explain":"响应返回数据条数",
  312. "type":"number"
  313. }
  314. ],
  315. "content":[
  316. {
  317. "name":"title",
  318. "explain":"标题数据名称",
  319. "type":"String"
  320. },{
  321. "name":"iconUrl",
  322. "explain":"图标路径",
  323. "type":"String"
  324. },{
  325. "name":"tableName",
  326. "explain":"数据来源表名称",
  327. "type":"String"
  328. }
  329. ]},
  330. "outputParamExample": {
  331. "total": 2,
  332. "code": 200,
  333. "message": "成功",
  334. "content": [
  335. {
  336. "lineColor": "#000000",
  337. "title": "工程项目",
  338. "type": 1,
  339. "content": "工程项目基本信息",
  340. "lineWidth": 2.0,
  341. "tableName": "t_gcxmgl_gcxmjbxx",
  342. "fillColor": "#14C4F9",
  343. "alpha": 1.0,
  344. "threeId": "0036",
  345. "iconUrl": "/image/HBZJYZT/fangdichankaifaqiye.svg",
  346. "id": 1,
  347. "geometryType": "Point"
  348. },
  349. {
  350. "title": "yghj",
  351. "type": 1,
  352. "content": "345456fgfvhj",
  353. "lineWidth": 2.0,
  354. "tableName": "yyhhjj",
  355. "fillColor": "#007EFF",
  356. "alpha": 1.0,
  357. "threeId": "456",
  358. "iconUrl": "/image/HBZJYZT/jianshedanweifenhuyanshou.svg",
  359. "id": 61,
  360. "geometryType": "Point"
  361. }
  362. ]
  363. }
  364. }
  365. }
  366. ]
  367. },
  368. {
  369. "title":"内容数据接口",
  370. "children":[
  371. {
  372. "name":"根据id查询内容数据",
  373. "detail":{
  374. "url":"/metadata/model/selectById",
  375. "describe":"根据id查询内容数据",
  376. "requestMehod":"POST",
  377. "requestHeader":[
  378. {
  379. "name":"token",
  380. "explain":"用户验证所需token",
  381. "type":"string",
  382. "must":"是"
  383. }
  384. ],
  385. "inputParam":[
  386. {
  387. "name":"modelId",
  388. "explain":"图层ID",
  389. "type":"string",
  390. "must":"是"
  391. },
  392. {
  393. "name":"id",
  394. "explain":"内容ID",
  395. "type":"string",
  396. "must":"是"
  397. }
  398. ],
  399. "inputParamExample":{
  400. },
  401. "outputParam":{
  402. "response":[
  403. {
  404. "name":"code",
  405. "explain":"响应状态码",
  406. "type":"number"
  407. },
  408. {
  409. "name":"content",
  410. "explain":"响应内容",
  411. "type":"number"
  412. },
  413. {
  414. "name":"message",
  415. "explain":"响应状态描述",
  416. "type":"number"
  417. },
  418. {
  419. "name":"total",
  420. "explain":"响应返回数据条数",
  421. "type":"number"
  422. }
  423. ],
  424. "content":[
  425. {
  426. "name":"title",
  427. "explain":"标题数据名称",
  428. "type":"String"
  429. },{
  430. "name":"areaCode",
  431. "explain":"行政区划",
  432. "type":"String"
  433. },{
  434. "name":"centerLon",
  435. "explain":"中心点经度",
  436. "type":"Double"
  437. },{
  438. "name":"centerLat",
  439. "explain":"中心点纬度",
  440. "type":"Double"
  441. },{
  442. "name":"tableName",
  443. "explain":"数据来源表名称",
  444. "type":"String"
  445. }
  446. ]
  447. },
  448. "outputParamExample":
  449. {
  450. "code": 200,
  451. "message": "成功",
  452. "content": {
  453. "updateDate": 1637911102000,
  454. "insertType": 1,
  455. "modelId": 24,
  456. "centerLon": 114.307579,
  457. "jsonStr": "[{\"unit\":\" \",\"name\":\"地址\",\"value\":\"石家庄市鹿泉区向阳大街北段\"},{\"unit\":\"(㎡)\",\"name\":\"建筑供热面积\",\"value\":\"0\"},{\"unit\":\"(㎡)\",\"name\":\"实际公建供热面积\",\"value\":\"813715\"},{\"unit\":\"(㎡)\",\"name\":\"实际居建供热面积\",\"value\":\"2795331\"},{\"unit\":\" \",\"name\":\"服务电话\",\"value\":\"1\"},{\"unit\":\"(户)\",\"name\":\"热计量监测数量\",\"value\":\"445\"},{\"unit\":\"(户)\",\"name\":\"实际热用户总数\",\"value\":\"0\"},{\"unit\":\" \",\"name\":\"供热企业简称\",\"value\":\"鹿泉二处\"}]",
  458. "modelType": 3,
  459. "richText": "null",
  460. "title": "石家庄市鹿泉区集中供热管理二处",
  461. "type": 0,
  462. "userId": 9,
  463. "content": "鹿泉二处",
  464. "tableName": "\"CXJSGL\".\"T_ZTQ_CXJSGL_VIEW_JCSJ_QIYE\"",
  465. "areaCode": "130110000000",
  466. "extend3": "null",
  467. "extend2": "null",
  468. "threeId": "2",
  469. "extend1": "null",
  470. "locations": "null",
  471. "centerLat": 38.094127,
  472. "id": 2133,
  473. "createDate": 1637911102000
  474. }
  475. }
  476. }
  477. },
  478. {
  479. "name":"根据modelID查询内容数据",
  480. "detail": {
  481. "url": "/metadata/content/selectByModelId",
  482. "describe": "根据modelID查询内容数据",
  483. "requestMehod": "POST",
  484. "requestHeader": [{
  485. "name":"token",
  486. "explain":"用户验证所需token",
  487. "type":"string",
  488. "must":"是"
  489. }],
  490. "inputParam": [{
  491. "name":"modelId",
  492. "explain":"图层ID",
  493. "type":"string",
  494. "must":"是"
  495. },
  496. {
  497. "name":"pageSize",
  498. "explain":"每页条数(分页)",
  499. "type":"int",
  500. "must":"是"
  501. },
  502. {
  503. "name":"page",
  504. "explain":"第几页(分页)",
  505. "type":"int",
  506. "must":"是"
  507. }],
  508. "inputParamExample": {},
  509. "outputParam": {"response":[
  510. {
  511. "name":"code",
  512. "explain":"响应状态码",
  513. "type":"number"
  514. },
  515. {
  516. "name":"content",
  517. "explain":"响应内容",
  518. "type":"number"
  519. },
  520. {
  521. "name":"message",
  522. "explain":"响应状态描述",
  523. "type":"number"
  524. },
  525. {
  526. "name":"total",
  527. "explain":"响应返回数据条数",
  528. "type":"number"
  529. }
  530. ],
  531. "content":[
  532. {
  533. "name":"title",
  534. "explain":"标题数据名称",
  535. "type":"String"
  536. },{
  537. "name":"centerLon",
  538. "explain":"中心点经度",
  539. "type":"Double"
  540. },{
  541. "name":"centerLat",
  542. "explain":"中心点纬度",
  543. "type":"Double"
  544. },{
  545. "name":"content",
  546. "explain":"地址",
  547. "type":"String"
  548. },{
  549. "name":"tableName",
  550. "explain":"数据来源表名称",
  551. "type":"String"
  552. }
  553. ]},
  554. "outputParamExample": {"total":100,"code":200,"message":"成功","content":[{"modelId":14,"centerLon":114.503499,"title":"新型建材(非自管站)","type":0,"content":"光华路","tableName":"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN","locations":"null","centerLat":38.057798,"id":2032},{"modelId":14,"centerLon":114.497683,"title":"中基地产北区小站","type":0,"content":"平安北大街67号中基礼域小区","tableName":"T_ZTQ_CXJSGL_VIEW_JCSJ_RELIZHAN","locations":"null","centerLat":38.052498,"id":2033}]}
  555. }
  556. },
  557. {
  558. "name":"上传excel文件到指定图层下的内容数据",
  559. "detail": {
  560. "url": "/metadata/content/addDataForExcel",
  561. "describe": "上传excel文件到指定图层下的内容数据",
  562. "requestMehod": "POST",
  563. "requestHeader": [{
  564. "name":"token",
  565. "explain":"用户验证所需token",
  566. "type":"string",
  567. "must":"是"
  568. }],
  569. "inputParam": [{
  570. "name":"titlePara",
  571. "explain":"标题所在列名",
  572. "type":"string",
  573. "must":"是"
  574. },
  575. {
  576. "name":"contentPara",
  577. "explain":"描述所在列名",
  578. "type":"string",
  579. "must":"是"
  580. },
  581. {
  582. "name":"modelId",
  583. "explain":"模型id",
  584. "type":"int",
  585. "must":"是"
  586. },
  587. {
  588. "name":"lonPara",
  589. "explain":"经度所在列名",
  590. "type":"string",
  591. "must":"是"
  592. },
  593. {
  594. "name":"latPara",
  595. "explain":"纬度所在列名",
  596. "type":"string",
  597. "must":"是"
  598. },
  599. {
  600. "name":"type",
  601. "explain":"与模型geomType保持一致;类型0 点;1 线; 2 面;3 点集;4 线集;5 面集;",
  602. "type":"int",
  603. "must":"是"
  604. },
  605. {
  606. "name":"areaCodePara",
  607. "explain":"行政区划所在列名",
  608. "type":"string",
  609. "must":"否"
  610. },
  611. {
  612. "name":"threeIdPara",
  613. "explain":"第三方主键id所在列名",
  614. "type":"string",
  615. "must":"是"
  616. },
  617. {
  618. "name":"jsonStrPara",
  619. "explain":"业务数据,可以输入多个列名,使用jsonArray格式",
  620. "type":"string",
  621. "must":"是"
  622. },
  623. {
  624. "name":"tableName",
  625. "explain":"第三方表名",
  626. "type":"string",
  627. "must":"是"
  628. },
  629. {
  630. "name":"file",
  631. "explain":"上传的数据文件",
  632. "type":"file",
  633. "must":"是"
  634. }],
  635. "inputParamExample": {},
  636. "outputParam": [{
  637. "name":"code",
  638. "explain":"响应状态码",
  639. "type":"number"
  640. },
  641. {
  642. "name":"content",
  643. "explain":"响应内容",
  644. "type":"number"
  645. },
  646. {
  647. "name":"message",
  648. "explain":"响应状态描述",
  649. "type":"number"
  650. }],
  651. "outputParamExample": {"code":200,"message":"完成","content":"完成"}
  652. }
  653. },
  654. {
  655. "name":"上传geojson到指定图层下的内容数据",
  656. "detail": {
  657. "url": "/metadata/content/addDataForGeojson",
  658. "describe": "上传geojson到指定图层下的内容数据",
  659. "requestMehod": "POST",
  660. "requestHeader": [{
  661. "name":"token",
  662. "explain":"用户验证所需token",
  663. "type":"string",
  664. "must":"是"
  665. }],
  666. "inputParam": [{
  667. "name":"tableName",
  668. "explain":"表名称",
  669. "type":"string",
  670. "must":"否"
  671. },
  672. {
  673. "name":"titlePara",
  674. "explain":"properties中的某个可以用作title的字段名称",
  675. "type":"string",
  676. "must":"是"
  677. },
  678. {
  679. "name":"contentPara",
  680. "explain":"properties中的某个可以用作content的字段名称",
  681. "type":"string",
  682. "must":"是"
  683. },
  684. {
  685. "name":"modelId",
  686. "explain":"模型id,添加前需要先创建模型",
  687. "type":"string",
  688. "must":"是"
  689. },
  690. {
  691. "name":"file",
  692. "explain":"上传的数据文件",
  693. "type":"file",
  694. "must":"是"
  695. }],
  696. "inputParamExample": {},
  697. "outputParam": [{
  698. "name":"code",
  699. "explain":"响应状态码",
  700. "type":"number"
  701. },
  702. {
  703. "name":"content",
  704. "explain":"响应内容",
  705. "type":"number"
  706. },
  707. {
  708. "name":"message",
  709. "explain":"响应状态描述",
  710. "type":"number"
  711. }],
  712. "outputParamExample": {"code":200,"message":"成功","content":"成功"}
  713. }
  714. },
  715. {
  716. "name":"上传shape文件zip格式压缩包到指定图层下的内容数据",
  717. "detail": {
  718. "url": "/metadata/content/addDataForShapeZip",
  719. "describe": "上传shape文件zip格式压缩包到指定图层下的内容数据",
  720. "requestMehod": "POST",
  721. "requestHeader": [{
  722. "name":"token",
  723. "explain":"用户验证所需token",
  724. "type":"string",
  725. "must":"是"
  726. }],
  727. "inputParam": [{
  728. "name":"titlePara",
  729. "explain":"properties中的某个可以用作title的字段名称",
  730. "type":"string",
  731. "must":"是"
  732. },
  733. {
  734. "name":"contentPara",
  735. "explain":"properties中的某个可以用作content的字段名称",
  736. "type":"string",
  737. "must":"是"
  738. },
  739. {
  740. "name":"modelId",
  741. "explain":"模型id,添加前需要先创建模型",
  742. "type":"string",
  743. "must":"是"
  744. },
  745. {
  746. "name":"file",
  747. "explain":"上传的数据文件",
  748. "type":"file",
  749. "must":"是"
  750. }],
  751. "inputParamExample": {},
  752. "outputParam": [{
  753. "name":"code",
  754. "explain":"响应状态码",
  755. "type":"number"
  756. },
  757. {
  758. "name":"content",
  759. "explain":"响应内容",
  760. "type":"number"
  761. },
  762. {
  763. "name":"message",
  764. "explain":"响应状态描述",
  765. "type":"number"
  766. }],
  767. "outputParamExample": {"code":200,"message":"成功","content":"成功"}
  768. }
  769. }
  770. ]
  771. }
  772. ]