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
9c1247b2
Commit
9c1247b2
authored
Dec 26, 2017
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version版本管理
parent
fce6fa83
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
Shop.php
application/api/controller/Shop.php
+3
-1
AdminModel.php
application/model/AdminModel.php
+3
-1
route.php
application/route.php
+3
-0
No files found.
application/api/controller/Shop.php
View file @
9c1247b2
...
...
@@ -150,7 +150,7 @@ class Shop extends Basic
{
$params
=
$this
->
params
;
$field
=
"id,management_fee,title,address,city,room_area,room_area2,business_area,disc,disccircles,sales,slotting_fee,transfer_fee,
yetai,room_area2,shangpu_type,is_test,sellingpoint,singn_rule,business_date,start_business_date,opentime,has_gas,traffic,
yetai,room_area2,shangpu_type,is_test,sellingpoint,singn_rule,business_date,start_business_date,opentime,has_gas,traffic,
has_moved,
room_num_left,room_num_total,shangpu_tags,carefully_chosen,price,dish,file_path"
;
$conditions
=
[];
...
...
@@ -165,6 +165,8 @@ class Shop extends Basic
$result
[
"api_path"
]
=
IMG_PATH
;
$param
[
"house_id"
]
=
$params
[
'id'
];
//todo 这里的是否要更改成b端后台上传的类型
//$param["imgtype"] = 2;
$result
[
"images"
]
=
$this
->
dbImg
->
getHouseImages
(
$param
,
15
);
$param
[
"imgtype"
]
=
4
;
//图片类型:1效果图,2实景图,3样板图,4户型图,5交通图
$result
[
"plan_images"
]
=
$this
->
dbImg
->
getHouseImages
(
$param
,
4
);
...
...
application/model/AdminModel.php
View file @
9c1247b2
...
...
@@ -33,8 +33,9 @@ class AdminModel extends Model
public
function
updateLoginTime
(
$id
)
{
$where_
[
"id"
]
=
array
(
"eq"
,
$id
);
$param
[
"last_login_time"
]
=
date
(
"Y-m-d H:i:s"
,
time
());
return
$this
->
save
(
$param
,
$
id
);
return
$this
->
save
(
$param
,
$
where_
);
}
}
\ No newline at end of file
application/route.php
View file @
9c1247b2
...
...
@@ -88,6 +88,9 @@ Route::group('index', [
//查询经纪人
'getBroker'
=>
[
'index/broker/getBroker'
,[
'method'
=>
'get'
]],
//版本管理
'version'
=>
[
'index/version/index'
,[
'method'
=>
'get'
]],
]);
...
...
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