This commit is contained in:
youda 2025-05-18 13:14:22 +08:00
parent 2f5ca0b30f
commit 432e799fdd

View File

@ -1102,7 +1102,7 @@ class Order extends Base
$item['mobile'],
$item['goods_title'],
$item['goods_price'],
$item['num'],
$item['prize_num'],
$item['order_zhe_total'],
$item['price'],
$item['use_money'],
@ -1148,10 +1148,26 @@ class Order extends Base
// 设置表头
$headers = [
'订单ID', '订单号', '用户UID', '用户昵称', '手机号',
'商品标题', '商品价格', '购买数量', '订单金额',
'RMB支付', '钻石支付', 'UU币支付', '达达券支付', '优惠券抵扣',
'抽奖数量', '出货金额', '支付状态', '支付类型', '购买时间', '支付时间'
'订单ID',
'订单号',
'用户UID',
'用户昵称',
'手机号',
'商品标题',
'商品价格',
'购买数量',
'订单金额',
'RMB支付',
'钻石支付',
'UU币支付',
'达达券支付',
'优惠券抵扣',
'抽奖数量',
'出货金额',
'支付状态',
'支付类型',
'购买时间',
'支付时间'
];
// 写入表头
@ -1241,11 +1257,11 @@ class Order extends Base
}
if ($mobile) {
$where[] = ['u.mobile', 'like', '%'.$mobile.'%'];
$where[] = ['u.mobile', 'like', '%' . $mobile . '%'];
}
if ($order_num) {
$where[] = ['o.order_num', 'like', '%'.$order_num.'%'];
$where[] = ['o.order_num', 'like', '%' . $order_num . '%'];
}
if ($status !== '') {