edit-api-bug_up_order_time
This commit is contained in:
@@ -196,7 +196,7 @@ require_once APPPATH.'controllers/wxapp/Wxapp.php';
|
||||
if($row['order_time']!='0000-00-00 00:00:00'){
|
||||
$int_row = $this->app_liche_orders_model->get(['o_id'=>$row['id'],'type'=>4,'status'=>1]);
|
||||
$dep_row = $this->app_liche_orders_model->get(['o_id'=>$row['id'],'type'=>1,'status'=>1]);
|
||||
if($int_row['pay_price']==$dep_row['pay_price']){ //意向金等于定金更新下单时间
|
||||
if($dep_row['pay_price'] > 0 && $int_row['pay_price']==$dep_row['pay_price']){ //意向金等于定金更新下单时间
|
||||
$this->receiver_orders_v2_model->update(['order_time'=>date('Y-m-d H:i:s')],['id'=>$row['id']]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user