소스 검색

上线商品信息导出优化

wufeng 2 년 전
부모
커밋
9f54d636d9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/admin/controller/Report.php

+ 1 - 1
app/admin/controller/Report.php

@@ -69,7 +69,7 @@ class Report extends Base
             ->select()
             ->toArray();
 
-        $all_good_type = [1 => '定制商品', 2 => '常规商品'];
+        $all_good_type = [0 => '非定制商品', 1 => '定制商品'];
         $all_brand = Db::name('brand')->whereIn('id', array_column($rs_temp_good, '商品品牌'))->where('is_del', 0)->column('brand_name', 'id');
         $all_cat = Db::name('cat')
             ->alias('c3')