Cate.php 355 B

1234567891011121314151617181920
  1. <?php
  2. namespace app\api\controller\v1;
  3. use app\api\controller\Base;
  4. use app\hander\HelpHander;
  5. use think\App;
  6. use think\Db;
  7. use think\exception\Handle;
  8. class Cate extends Base
  9. {
  10. public function cateList(){
  11. $model = new \app\common\model\Cate();
  12. $ret = $model->getAllByOrg($this->orgId);
  13. HelpHander::success($ret);
  14. }
  15. }