wufeng 2 年 前
コミット
12b411b2a2

+ 0 - 1
app/admin/logic/OrderLogic.php

@@ -150,7 +150,6 @@ class OrderLogic extends BaseLogic
             $da[] = $v;
         }
 
-        halt($da);
         if (empty($da)) $da[] = '没有可供导出的数据';
 
         $headerArr = array_keys($da[0]);

+ 1 - 1
app/admin/middleware/adminMiddleware.php

@@ -17,7 +17,7 @@ class adminMiddleware
 {
 
     //白名单
-    private $white_list = ['login'];
+    private $white_list = ['login','orderExport'];
 
     //请求入口
     public function handle($request, \Closure $next)

+ 1 - 1
app/mobile/controller/Good.php

@@ -14,7 +14,7 @@ class Good extends BaseController
     //列表
     public function goodList()
     {
-        $param = $this->request->only(['page' => 1, 'size' => 10, 'type' => ''], 'post');
+        $param = $this->request->only(['page' => 1, 'size' => 10], 'post');
         return GoodLogic::goodList($param);
     }