作者 lyh

gx导入项目脚本

@@ -68,8 +68,10 @@ class lyhDemo extends Command @@ -68,8 +68,10 @@ 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 - dd($data['data']['ads_price']);  
72 - $buildModel->edit(['ads_price'=>$data['data']['ads_price'] ?? 0],['project_id'=>$item['id']]); 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']]);
73 } 75 }
74 } 76 }
75 } 77 }