作者 李宇航

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

Master server



查看合并请求 !1035
@@ -62,7 +62,9 @@ class RenewProjectController extends BaseController @@ -62,7 +62,9 @@ class RenewProjectController extends BaseController
62 } 62 }
63 //按类型搜索 63 //按类型搜索
64 $map['delete_status'] = 0; 64 $map['delete_status'] = 0;
  65 + if(empty($map['type'])){
65 $map['type'] = ['in',[2,3,4]]; 66 $map['type'] = ['in',[2,3,4]];
  67 + }
66 $map['remain_day'] = ['<=',15]; 68 $map['remain_day'] = ['<=',15];
67 return $map; 69 return $map;
68 } 70 }
@@ -692,7 +692,7 @@ class ProductLogic extends BaseLogic @@ -692,7 +692,7 @@ class ProductLogic extends BaseLogic
692 'attrs'=>Arr::a2s($info['attrs']), 692 'attrs'=>Arr::a2s($info['attrs']),
693 'attr_id'=>Arr::arrToSet($info['attr_id']), 693 'attr_id'=>Arr::arrToSet($info['attr_id']),
694 'category_id'=>!empty($info['category_id']) ? ','.Arr::arrToSet($info['category_id']).',' : '', 694 'category_id'=>!empty($info['category_id']) ? ','.Arr::arrToSet($info['category_id']).',' : '',
695 - 'keyword_id'=>'', 695 + 'keyword_id'=> '',
696 'intro'=>$info['intro'], 696 'intro'=>$info['intro'],
697 'content'=>$info['content'], 697 'content'=>$info['content'],
698 'describe'=>Arr::a2s($info['describe']), 698 'describe'=>Arr::a2s($info['describe']),