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