1.本地生活订单列表

This commit is contained in:
xucong 2024-09-17 00:26:05 +08:00
parent b87f46480c
commit 927cbb492b

@ -215,9 +215,9 @@ class LocalStoreLogic extends Logic
public static function myOrderList($post)
{
$s = "";
if(!empty($post['state'])){
if(isset($post['state'])){
$s = "state= ".$post['state']."";
}var_dump($s);
}
$list = LocalGoodsStore::where('user_id',$post['user_id'])
->where($s)
->where("state <> 3")
@ -255,7 +255,7 @@ class LocalStoreLogic extends Logic
public static function orderList($post)
{
$s = "";
if(!empty($post['state'])){
if(isset($post['state'])){
$s = "state= ".$post['state']."";
}
$list = LocalGoodsStore::where('lstore_id',$post['lstore_id'])