Authored by 马力

Merge branch 'hotfix_店铺商品分类性能优化_1114' into grey

... ... @@ -55,6 +55,9 @@ module.exports = function (app){
//店铺销售类目列表
app.post("/shops/shopCategory/list","shopCategory_shopsCategoryList");
//店铺商品分类列表,仅用于装修页面,下拉选择商品分类的场景
app.post("/shops/shopCategory/categoryList", "shopCategory_selectCategoryList");
//新增店铺销售类目
app.post("/shops/shopCategory/add","shopCategory_insertShopsAndLinkCategory");
... ...
... ... @@ -25,6 +25,14 @@ module.exports={
]
},
selectCategoryList:{
title:"店铺商品分类列表,仅用于装修页面,下拉选择商品分类场景",
url:"/ShopsSalesCategoryRest/selectCategoryList",
params:[
{name:"shopId",type:"Number"}
]
},
insertShopsAndLinkCategory:{
title:"新增店铺销售类目",
url:"/ShopsSalesCategoryRest/insertShopsAndLinkCategory",
... ...
... ... @@ -330,7 +330,7 @@ function findDecoration(){
//Ajax查询店铺下销售类目
function findShopCategory() {
common.util.__ajax({
url:'/shops/shopCategory/list',
url:'/shops/shopCategory/categoryList',
data: {
shopId: jsonMain.shopsId
}
... ...