1.支付修改取单点和时间

This commit is contained in:
xucong 2024-10-03 23:03:56 +08:00
parent 2a398c957d
commit 6134d0024a

@ -680,6 +680,19 @@ class PayLogic extends Logic
}
if(isset($post['lsg_order_id'])){
$data['lsg_order_id'] = $post['lsg_order_id'];
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
]
);
}
}
if(isset($post['goods_num'])){
$data['goods_num'] = $post['goods_num'];