Commit 54a7f233 authored by hujun's avatar hujun

index/

parent 96fa9ac3
...@@ -372,15 +372,15 @@ class ReportService ...@@ -372,15 +372,15 @@ class ReportService
public function getCheckType($agent_id) public function getCheckType($agent_id)
{ {
$vip = new VipService(); $vip = new VipService();
if($vip->vip($agent_id, 'inspectionRecordAll/3')){//代表公司 if($vip->vip($agent_id, 'index/inspectionRecordAll/3')){//代表公司
return 1; return 1;
} }
if($vip->vip($agent_id, 'inspectionRecordDistrict/2')){//代表部门 if($vip->vip($agent_id, 'index/inspectionRecordDistrict/2')){//代表部门
return 2; return 2;
} }
if($vip->vip($agent_id, 'inspectionRecordStore/1')){//代表门店 if($vip->vip($agent_id, 'index/inspectionRecordStore/1')){//代表门店
return 3; return 3;
} }
return 0; return 0;
......
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