cqp 2 mesiacov pred
rodič
commit
a9be666350
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/Console/Commands/ToDoReminder.php

+ 1 - 1
app/Console/Commands/ToDoReminder.php

@@ -68,7 +68,7 @@ class ToDoReminder extends Command
                 $wxInfo = WxEmployeeOfficial::where('employee_id', $crtIds)
                 $wxInfo = WxEmployeeOfficial::where('employee_id', $crtIds)
                     ->where('type', WxEmployeeOfficial::login_type_two)
                     ->where('type', WxEmployeeOfficial::login_type_two)
                     ->where('appid', $appid)
                     ->where('appid', $appid)
-                    ->pluck('openid','id')
+                    ->pluck('openid','employee_id')
                     ->toArray();
                     ->toArray();
 
 
                 foreach ($data as $todo) {
                 foreach ($data as $todo) {