模板列表
请求地址:/api/homePageTemplate/listHomePageTemplate
请求方式:get
入参:
回参:
{
"resultCode": "0",
"resultMsg": "SUCCESS",
"resultData": [
{
"templateId": "1397179293673664514",
"templateName": "4模4板测试",
"templateDesc": null,
"createTime": null,
"updateTime": null,
"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\":[{}]}]}",
"statusCd": null,
"platformName": null,
"platform": [
{
"label": "云网商城",
"value": "1001"
},
{
"label": "5G商城",
"value": "1002"
}
],
"templateContentMap": null,
"createTimeStr": "2021-05-25 21:14:37"
}
],
"resultMsgCode": null
}
平台列表
入参:/api/mallPlatform/listMallPlatformMap
请求方式:get
回参:
{
"resultCode": "0",
"resultMsg": "SUCCESS",
"resultData": [
{
"label": "云网商城",
"value": "1001"
},
{
"label": "5G商城",
"value": "1002"
}
],
"resultMsgCode": null
}
新增模板
请求地址 | /api/homePageTemplate/saveHomePageTemplate |
---|---|
请求方式 | post |
入参:
{
"templateName":"5G商城"
}
回参:
{
"resultCode": "0",
"resultMsg": "SUCCESS",
"resultData": {
"templateId": "1397468234507268097",
"templateName": "5G商城",
"templateDesc": null,
"createTime": 1622017365464,
"updateTime": null,
"templateContent": null,
"statusCd": 1000,
"platformName": null,
"platform": null,
"templateContentMap": null,
"createTimeStr": "2021-05-26 16:22:45"
},
"resultMsgCode": null
}
模板投放平台
请求地址 | /api/mallPlatform/updateMallPlatformTemp |
---|---|
请求方式 | post |
入参:
{
"templateId":"",
"platformIds":[]
}
删除模板
请求地址 | /api/homePageTemplate/removeHomePageTemplate |
---|---|
请求方式 | post |
入参:
{
"templateId":1,
}
保存模板名称
请求地址:/api/homePageTemplate/updateHomePageTemplate
请求方式:post
入参:
{
"templateId": 1,
"templateName": "名称名称"
}
保存模板投放的平台
请求地址:/api/mallPlatform/updateMallPlatformTemp
请求方式:post
入参:
{
"templateId":"1397179293673664514",
"platformIds":["1001","1002"]
}
复制模板
请求地址 | /api/homePageTemplate/copyHomePageTemplate/{templateId} |
---|---|
请求方式 | get |
回参:
{
"resultCode": "0",
"resultMsg": "SUCCESS",
"resultData": {
"createTime": 1622010349003,
"templateName": "4模4板测试",
"templateDesc": null,
"templateContent": "eyJ0ZW1wbGF0ZUlkIjoiMTM5NzE3OTI5MzY3MzY2NDUxNCIsInRoZW1lIjoiYmx1ZSIsInRlbXBsYXRlTmFtZSI6IjTmqKE05p2/5rWL6K+VIiwic3RhdHVzIjowLCJwbGF0Zm9ybSI6W3sibGFiZWwiOiI1R+WVhuWfjsK35LqR572R5ZWG5Z+OIiwidmFsdWUiOiIxIn1dLCJtb2R1bGVMaXN0IjpbeyJtb2R1bGVDb2RlIjoi5qih5Z2X5ZCN56ewIiwic29ydCI6MCwiYW5jaG9yIjp7InNob3ciOnRydWUsInRpdGxlIjoi5bem5L6n55S15qKv5a+86Iiq5Lit55qE5qih5Z2X5ZCN56ewIn0sImNvbnRlbnRBdHRycyI6W3t9XSwiZGlzcGxheUF0dHJzIjpbe31dfV19",
"updateTime": null,
"statusCd": 1000,
"templateId": "1397438805647212546",
"createTimeStr": "2021-05-25 21:14:37"
},
"resultMsgCode": null
}
商品列表
请求地址 | /api/offer/pageCond |
---|---|
请求方式 | post |
入参
{
"pageNo": 1,
"pageSize": 5,
"offerName":"云服务", // 商品名称
"offerLabels":"云服务", // 商品标签
"offerBusiType":"1000" // 业务类型 ATTR_NBR -> OFF-1001
}
回参
{
"resultCode": "0",
"resultMsg": "SUCCESS",
"resultData": {
"records": [
{
"offerId": "755803354",
"offerName": "弹性云服务器",
"offerNbr": "O-1-1-10001",
"offerSysNbr": "O-1-1-10001",
"createDate": "2021-01-10 21:19:24",
"createStaff": "3044336",
"updateDate": "2021-01-10 21:19:28",
"effDate": "2021-03-10 16:14:56",
"expDate": "2021-03-10 16:14:41",
"mktPrice": null,
"offerCatId": "1242732599333380097",
"offerCatName": "弹性计算",
"compositionType": null,
"marketEnable": "2",
"offerLabels": "云服务",
"offerDesc": "通过虚拟化技术整合IT资源,为用户提供可按需使用的计算资源服务,帮助用户更为快速和灵 活的构建应用。用户可以根据需求选择不同的CPU、内存、操作系统、存储和网络规格。",
"offerBtns": null,
"files": null,
"priceReference": null,
"offerBusiType": "1000",
"offerType": "11",
"offerCompType": "1100",
"offerBusiTypeName": "云业务"
}
],
"total": "1",
"size": "5",
"current": "1",
"orders": [],
"optimizeCountSql": true,
"hitCount": false,
"countId": null,
"maxLimit": null,
"searchCount": true,
"pages": "1"
},
"resultMsgCode": null
}
合作伙伴列表查询
请求地址 | /api/partnerConfig/pagePartnerConfigHome |
---|---|
请求方式 | post |
入参
{
"pageNo": 1,
"pageSize": 5,
"partnerName":"1"
}
回参
{
"resultCode": "0",
"resultMsg": "SUCCESS",
"resultData": {
"records": [
{
"partnerId": "1396800798658183169",
"partnerName": "1",
"partnerDesc": null,
"partnerLogo": "1",
"partnerUrl": null,
"platformCode": null,
"partnerSort": null,
"createTime": null,
"updateTime": null,
"createStaff": null,
"statusCd": null
},
{
"partnerId": "1396800867335716865",
"partnerName": "1",
"partnerDesc": null,
"partnerLogo": "1",
"partnerUrl": null,
"platformCode": null,
"partnerSort": null,
"createTime": null,
"updateTime": null,
"createStaff": null,
"statusCd": null
},
{
"partnerId": "1396800861778264065",
"partnerName": "1",
"partnerDesc": null,
"partnerLogo": "1",
"partnerUrl": null,
"platformCode": null,
"partnerSort": null,
"createTime": null,
"updateTime": null,
"createStaff": null,
"statusCd": null
}
],
"total": "5",
"size": "5",
"current": "1",
"orders": [],
"optimizeCountSql": true,
"hitCount": false,
"countId": null,
"maxLimit": null,
"searchCount": true,
"pages": "1"
},
"resultMsgCode": null
}
菜单搜索
请求地址 | /api/catalogRel/listCatalogRels |
---|---|
请求方式 | post |
入参
{
"catalogCode":"OFFER_CAT",
"objName":"云服务器"
}
回参
{
"resultCode": "0",
"resultMsg": "SUCCESS",
"resultData": [
{
"catalogRelId": "4",
"objId": "755803354",
"objName": "弹性云服务器",
"objType": "1001",
"objUri": " ",
"statusCd": 1000,
"createDate": 1622099601000,
"updateDate": 1622099601000,
"objJumpType": null,
"catalogId": "1242732599333380097",
"catalogCode": null
}
],
"resultMsgCode": null
}
图片上传
请求地址 | /api/fileManager/uploadImageByFile |
---|---|
请求方式 | post |
入参:
{
"cipherText": "IBpANSdDVZKCFpXgHZp9GA=="
"file":
}
回参:
{
"resultCode": "0",
"resultMsg": "SUCCESS",
"resultData": [
{
"fileId": "1399258451846074370",
"path": "M00/00/19/rBVgQmC0iJqANy9fAAByNsbQPq4141.png",
"group": "group1",
"fileUrl": "http://172.21.96.66:18888/group1/M00/00/19/rBVgQmC0iJqANy9fAAByNsbQPq4141.png",
"fullPath": "group1/M00/00/19/rBVgQmC0iJqANy9fAAByNsbQPq4141.png",
"fileName": "desktop.png",
"fileSize": "29238"
}
],
"resultMsgCode": null
}
商品大厅查询
请求地址 | /api/catalog/listOfferHallCatalog |
---|---|
请求方式 | post |
入参:
{
"catalogCode":"OFFER_CAT",
"objName":""
}
回参:
{
"resultCode": "0",
"resultMsg": "SUCCESS",
"resultData": [
{
"catId": "10002",
"catName": "弹性计算",
"parentCatId": null,
"catPath": null,
"catOrder": null,
"catLevel": null,
"isRecommend": null,
"typeId": null,
"isDisplay": null,
"description": null,
"platformCode": null,
"catalogType": null,
"catalogCode": null,
"jumpType": null,
"jumpUrl": null,
"imageUrl": null,
"children": [],
"offers": [
{
"offerId": "755803354",
"offerName": "弹性云服务器",
"offerNbr": null,
"offerDesc": "通过虚拟化技术整合IT资源,为用户提供可按需使用的计算资源服务,帮助用户更为快速和灵 活的构建应用。用户可以根据需求选择不同的CPU、内存、操作系统、存储和网络规格。",
"offerLabels": "云服务",
"offerSysNbr": null,
"brandId": null,
"typeId": null,
"offerCatId": null,
"goodsCatId": null,
"marketEnable": null,
"viewCount": null,
"buyCount": null,
"auditState": null,
"searchKey": null,
"sellingPoint": null,
"effDate": null,
"expDate": null,
"sourceFrom": null,
"mktPrice": null,
"discountPrice": null,
"tenantId": null
}
],
"offersSize": 1,
"fileUrl": null,
"mounts": null,
"catDeep": null,
"createDate": "2021-05-27 10:32:59"
},
{
"catId": "10001",
"catName": "云基础产品",
"parentCatId": null,
"catPath": null,
"catOrder": null,
"catLevel": null,
"isRecommend": null,
"typeId": null,
"isDisplay": null,
"description": null,
"platformCode": null,
"catalogType": null,
"catalogCode": null,
"jumpType": null,
"jumpUrl": null,
"imageUrl": null,
"children": [],
"offers": [
{
"offerId": "755803355",
"offerName": "云专线",
"offerNbr": null,
"offerDesc": "云专线基于中国移动的基础网络资源,为用户提供安全、可靠、稳定、高速的私网入云产品,通过物理专线实现企业自有数据中心快速接通云上资源,部署灵活简便,网络优质可靠。",
"offerLabels": "云服务",
"offerSysNbr": null,
"brandId": null,
"typeId": null,
"offerCatId": null,
"goodsCatId": null,
"marketEnable": null,
"viewCount": null,
"buyCount": null,
"auditState": null,
"searchKey": null,
"sellingPoint": null,
"effDate": null,
"expDate": null,
"sourceFrom": null,
"mktPrice": null,
"discountPrice": null,
"tenantId": null
}
],
"offersSize": 1,
"fileUrl": null,
"mounts": null,
"catDeep": null,
"createDate": "2021-05-28 10:32:59"
}
],
"resultMsgCode": null
}