禁止用户端检索服务团队
This commit is contained in:
parent
34d3408944
commit
ea3d5f95f0
@ -27,6 +27,7 @@ use crmeb\basic\BaseController;
|
||||
use app\common\repositories\system\merchant\MerchantRepository as repository;
|
||||
use think\facade\Db;
|
||||
use think\facade\Queue;
|
||||
use app\common\model\system\merchant\Merchant as MerchantModel;
|
||||
|
||||
class Merchant extends BaseController
|
||||
{
|
||||
@ -54,6 +55,7 @@ class Merchant extends BaseController
|
||||
{
|
||||
[$page, $limit] = $this->getPage();
|
||||
$where = $this->request->params(['keyword', 'order', 'is_best', 'location', 'category_id', 'type_id','is_trader', 'street_id']);
|
||||
$where['type_id'] = [MerchantModel::TypeCloudWarehouse, MerchantModel::TypeStore, MerchantModel::TypeSupplyChain, MerchantModel::TypePlatform];
|
||||
return app('json')->success($this->repository->getList($where, $page, $limit, $this->userInfo));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user