Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-portal-fe2
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
马力
2016-11-17 13:53:13 +0800
Commit
c8f047e75c719a1de604ffd52e1229892b9eec3d
2 parents
f96a7f47
0a56d9f8
Merge branch 'hotfix_店铺商品分类性能优化_1114' into grey
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletions
code/apps/shop/controllers/shopCategory.js
code/apps/shop/interfaces/shopCategory.js
code/static/js.jquery/module/shop/Decoration.js
code/apps/shop/controllers/shopCategory.js
View file @
c8f047e
...
...
@@ -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"
);
...
...
code/apps/shop/interfaces/shopCategory.js
View file @
c8f047e
...
...
@@ -25,6 +25,14 @@ module.exports={
]
},
selectCategoryList
:{
title
:
"店铺商品分类列表,仅用于装修页面,下拉选择商品分类场景"
,
url
:
"/ShopsSalesCategoryRest/selectCategoryList"
,
params
:[
{
name
:
"shopId"
,
type
:
"Number"
}
]
},
insertShopsAndLinkCategory
:{
title
:
"新增店铺销售类目"
,
url
:
"/ShopsSalesCategoryRest/insertShopsAndLinkCategory"
,
...
...
code/static/js.jquery/module/shop/Decoration.js
View file @
c8f047e
...
...
@@ -330,7 +330,7 @@ function findDecoration(){
//Ajax查询店铺下销售类目
function
findShopCategory
()
{
common
.
util
.
__ajax
({
url
:
'/shops/shopCategory/
l
ist'
,
url
:
'/shops/shopCategory/
categoryL
ist'
,
data
:
{
shopId
:
jsonMain
.
shopsId
}
...
...
Please
register
or
login
to post a comment