Commit 2ecf7389 by 朱继来

去掉变量

parent 97fb1f12
Showing with 1 additions and 3 deletions
......@@ -780,7 +780,7 @@ Class OrderController extends Controller
$test = $perm->getRoleUsers($request, '测试');
$sale_list = $perm->getRoleUsers($request, '交易员');
$kefu = $perm->getRoleUsers($request, '客服');
$info['manager'] = $this->filterLeave($manager);
$info['test'] = $this->filterLeave($test);
$info['sale_list'] = $this->filterLeave($sale_list);
......@@ -794,8 +794,6 @@ Class OrderController extends Controller
// 去掉已离职人员
public function filterLeave(&$data)
{
$data = array();
if (!empty($data)) {
foreach ($data as $k => $v) {
if ($v->status == 4) {
......
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