作者 lyh

未续费项目增加搜索

@@ -64,7 +64,6 @@ class SyncProject extends Command @@ -64,7 +64,6 @@ class SyncProject extends Command
64 */ 64 */
65 public function handle() 65 public function handle()
66 { 66 {
67 - $api = new OaGlobalsoApi();  
68 while (true){ 67 while (true){
69 $list = NoticeLog::where('type', NoticeLog::TYPE_PROJECT)->where('status', NoticeLog::STATUS_PENDING)->get(); 68 $list = NoticeLog::where('type', NoticeLog::TYPE_PROJECT)->where('status', NoticeLog::STATUS_PENDING)->get();
70 foreach ($list as $item){ 69 foreach ($list as $item){