作者 lyh

gx导入项目脚本

@@ -68,15 +68,13 @@ class lyhDemo extends Command @@ -68,15 +68,13 @@ class lyhDemo extends Command
68 $data = $api->order_info($item['notice_order_id']); 68 $data = $api->order_info($item['notice_order_id']);
69 if(!empty($data)){ 69 if(!empty($data)){
70 if(isset($data['data']['ads_price'])){ 70 if(isset($data['data']['ads_price'])){
71 - if($data['data']['ads_price'] != 0){  
72 - dd($data['data']['ads_price']);  
73 - }  
74 -// $buildModel->edit(['ads_price'=>$data['data']['ads_price'] ?? 0],['project_id'=>$item['id']]); 71 + $buildModel->edit(['ads_price'=>$data['data']['ads_price'] ?? 0],['project_id'=>$item['id']]);
75 } 72 }
76 } 73 }
77 } 74 }
78 DB::disconnect('custom_mysql'); 75 DB::disconnect('custom_mysql');
79 } 76 }
  77 + echo date('Y-m-d H:i:s') . '结束。。。' . PHP_EOL;
80 } 78 }
81 79
82 public function _actionTemplateMain(){ 80 public function _actionTemplateMain(){