quanwei
2 days ago 73b874c72ad55eb9eef21c36160ac0de58f0189e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
 
namespace app\api\controller\branch\admin;
 
use app\api\model\branch\Category as CategoryModel;
use app\api\controller\Controller;
/**
 * 活动分类
 */
class Category extends Controller
{
    /**
     * 商户列表
     */
    public function lists()
    {
        $list = (new CategoryModel)::getALL();
        return $this->renderSuccess('', compact('list'));
    }   
}