Commit 9b4543c1 by 宁成龙

测试代码删除

parent 86271534
...@@ -14,10 +14,6 @@ class HomeController extends Controller ...@@ -14,10 +14,6 @@ class HomeController extends Controller
{ {
public function index(Content $content) public function index(Content $content)
{ {
$assign = AutoAssignCustomerService::getNowAssignInfo();
var_dump($assign);
var_dump(AutoAssignCustomerService::incAssignNumByDepartmentId($assign['department_id'],1));
var_dump(123);die;
return $content return $content
->header('Dashboard') ->header('Dashboard')
->description('Description...') ->description('Description...')
......
...@@ -49,6 +49,7 @@ class AutoAssignCustomerService ...@@ -49,6 +49,7 @@ class AutoAssignCustomerService
]); ]);
\App\Models\AutoAssignCustomer::updateById($nextAssignInfo['id'], \App\Models\AutoAssignCustomer::updateById($nextAssignInfo['id'],
['is_now' => \App\Models\AutoAssignCustomer::IS_NOW_YES]); ['is_now' => \App\Models\AutoAssignCustomer::IS_NOW_YES]);
return false;
} }
return \App\Models\AutoAssignCustomer::updateById($assignInfo['id'], ['now_num' => $nowNum]); return \App\Models\AutoAssignCustomer::updateById($assignInfo['id'], ['now_num' => $nowNum]);
} }
......
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