File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web
litemall-wx/pages/catalog Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,10 @@ public class WxCatalogController {
3636 * @param id 分类类目ID。
3737 * 如果分类类目ID是空,则选择第一个分类类目。
3838 * 需要注意,这里分类类目是一级类目
39- * @param page 分页页数
40- * @param size 分页大小
4139 * @return 分类详情
4240 */
4341 @ GetMapping ("index" )
44- public Object index (Integer id ,
45- @ RequestParam (defaultValue = "1" ) Integer page ,
46- @ RequestParam (defaultValue = "10" ) Integer size ) {
42+ public Object index (Integer id ) {
4743
4844 // 所有一级分类目录
4945 List <LitemallCategory > l1CatList = categoryService .queryL1 ();
Original file line number Diff line number Diff line change @@ -65,15 +65,6 @@ Page({
6565 onUnload : function ( ) {
6666 // 页面关闭
6767 } ,
68- getList : function ( ) {
69- var that = this ;
70- util . request ( api . ApiRootUrl + 'api/catalog/' + that . data . currentCategory . catId )
71- . then ( function ( res ) {
72- that . setData ( {
73- categoryList : res . data ,
74- } ) ;
75- } ) ;
76- } ,
7768 switchCate : function ( event ) {
7869 var that = this ;
7970 var currentTarget = event . currentTarget ;
You can’t perform that action at this time.
0 commit comments