From 6134d0024a853f120f75fb6f54f6c52c4f51df69 Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Thu, 3 Oct 2024 23:03:56 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=94=AF=E4=BB=98=E4=BF=AE=E6=94=B9=E5=8F=96?= =?UTF-8?q?=E5=8D=95=E7=82=B9=E5=92=8C=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/PayLogic.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/api/logic/PayLogic.php b/app/api/logic/PayLogic.php index fe4aa04e..593240e7 100755 --- a/app/api/logic/PayLogic.php +++ b/app/api/logic/PayLogic.php @@ -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'];