You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
18
hyhproject/home/controller/Goodscats.php
Executable file
18
hyhproject/home/controller/Goodscats.php
Executable file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace wstmart\home\controller;
|
||||
use wstmart\common\model\GoodsCats as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 商品分类控制器
|
||||
*/
|
||||
class Goodscats extends Base{
|
||||
/**
|
||||
* 获取列表
|
||||
*/
|
||||
public function listQuery(){
|
||||
$m = new M();
|
||||
$rs = $m->listQuery(input('parentId/d',0));
|
||||
return WSTReturn("", 1,$rs);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user