Commit 9fea8cdc by mushishixian

fix

parent f32fa520
Showing with 2 additions and 2 deletions
...@@ -224,7 +224,7 @@ class SupplierController extends Controller ...@@ -224,7 +224,7 @@ class SupplierController extends Controller
$supplier = $transformer->transformInfo($supplier); $supplier = $transformer->transformInfo($supplier);
$this->data['supplier'] = $supplier; $this->data['supplier'] = $supplier;
$intracodeModel = new IntracodeModel(); $intracodeModel = new IntracodeModel();
$this->data['userCodes'] = $intracodeModel->getChannelUsersEncode(); $this->data['userCodes'] = $intracodeModel->getChannelUsersEncode(false);
$logModel = new LogModel(); $logModel = new LogModel();
$this->data['logs'] = $logModel->where('supplier_id', $supplierId) $this->data['logs'] = $logModel->where('supplier_id', $supplierId)
->where('action', '分配渠道开发员')->orderBy('id', 'desc') ->where('action', '分配渠道开发员')->orderBy('id', 'desc')
...@@ -244,7 +244,7 @@ class SupplierController extends Controller ...@@ -244,7 +244,7 @@ class SupplierController extends Controller
$suppliers = $transformer->transformList($suppliers); $suppliers = $transformer->transformList($suppliers);
$this->data['suppliers'] = $suppliers; $this->data['suppliers'] = $suppliers;
$intracodeModel = new IntracodeModel(); $intracodeModel = new IntracodeModel();
$this->data['userCodes'] = $intracodeModel->getChannelUsersEncode(); $this->data['userCodes'] = $intracodeModel->getChannelUsersEncode(false);
return $this->view('批量分配渠道开发员'); return $this->view('批量分配渠道开发员');
} }
......
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 sign in to comment