|
|
@@ -229,16 +229,7 @@ class OrderList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
'PAY_TYPE' => [
|
|
|
'header' => '支付方式',
|
|
|
'value' => function ($row) {
|
|
|
- switch ($row['PAY_TYPE']) {
|
|
|
- case 'cash':
|
|
|
- return '充值账户';
|
|
|
- case 'exchange':
|
|
|
- return '兑换点数';
|
|
|
- case 'online':
|
|
|
- return '在线支付';
|
|
|
- default:
|
|
|
- return '复消积分';
|
|
|
- }
|
|
|
+ return ShopGoods::payTypes()[$row['PAY_TYPE']]['name'] ?? '';
|
|
|
},
|
|
|
'headerOther' => ['width' => '120'],
|
|
|
],
|
|
|
@@ -399,7 +390,9 @@ class OrderList extends \common\libs\dataList\DataList implements DataListInterf
|
|
|
['id' => 'cash', 'name' => '充值账户'],
|
|
|
['id' => 'exchange', 'name' => '兑换点数'],
|
|
|
['id' => 'points', 'name' => '复消积分'],
|
|
|
- ['id' => 'online', 'name' => '在线支付'],
|
|
|
+ ['id' => 'online', 'name' => 'IPay88'],
|
|
|
+ ['id' => 'wechat', 'name' => '微信'],
|
|
|
+ ['id' => 'alipay', 'name' => '支付宝'],
|
|
|
]
|
|
|
],
|
|
|
];
|