添加发票

This commit is contained in:
2025-12-25 17:45:20 +08:00
parent 16d1adacca
commit 56f951d0bd
10 changed files with 891 additions and 8 deletions

View File

@@ -57,14 +57,11 @@ class ControlLogic{
$item['add']=$order_info['add'];
$order=Db::name('order')->where('order_sn',$order_info['order_sn'])->find();
$item['adderss']=$order['address'];
$goods=Db::name('goods')->where('id',$order['goods_id'])->find();
$item['goods_name']=$goods['name'];
if ($order != null){
$item['adderss']=$order['address'] ?? "";
$goods=Db::name('goods')->where('id',$order['goods_id'])->find();
$item['goods_name']=$goods['name'] ?? "";
}
}
return ['count'=>$count , 'lists'=>$lists];