Commit e3e6da05 authored by zw's avatar zw

是否对c端显示

parent f5b1d637
...@@ -82,6 +82,7 @@ class Shop extends Basic ...@@ -82,6 +82,7 @@ class Shop extends Basic
"p_agent_name" => "张三", "p_agent_name" => "张三",
//是否对C端显示 181009 //是否对C端显示 181009
"is_show" => 0,//0是1否显示在c端用户 "is_show" => 0,//0是1否显示在c端用户
"is_exclusive_type" => 0,//是否独家0否1是
"pageNo" => 1, "pageNo" => 1,
"pageSize" => 15 "pageSize" => 15
...@@ -157,6 +158,9 @@ class Shop extends Basic ...@@ -157,6 +158,9 @@ class Shop extends Basic
if (isset($params['is_show'])) { //是否对c端显示 if (isset($params['is_show'])) { //是否对c端显示
$conditions['is_show'] = array("eq", $params['is_show']); $conditions['is_show'] = array("eq", $params['is_show']);
} }
if (isset($params['is_exclusive_type'])) { //是否独家0否1是
$conditions['is_exclusive_type'] = array("eq", $params['is_exclusive_type']);
}
//我的商铺 代表我是盘方的商铺 //我的商铺 代表我是盘方的商铺
if (isset($params['agent_id'])) { if (isset($params['agent_id'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment