代码优化
This commit is contained in:
@@ -58,7 +58,7 @@ class WorkbenchGroupPushJob
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
// 获取所有工作台
|
// 获取所有工作台
|
||||||
$workbenches = Workbench::where(['status' => 1, 'type' => 3, 'isDel' => 0,'id' => 178])->order('id desc')->select();
|
$workbenches = Workbench::where(['status' => 1, 'type' => 3, 'isDel' => 0])->order('id desc')->select();
|
||||||
foreach ($workbenches as $workbench) {
|
foreach ($workbenches as $workbench) {
|
||||||
// 获取工作台配置
|
// 获取工作台配置
|
||||||
$config = WorkbenchGroupPush::where('workbenchId', $workbench->id)->find();
|
$config = WorkbenchGroupPush::where('workbenchId', $workbench->id)->find();
|
||||||
|
|||||||
Reference in New Issue
Block a user