From fe25b9d0b6540669789be9fc5e8a8460177c0b12 Mon Sep 17 00:00:00 2001 From: sszdot Date: Wed, 18 Dec 2024 15:00:01 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=B1=BB=20=20=E5=9E=8B=E3=80=91?= =?UTF-8?q?=EF=BC=9Afix=20=E3=80=90=E5=8E=9F=20=20=E5=9B=A0=E3=80=91?= =?UTF-8?q?=EF=BC=9A=E6=95=B0=E6=8D=AE=E5=BA=93=E4=BF=AE=E6=94=B9=E6=96=B0?= =?UTF-8?q?=E5=8A=A0=E5=AD=97=E6=AE=B5=20=E3=80=90=E8=BF=87=20=20=E7=A8=8B?= =?UTF-8?q?=E3=80=91=EF=BC=9AgetOrderList=E6=8E=A5=E5=8F=A3=20=E5=8F=96tra?= =?UTF-8?q?nsport=5Fprice,pack=5Fprice=E5=AD=97=E6=AE=B5=20=E3=80=90?= =?UTF-8?q?=E5=BD=B1=20=20=E5=93=8D=E3=80=91=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FlyCube/Api/Controller/CheckController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FlyCube/Api/Controller/CheckController.class.php b/FlyCube/Api/Controller/CheckController.class.php index e51b382..3365a8f 100644 --- a/FlyCube/Api/Controller/CheckController.class.php +++ b/FlyCube/Api/Controller/CheckController.class.php @@ -148,7 +148,7 @@ class CheckController extends PublicController $whereSite['shop_id'] = $_REQUEST['shop_id']; $site = $siteDb->where($whereSite)->find(); if (!$site) { - echo json_encode(array('status' => 0, 'msg' => '收货地址不合法')); + echo json_encode(array('status' => 0, 'msg' => '收货地址错误')); exit(); //没有收货地址 有问题跳出 } $data['receive_site_id'] = $_REQUEST['site_id']; @@ -171,7 +171,7 @@ class CheckController extends PublicController */ public function getOrderList() { - $field = array('order_sn,food_sn,total_weight,total_num,total_price,refund_price,receiver,tel,receive_site_id,receive_site_name,remark,product_snapshot,main_status,shipment_status,refund_status,refund_remark,order_time,paid_time,refunded_time,completed_time,received_time,shipped_time,delivered_time,refundapply_time,rejected_time'); + $field = array('order_sn,food_sn,total_weight,total_num,total_price,transport_price,pack_price,refund_price,receiver,tel,receive_site_id,receive_site_name,remark,product_snapshot,main_status,shipment_status,refund_status,refund_remark,order_time,paid_time,refunded_time,completed_time,received_time,shipped_time,delivered_time,refundapply_time,rejected_time'); $where['openid'] = $this->openid; $where['main_status'] = array('neq', '已取消'); //排除已取消的订单 $orderDb = D('order');