1.支付修改取单点和时间
This commit is contained in:
parent
6134d0024a
commit
7e18be7c9b
@ -842,16 +842,19 @@ class PayLogic extends Logic
|
||||
if(!$good_order){
|
||||
return JsonServer::error('订单错误');
|
||||
}
|
||||
$year = date("Y");
|
||||
$post_station_time = $year.'-'.$post['post_station_time'];
|
||||
$post_station_time = strtotime($post_station_time);
|
||||
LocalGoodsOrder::where('lsg_order_id',$post['lsg_order_id'])->update(
|
||||
[
|
||||
'post_station_id'=>$post['post_station_id'],
|
||||
'post_station_time'=>$post_station_time
|
||||
if(isset($post['post_station_time'])){
|
||||
$year = date("Y");
|
||||
$post_station_time = $year.'-'.$post['post_station_time'];
|
||||
$post_station_time = strtotime($post_station_time);
|
||||
LocalGoodsOrder::where('lsg_order_id',$post['lsg_order_id'])->update(
|
||||
[
|
||||
'post_station_id'=>$post['post_station_id'],
|
||||
'post_station_time'=>$post_station_time
|
||||
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
]
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user