作者 李宇航

合并分支 'lyh-server' 到 'master'

Lyh server



查看合并请求 !1496
@@ -105,7 +105,7 @@ class LyhImportTest extends Command @@ -105,7 +105,7 @@ class LyhImportTest extends Command
105 $categoryModel->edit(['route'=>$route,'pid'=>$pid],['id'=>$id]); 105 $categoryModel->edit(['route'=>$route,'pid'=>$pid],['id'=>$id]);
106 echo date('Y-m-d H:i:s') . '产品分类id:'. $id.PHP_EOL; 106 echo date('Y-m-d H:i:s') . '产品分类id:'. $id.PHP_EOL;
107 }catch (\Exception $e){ 107 }catch (\Exception $e){
108 - echo date('Y-m-d H:i:s') . '跳过的产品名称:'. $val[1]; 108 + echo date('Y-m-d H:i:s') . '跳过的名称:'. $val[1];
109 continue; 109 continue;
110 } 110 }
111 } 111 }
@@ -30,7 +30,7 @@ class CategoryController extends BaseController @@ -30,7 +30,7 @@ class CategoryController extends BaseController
30 public function index(Category $category) 30 public function index(Category $category)
31 { 31 {
32 $this->map = $this->searchParam(); 32 $this->map = $this->searchParam();
33 - $filed = ['id', 'project_id', 'pid', 'title', 'image', 'route','keywords', 'describe', 'status','created_at','sort']; 33 + $filed = ['id', 'project_id', 'pid', 'title', 'image', 'route', 'status','created_at','sort'];
34 $this->map['deleted_at'] = null; 34 $this->map['deleted_at'] = null;
35 $list = $category->list($this->map,['sort','id'],$filed); 35 $list = $category->list($this->map,['sort','id'],$filed);
36 $data = []; 36 $data = [];