Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
e3e6da05
Commit
e3e6da05
authored
Oct 09, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
是否对c端显示
parent
f5b1d637
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Shop.php
application/api_broker/controller/Shop.php
+4
-0
No files found.
application/api_broker/controller/Shop.php
View file @
e3e6da05
...
@@ -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'
]))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment