mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修复,未支付订单无法显示
This commit is contained in:
parent
958d357a03
commit
143e535529
@ -89,7 +89,11 @@ class Order extends Controller
|
||||
UserAdminService::instance()->buildByUid($data);
|
||||
UserAdminService::instance()->buildByUid($data, 'puid1', 'from');
|
||||
OrderService::instance()->buildData($data);
|
||||
foreach ($data as &$vo) $vo['payment_name'] = PaymentService::name($vo['payment_type']);
|
||||
foreach ($data as &$vo){
|
||||
if (!is_null($vo['payment_type']) and ''!=$vo['payment_type']) {
|
||||
$vo['payment_name'] = PaymentService::name($vo['payment_type']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user