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
7e376a1e
Commit
7e376a1e
authored
Apr 26, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shop_type
parent
07a2ca98
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
18 deletions
+4
-18
GHouses.php
application/model/GHouses.php
+4
-18
No files found.
application/model/GHouses.php
View file @
7e376a1e
...
@@ -487,24 +487,6 @@ class GHouses extends BaseModel
...
@@ -487,24 +487,6 @@ class GHouses extends BaseModel
$house_img
->
edit
(
$params
,
$house_id
);
$house_img
->
edit
(
$params
,
$house_id
);
}
}
/***保存图片 hujun 2018.1.19 end***/
/***保存图片 hujun 2018.1.19 end***/
$agents
=
new
GHousesToAgents
();
//权限人
if
(
isset
(
$params
[
'agent_data'
]))
{
// $agents->addAgents($params['agent_data'], $house_id, 1, $agent_id);
}
//盘方
if
(
isset
(
$params
[
'agent_dish'
]))
{
// $agents->addAgents($params['agent_dish'], $house_id, 2, $agent_id);
}
//独家方
if
(
isset
(
$params
[
'exclusive_ids'
]))
{
// $agents->addAgents($params['exclusive_ids'], $house_id, 3, $agent_id);
}
if
(
$house_id
!=
NULL
)
{
if
(
$house_id
!=
NULL
)
{
$this
->
commit
();
$this
->
commit
();
}
else
{
}
else
{
...
@@ -617,6 +599,10 @@ class GHouses extends BaseModel
...
@@ -617,6 +599,10 @@ class GHouses extends BaseModel
}
}
}
}
if
(
$data
[
'shop_type'
]
==
1
&&
empty
(
$data
[
'shop_area_end'
]))
{
$save_data
[
'shop_area_end'
]
=
$data
[
'shop_area_start'
];
}
//商铺标签
//商铺标签
if
(
isset
(
$data
[
'shop_sign'
]))
{
if
(
isset
(
$data
[
'shop_sign'
]))
{
$save_data
[
'shop_sign'
]
=
$data
[
'shop_sign'
];
$save_data
[
'shop_sign'
]
=
$data
[
'shop_sign'
];
...
...
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