xiaosongshu007 4 years ago
parent
commit
390895dcd2

+ 1 - 1
Application/Admin/Controller/PrizeLogV2Controller.class.php

@@ -127,7 +127,7 @@ class PrizeLogV2Controller extends CommonController {
             'created_at'                         =>  array('col' => 'F', 'name' => '中奖时间'),
         );    
         // Excel驱动导出数据
-        $excel = new \My\Excel(array('filename' => '芒果移动活动中奖记录', 'title' => $title, 'data' => $data, 'msg' => L('common_not_data_tips')));
+        $excel = new \My\Excel(array('filename' => '芒果移动活动中奖记录', 'title' => $title, 'data' => $data, 'msg' => 'aaa'));
         $excel->Export();          
     }
 

+ 3 - 0
Application/Admin/View/Default/PrizeLogV2/Index.html

@@ -1,4 +1,5 @@
 <!-- header start -->
+
 <include file="Public/Header" />
 <!-- header end -->
 
@@ -72,6 +73,8 @@
         <!-- page end -->
     </div>
 </div>
+<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
+
 <!-- right content end  -->
 <script type="text/javascript">
 $("#export").on("click",function(){