orders edit_order fixbug zero_fistpay order_time
This commit is contained in:
@@ -479,6 +479,9 @@ class CusorderV2 extends Wxapp
|
||||
'if_local_bill' => $if_local_bill ? 1 : 0,
|
||||
'over_time' => $over_time,
|
||||
];
|
||||
if ($if_zero_firstpay && $row['order_time'] == '0000-00-00 00:00:00'){ //设置下定时间
|
||||
$data['order_time'] = date('Y-m-d H:i:s');
|
||||
}
|
||||
$delry_time && $data['delry_time'] = $delry_time;
|
||||
$finance_row && $data['finance_id'] = $finance_row['id'];
|
||||
$data['if_fine'] = $if_fine ? 1 : 0;
|
||||
|
||||
Reference in New Issue
Block a user