模板列表

image.png

请求地址:/api/homePageTemplate/listHomePageTemplate
请求方式:get
入参:

回参:

  1. {
  2. "resultCode": "0",
  3. "resultMsg": "SUCCESS",
  4. "resultData": [
  5. {
  6. "templateId": "1397179293673664514",
  7. "templateName": "4模4板测试",
  8. "templateDesc": null,
  9. "createTime": null,
  10. "updateTime": null,
  11. "templateContent": "{\"templateId\":\"1397179293673664514\",\"theme\":\"blue\",\"templateName\":\"4模4板测试\",\"status\":0,\"platform\":[{\"label\":\"5G商城·云网商城\",\"value\":\"1\"}],\"moduleList\":[{\"moduleCode\":\"模块名称\",\"sort\":0,\"anchor\":{\"show\":true,\"title\":\"左侧电梯导航中的模块名称\"},\"contentAttrs\":[{}],\"displayAttrs\":[{}]}]}",
  12. "statusCd": null,
  13. "platformName": null,
  14. "platform": [
  15. {
  16. "label": "云网商城",
  17. "value": "1001"
  18. },
  19. {
  20. "label": "5G商城",
  21. "value": "1002"
  22. }
  23. ],
  24. "templateContentMap": null,
  25. "createTimeStr": "2021-05-25 21:14:37"
  26. }
  27. ],
  28. "resultMsgCode": null
  29. }

平台列表

image.png

入参:/api/mallPlatform/listMallPlatformMap
请求方式:get
回参:

  1. {
  2. "resultCode": "0",
  3. "resultMsg": "SUCCESS",
  4. "resultData": [
  5. {
  6. "label": "云网商城",
  7. "value": "1001"
  8. },
  9. {
  10. "label": "5G商城",
  11. "value": "1002"
  12. }
  13. ],
  14. "resultMsgCode": null
  15. }

新增模板

请求地址 /api/homePageTemplate/saveHomePageTemplate
请求方式 post

入参:

  1. {
  2. "templateName":"5G商城"
  3. }

回参:

  1. {
  2. "resultCode": "0",
  3. "resultMsg": "SUCCESS",
  4. "resultData": {
  5. "templateId": "1397468234507268097",
  6. "templateName": "5G商城",
  7. "templateDesc": null,
  8. "createTime": 1622017365464,
  9. "updateTime": null,
  10. "templateContent": null,
  11. "statusCd": 1000,
  12. "platformName": null,
  13. "platform": null,
  14. "templateContentMap": null,
  15. "createTimeStr": "2021-05-26 16:22:45"
  16. },
  17. "resultMsgCode": null
  18. }

模板投放平台

请求地址 /api/mallPlatform/updateMallPlatformTemp
请求方式 post

入参:

  1. {
  2. "templateId":"",
  3. "platformIds":[]
  4. }

删除模板

请求地址 /api/homePageTemplate/removeHomePageTemplate
请求方式 post

入参:

  1. {
  2. "templateId":1,
  3. }

保存模板名称

请求地址:/api/homePageTemplate/updateHomePageTemplate
请求方式:post
入参:

  1. {
  2. "templateId": 1,
  3. "templateName": "名称名称"
  4. }

保存模板投放的平台

请求地址:/api/mallPlatform/updateMallPlatformTemp
请求方式:post
入参:

  1. {
  2. "templateId":"1397179293673664514",
  3. "platformIds":["1001","1002"]
  4. }

复制模板

请求地址 /api/homePageTemplate/copyHomePageTemplate/{templateId}
请求方式 get

回参:

  1. {
  2. "resultCode": "0",
  3. "resultMsg": "SUCCESS",
  4. "resultData": {
  5. "createTime": 1622010349003,
  6. "templateName": "4模4板测试",
  7. "templateDesc": null,
  8. "templateContent": "eyJ0ZW1wbGF0ZUlkIjoiMTM5NzE3OTI5MzY3MzY2NDUxNCIsInRoZW1lIjoiYmx1ZSIsInRlbXBsYXRlTmFtZSI6IjTmqKE05p2/5rWL6K+VIiwic3RhdHVzIjowLCJwbGF0Zm9ybSI6W3sibGFiZWwiOiI1R+WVhuWfjsK35LqR572R5ZWG5Z+OIiwidmFsdWUiOiIxIn1dLCJtb2R1bGVMaXN0IjpbeyJtb2R1bGVDb2RlIjoi5qih5Z2X5ZCN56ewIiwic29ydCI6MCwiYW5jaG9yIjp7InNob3ciOnRydWUsInRpdGxlIjoi5bem5L6n55S15qKv5a+86Iiq5Lit55qE5qih5Z2X5ZCN56ewIn0sImNvbnRlbnRBdHRycyI6W3t9XSwiZGlzcGxheUF0dHJzIjpbe31dfV19",
  9. "updateTime": null,
  10. "statusCd": 1000,
  11. "templateId": "1397438805647212546",
  12. "createTimeStr": "2021-05-25 21:14:37"
  13. },
  14. "resultMsgCode": null
  15. }

商品列表

请求地址 /api/offer/pageCond
请求方式 post

入参

  1. {
  2. "pageNo": 1,
  3. "pageSize": 5,
  4. "offerName":"云服务", // 商品名称
  5. "offerLabels":"云服务", // 商品标签
  6. "offerBusiType":"1000" // 业务类型 ATTR_NBR -> OFF-1001
  7. }

回参

  1. {
  2. "resultCode": "0",
  3. "resultMsg": "SUCCESS",
  4. "resultData": {
  5. "records": [
  6. {
  7. "offerId": "755803354",
  8. "offerName": "弹性云服务器",
  9. "offerNbr": "O-1-1-10001",
  10. "offerSysNbr": "O-1-1-10001",
  11. "createDate": "2021-01-10 21:19:24",
  12. "createStaff": "3044336",
  13. "updateDate": "2021-01-10 21:19:28",
  14. "effDate": "2021-03-10 16:14:56",
  15. "expDate": "2021-03-10 16:14:41",
  16. "mktPrice": null,
  17. "offerCatId": "1242732599333380097",
  18. "offerCatName": "弹性计算",
  19. "compositionType": null,
  20. "marketEnable": "2",
  21. "offerLabels": "云服务",
  22. "offerDesc": "通过虚拟化技术整合IT资源,为用户提供可按需使用的计算资源服务,帮助用户更为快速和灵 活的构建应用。用户可以根据需求选择不同的CPU、内存、操作系统、存储和网络规格。",
  23. "offerBtns": null,
  24. "files": null,
  25. "priceReference": null,
  26. "offerBusiType": "1000",
  27. "offerType": "11",
  28. "offerCompType": "1100",
  29. "offerBusiTypeName": "云业务"
  30. }
  31. ],
  32. "total": "1",
  33. "size": "5",
  34. "current": "1",
  35. "orders": [],
  36. "optimizeCountSql": true,
  37. "hitCount": false,
  38. "countId": null,
  39. "maxLimit": null,
  40. "searchCount": true,
  41. "pages": "1"
  42. },
  43. "resultMsgCode": null
  44. }

合作伙伴列表查询

请求地址 /api/partnerConfig/pagePartnerConfigHome
请求方式 post

入参

  1. {
  2. "pageNo": 1,
  3. "pageSize": 5,
  4. "partnerName":"1"
  5. }

回参

  1. {
  2. "resultCode": "0",
  3. "resultMsg": "SUCCESS",
  4. "resultData": {
  5. "records": [
  6. {
  7. "partnerId": "1396800798658183169",
  8. "partnerName": "1",
  9. "partnerDesc": null,
  10. "partnerLogo": "1",
  11. "partnerUrl": null,
  12. "platformCode": null,
  13. "partnerSort": null,
  14. "createTime": null,
  15. "updateTime": null,
  16. "createStaff": null,
  17. "statusCd": null
  18. },
  19. {
  20. "partnerId": "1396800867335716865",
  21. "partnerName": "1",
  22. "partnerDesc": null,
  23. "partnerLogo": "1",
  24. "partnerUrl": null,
  25. "platformCode": null,
  26. "partnerSort": null,
  27. "createTime": null,
  28. "updateTime": null,
  29. "createStaff": null,
  30. "statusCd": null
  31. },
  32. {
  33. "partnerId": "1396800861778264065",
  34. "partnerName": "1",
  35. "partnerDesc": null,
  36. "partnerLogo": "1",
  37. "partnerUrl": null,
  38. "platformCode": null,
  39. "partnerSort": null,
  40. "createTime": null,
  41. "updateTime": null,
  42. "createStaff": null,
  43. "statusCd": null
  44. }
  45. ],
  46. "total": "5",
  47. "size": "5",
  48. "current": "1",
  49. "orders": [],
  50. "optimizeCountSql": true,
  51. "hitCount": false,
  52. "countId": null,
  53. "maxLimit": null,
  54. "searchCount": true,
  55. "pages": "1"
  56. },
  57. "resultMsgCode": null
  58. }

菜单搜索

请求地址 /api/catalogRel/listCatalogRels
请求方式 post

入参

  1. {
  2. "catalogCode":"OFFER_CAT",
  3. "objName":"云服务器"
  4. }

回参

  1. {
  2. "resultCode": "0",
  3. "resultMsg": "SUCCESS",
  4. "resultData": [
  5. {
  6. "catalogRelId": "4",
  7. "objId": "755803354",
  8. "objName": "弹性云服务器",
  9. "objType": "1001",
  10. "objUri": " ",
  11. "statusCd": 1000,
  12. "createDate": 1622099601000,
  13. "updateDate": 1622099601000,
  14. "objJumpType": null,
  15. "catalogId": "1242732599333380097",
  16. "catalogCode": null
  17. }
  18. ],
  19. "resultMsgCode": null
  20. }

图片上传

请求地址 /api/fileManager/uploadImageByFile
请求方式 post

入参:

  1. {
  2. "cipherText": "IBpANSdDVZKCFpXgHZp9GA=="
  3. "file":
  4. }

回参:

  1. {
  2. "resultCode": "0",
  3. "resultMsg": "SUCCESS",
  4. "resultData": [
  5. {
  6. "fileId": "1399258451846074370",
  7. "path": "M00/00/19/rBVgQmC0iJqANy9fAAByNsbQPq4141.png",
  8. "group": "group1",
  9. "fileUrl": "http://172.21.96.66:18888/group1/M00/00/19/rBVgQmC0iJqANy9fAAByNsbQPq4141.png",
  10. "fullPath": "group1/M00/00/19/rBVgQmC0iJqANy9fAAByNsbQPq4141.png",
  11. "fileName": "desktop.png",
  12. "fileSize": "29238"
  13. }
  14. ],
  15. "resultMsgCode": null
  16. }

商品大厅查询

请求地址 /api/catalog/listOfferHallCatalog
请求方式 post

入参:

  1. {
  2. "catalogCode":"OFFER_CAT",
  3. "objName":""
  4. }

回参:

  1. {
  2. "resultCode": "0",
  3. "resultMsg": "SUCCESS",
  4. "resultData": [
  5. {
  6. "catId": "10002",
  7. "catName": "弹性计算",
  8. "parentCatId": null,
  9. "catPath": null,
  10. "catOrder": null,
  11. "catLevel": null,
  12. "isRecommend": null,
  13. "typeId": null,
  14. "isDisplay": null,
  15. "description": null,
  16. "platformCode": null,
  17. "catalogType": null,
  18. "catalogCode": null,
  19. "jumpType": null,
  20. "jumpUrl": null,
  21. "imageUrl": null,
  22. "children": [],
  23. "offers": [
  24. {
  25. "offerId": "755803354",
  26. "offerName": "弹性云服务器",
  27. "offerNbr": null,
  28. "offerDesc": "通过虚拟化技术整合IT资源,为用户提供可按需使用的计算资源服务,帮助用户更为快速和灵 活的构建应用。用户可以根据需求选择不同的CPU、内存、操作系统、存储和网络规格。",
  29. "offerLabels": "云服务",
  30. "offerSysNbr": null,
  31. "brandId": null,
  32. "typeId": null,
  33. "offerCatId": null,
  34. "goodsCatId": null,
  35. "marketEnable": null,
  36. "viewCount": null,
  37. "buyCount": null,
  38. "auditState": null,
  39. "searchKey": null,
  40. "sellingPoint": null,
  41. "effDate": null,
  42. "expDate": null,
  43. "sourceFrom": null,
  44. "mktPrice": null,
  45. "discountPrice": null,
  46. "tenantId": null
  47. }
  48. ],
  49. "offersSize": 1,
  50. "fileUrl": null,
  51. "mounts": null,
  52. "catDeep": null,
  53. "createDate": "2021-05-27 10:32:59"
  54. },
  55. {
  56. "catId": "10001",
  57. "catName": "云基础产品",
  58. "parentCatId": null,
  59. "catPath": null,
  60. "catOrder": null,
  61. "catLevel": null,
  62. "isRecommend": null,
  63. "typeId": null,
  64. "isDisplay": null,
  65. "description": null,
  66. "platformCode": null,
  67. "catalogType": null,
  68. "catalogCode": null,
  69. "jumpType": null,
  70. "jumpUrl": null,
  71. "imageUrl": null,
  72. "children": [],
  73. "offers": [
  74. {
  75. "offerId": "755803355",
  76. "offerName": "云专线",
  77. "offerNbr": null,
  78. "offerDesc": "云专线基于中国移动的基础网络资源,为用户提供安全、可靠、稳定、高速的私网入云产品,通过物理专线实现企业自有数据中心快速接通云上资源,部署灵活简便,网络优质可靠。",
  79. "offerLabels": "云服务",
  80. "offerSysNbr": null,
  81. "brandId": null,
  82. "typeId": null,
  83. "offerCatId": null,
  84. "goodsCatId": null,
  85. "marketEnable": null,
  86. "viewCount": null,
  87. "buyCount": null,
  88. "auditState": null,
  89. "searchKey": null,
  90. "sellingPoint": null,
  91. "effDate": null,
  92. "expDate": null,
  93. "sourceFrom": null,
  94. "mktPrice": null,
  95. "discountPrice": null,
  96. "tenantId": null
  97. }
  98. ],
  99. "offersSize": 1,
  100. "fileUrl": null,
  101. "mounts": null,
  102. "catDeep": null,
  103. "createDate": "2021-05-28 10:32:59"
  104. }
  105. ],
  106. "resultMsgCode": null
  107. }