公共退款添加退款状态
This commit is contained in:
@@ -31,7 +31,7 @@ class OpenRefund
|
|||||||
$product_order_model = new PoductOrderModel;
|
$product_order_model = new PoductOrderModel;
|
||||||
$product_order_enum = new ProductOrderEnum;
|
$product_order_enum = new ProductOrderEnum;
|
||||||
$where['OrderType'] = $product_order_enum::$Refund;
|
$where['OrderType'] = $product_order_enum::$Refund;
|
||||||
$list = $product_order_model->openGetList($where, 'CreateTime,ProductName,PackageName,ConnectCount*AccountCount ConnectCount,Accounts,RefundRestTime', 'CreateTime desc', "$page,50", $where2);
|
$list = $product_order_model->openGetList($where, 'CreateTime,ProductName,PackageName,ConnectCount*AccountCount ConnectCount,Accounts,RefundRestTime,OrderState', 'CreateTime desc', "$page,50", $where2);
|
||||||
$data = [
|
$data = [
|
||||||
'list' => $list,
|
'list' => $list,
|
||||||
'count' => $product_order_model->getCount($where)
|
'count' => $product_order_model->getCount($where)
|
||||||
@@ -63,8 +63,8 @@ class OpenRefund
|
|||||||
$product_order_model = new PoductOrderModel;
|
$product_order_model = new PoductOrderModel;
|
||||||
$product_order_enum = new ProductOrderEnum;
|
$product_order_enum = new ProductOrderEnum;
|
||||||
$where['OrderType'] = $product_order_enum::$Refund;
|
$where['OrderType'] = $product_order_enum::$Refund;
|
||||||
$list = $product_order_model->openGetList($where, 'CreateTime,ProductName,PackageName,ConnectCount*AccountCount ConnectCount,Accounts,RefundRestTime', 'CreateTime desc', "10000000", $where2);
|
$list = $product_order_model->openGetList($where, 'CreateTime,ProductName,PackageName,ConnectCount*AccountCount ConnectCount,Accounts,RefundRestTime,OrderState', 'CreateTime desc', "10000000", $where2);
|
||||||
|
|
||||||
\exportToCsv('test.csv',['创建时间','产品','套餐','连接数','账号','剩余时间'],$list);
|
\exportToCsv('test.csv',['创建时间','产品','套餐','连接数','账号','剩余时间','退款状态'],$list);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user