edit-api-delivery_day
This commit is contained in:
@@ -142,6 +142,10 @@ class CusorderV2 extends Wxapp{
|
||||
throw new Exception('参数错误', ERR_PARAMS_ERROR);
|
||||
}
|
||||
}
|
||||
//东风品牌,门店类型=品牌店or合伙店,交车时长-10
|
||||
if($series_row['brand_id']==1 && $business_row['delivery_day']>10 && in_array($biz['type'],[1,2])){
|
||||
$business_row['delivery_day'] -= 10;
|
||||
}
|
||||
$over_time = date('Y-m-d H:i:s',time()+$business_row['delivery_day']*24*60*60); //交付截止时间
|
||||
$data = [
|
||||
'sid' => create_order_no(350200,$this->app_key),
|
||||
@@ -384,6 +388,10 @@ class CusorderV2 extends Wxapp{
|
||||
throw new Exception('一个客户只能享受一次国补,请联系管理员', ERR_PARAMS_ERROR);
|
||||
}
|
||||
}
|
||||
//东风品牌,门店类型=品牌店or合伙店,交车时长-10
|
||||
if($series_row['brand_id']==1 && $business_row['delivery_day']>10 && in_array($biz['type'],[1,2])){
|
||||
$business_row['delivery_day'] -= 10;
|
||||
}
|
||||
$over_time = date('Y-m-d H:i:s',time()+$business_row['delivery_day']*24*60*60); //交付截止时间
|
||||
$data = [
|
||||
'brand_id' => $series_row['brand_id'],
|
||||
|
||||
Reference in New Issue
Block a user