123456789101112131415161718192021222324 |
- <?php
- namespace app\index\controller;
- use think\exception\ValidateException;
- use app\model\StoreCate;
- use app\model\Config;
- class StorecateController extends Base
- {
- public function list()
- {
- if (!\app\model\Uploadminiprogram::getaudit(input('get.v', '', 'serach_in'))) {
- $where['weid'] = weid();
- $data = StoreCate::where($where)
- ->order('sort asc')
- ->select()
- ->toArray();
- }
- return $this->json(['data' => $data]);
- }
- }
|