diff --git a/Application/Admin/Common/extend.php b/Application/Admin/Common/extend.php
index 7b558b442..eb39dd208 100644
--- a/Application/Admin/Common/extend.php
+++ b/Application/Admin/Common/extend.php
@@ -317,6 +317,31 @@ function get_pay_way($id=null)
break;
}
}
+
+/**
+ * 获取订单类型
+ *
+ * @param null $id
+ * @return string
+ */
+function get_order_type($id=null)
+{
+ switch ($id) {
+ case 1:
+ return "sdk充值订单";
+ break;
+ case 2:
+ return "平台币充值订单";
+ break;
+ case 3:
+ return "超级签充值订单";
+ break;
+ default:
+ return '未知';
+ break;
+ }
+}
+
function get_pay_way_map($id) {
if(!isset($id)){
diff --git a/Application/Admin/Controller/TestOrderController.class.php b/Application/Admin/Controller/TestOrderController.class.php
new file mode 100644
index 000000000..ad37f8bbe
--- /dev/null
+++ b/Application/Admin/Controller/TestOrderController.class.php
@@ -0,0 +1,21 @@
+select();
+ $this->assign('datas', $order_list);
+ $this->display();
+ }
+
+ public function addOrder(){
+ $this->display();
+ }
+}
\ No newline at end of file
diff --git a/Application/Admin/View/TestOrder/addOrder.html b/Application/Admin/View/TestOrder/addOrder.html
new file mode 100644
index 000000000..16e5cc53a
--- /dev/null
+++ b/Application/Admin/View/TestOrder/addOrder.html
@@ -0,0 +1,285 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Application/Admin/View/TestOrder/lists.html b/Application/Admin/View/TestOrder/lists.html
new file mode 100644
index 000000000..d3e07f86e
--- /dev/null
+++ b/Application/Admin/View/TestOrder/lists.html
@@ -0,0 +1,355 @@
+
+
+
+
+
+
+
+
+
+
+
+
{$_REQUEST['game_name']}测试统计
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 服务器类型 |
+
+ 订单类型 |
+
+ 支付订单号 |
+
+ cp订单号 |
+
+ 测试账号 |
+
+ 充值时间 |
+
+ 游戏名称 |
+
+ 订单金额 |
+
+ 实付金额 |
+
+ 充值方式 |
+
+ 录入时间 |
+
+
+
+
+
+
+
+ aOh! 暂时还没有内容! |
+
+
+
+
+
+ 测试内网测试外网 |
+ {$data.order_type|get_order_type} |
+ {$data.order_no} |
+ {$data.cp_order_no} |
+ {$data.user_account} |
+ {$data.pay_time|date='Y-m-d H:i:s',###} |
+ {$data.game_name} |
+ {$data.order_amount} |
+ {$data.pay_amount} |
+ {$data.pay_way|get_pay_way} |
+ {$data.add_time|date='Y-m-d H:i:s',###} |
+
+
+
+ 总计 |
+ ------ |
+ ------ |
+ ------ |
+ ------ |
+ ------ |
+ ------ |
+ {$sumAllData.cost} |
+ {$sumAllData.pay_amount} |
+ ------ |
+ ------ |
+
+
+ 充值方式合计 |
+
+
+
+ {$key}:{$payTypeData}         
+
+
+ |
+
+
+ 支付渠道 |
+
+
+ {$sumData.pay_way}:{$sumData.pay_amount}         
+
+ |
+
+
+
+
+
+
+
+
+
+ {$_page|default=''}
+
+
+
+
+
+
+
+ if(C('COLOR_STYLE')=='blue_color') echo '';
+
+
+
+
+
+