Commit 9c1247b2 authored by clone's avatar clone

version版本管理

parent fce6fa83
...@@ -150,7 +150,7 @@ class Shop extends Basic ...@@ -150,7 +150,7 @@ class Shop extends Basic
{ {
$params = $this->params; $params = $this->params;
$field = "id,management_fee,title,address,city,room_area,room_area2,business_area,disc,disccircles,sales,slotting_fee,transfer_fee, $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"; room_num_left,room_num_total,shangpu_tags,carefully_chosen,price,dish,file_path";
$conditions = []; $conditions = [];
...@@ -165,6 +165,8 @@ class Shop extends Basic ...@@ -165,6 +165,8 @@ class Shop extends Basic
$result["api_path"] = IMG_PATH; $result["api_path"] = IMG_PATH;
$param["house_id"] = $params['id']; $param["house_id"] = $params['id'];
//todo 这里的是否要更改成b端后台上传的类型
//$param["imgtype"] = 2;
$result["images"] = $this->dbImg->getHouseImages($param, 15); $result["images"] = $this->dbImg->getHouseImages($param, 15);
$param["imgtype"] = 4;//图片类型:1效果图,2实景图,3样板图,4户型图,5交通图 $param["imgtype"] = 4;//图片类型:1效果图,2实景图,3样板图,4户型图,5交通图
$result["plan_images"] = $this->dbImg->getHouseImages($param, 4); $result["plan_images"] = $this->dbImg->getHouseImages($param, 4);
......
...@@ -33,8 +33,9 @@ class AdminModel extends Model ...@@ -33,8 +33,9 @@ class AdminModel extends Model
public function updateLoginTime($id) public function updateLoginTime($id)
{ {
$where_["id"] = array( "eq", $id );
$param["last_login_time"] = date("Y-m-d H:i:s", time()); $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
...@@ -88,6 +88,9 @@ Route::group('index', [ ...@@ -88,6 +88,9 @@ Route::group('index', [
//查询经纪人 //查询经纪人
'getBroker' => ['index/broker/getBroker',['method'=>'get']], 'getBroker' => ['index/broker/getBroker',['method'=>'get']],
//版本管理
'version' => ['index/version/index',['method'=>'get']],
]); ]);
......
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