Commit 519d8e14 authored by zhuwei's avatar zhuwei

搜索订单 搜全部

parent bbb07bb6
......@@ -8,6 +8,7 @@ use app\api_broker\extend\Basic;
use app\api_broker\service\HouseNumUpdateService;
use app\api_broker\service\OrderLogService;
use app\api_broker\service\PushMessageService;
use app\api_broker\service\ReportService;
use app\api_broker\service\VerifyRepetitionService;
use app\api_broker\service\VipService;
use app\extra\RedisExt;
......@@ -558,11 +559,11 @@ class OrderLog extends Basic
try {
$result = [];
if(isset($params["is_all"]) && $params["is_all"] == 1){
$vip = new VipService();
$check = $vip->vip($this->agentId, 'index/inspectionRecordAll');
if ($check) {
return $this->response(101, "暂无权限");
}
// $s_report = new ReportService();
// $check_type = $s_report->getCheckType($this->agentId);
// if ($check_type == 0) {
// return $this->response(101, "暂无权限");
// }
$result = $this->service_->getSearchOrderByAll($params,$pageNo,$pageSize);
}else{
$result = $this->service_->getSearchOrder($params,$pageNo,$pageSize);
......
......@@ -137,17 +137,6 @@ class Report extends Basic
}
$result = $this->service_->orderListAll($field, $params, $pageNo, $pageSize,$check_type);
}else{
$result = $this->service_->orderList($field, $params, $pageNo, $pageSize);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment