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
7dbdab53
Commit
7dbdab53
authored
Sep 05, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺标签
parent
2b2a1f7a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
GHouses.php
application/model/GHouses.php
+25
-0
No files found.
application/model/GHouses.php
View file @
7dbdab53
...
@@ -1346,6 +1346,31 @@ class GHouses extends BaseModel
...
@@ -1346,6 +1346,31 @@ class GHouses extends BaseModel
$params
[
'external_address'
]
=
$params
[
'city'
]
.
$params
[
'disc'
];
$params
[
'external_address'
]
=
$params
[
'city'
]
.
$params
[
'disc'
];
}
}
$shop_sign
=
[];
//商铺标签
if
(
!
empty
(
$params
[
'shop_sign'
]))
{
$shop_sign
=
explode
(
','
,
$params
[
'shop_sign'
]);
foreach
(
$shop_sign
as
$k
=>
$v
)
{
if
(
$v
==
'餐饮美食'
)
{
if
(
$params
[
'shop_type'
]
==
1
)
{
$shop_sign
[
$k
]
=
'沿街餐饮'
;
}
else
{
$shop_sign
[
$k
]
=
'商场美食'
;
}
}
if
(
$v
==
'服装'
)
{
$shop_sign
[
$k
]
=
'服饰鞋包'
;
}
if
(
$v
==
'百货零售'
)
{
$shop_sign
[
$k
]
=
'百货超市'
;
}
}
}
$params
[
'shop_sign'
]
=
implode
(
','
,
$shop_sign
);
//新增或编辑
//新增或编辑
if
(
empty
(
$params
[
'id'
]))
{
if
(
empty
(
$params
[
'id'
]))
{
$params
[
'upload_id'
]
=
$agent_id
;
$params
[
'upload_id'
]
=
$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