作者 lyh

gx

@@ -50,6 +50,7 @@ class SyncProject extends Command @@ -50,6 +50,7 @@ class SyncProject extends Command
50 public function handle() 50 public function handle()
51 { 51 {
52 $list = NoticeLog::where('type', NoticeLog::TYPE_PROJECT)->where('status', NoticeLog::STATUS_PENDING)->get(); 52 $list = NoticeLog::where('type', NoticeLog::TYPE_PROJECT)->where('status', NoticeLog::STATUS_PENDING)->get();
  53 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($list, true) . PHP_EOL, FILE_APPEND);
53 foreach ($list as $item){ 54 foreach ($list as $item){
54 try { 55 try {
55 $api = new OaGlobalsoApi(); 56 $api = new OaGlobalsoApi();