作者 lyh

gx

@@ -49,8 +49,6 @@ class SyncProject extends Command @@ -49,8 +49,6 @@ class SyncProject extends Command
49 */ 49 */
50 public function handle() 50 public function handle()
51 { 51 {
52 - var_dump(11111);  
53 - die();  
54 $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();
55 foreach ($list as $item){ 53 foreach ($list as $item){
56 try { 54 try {
@@ -61,6 +59,8 @@ class SyncProject extends Command @@ -61,6 +59,8 @@ class SyncProject extends Command
61 $this->retry($item); 59 $this->retry($item);
62 } 60 }
63 if($data['data']['order_type'] == '首次'){ 61 if($data['data']['order_type'] == '首次'){
  62 + var_dump(11111);
  63 + die();
64 ProjectLogic::instance()->sync($data['data']); 64 ProjectLogic::instance()->sync($data['data']);
65 } 65 }
66 if($data['data']['order_type'] == '续费'){ 66 if($data['data']['order_type'] == '续费'){