Commit 6958cd93 authored by zhuwei's avatar zhuwei

bug

parent a5317652
......@@ -4,7 +4,6 @@ namespace app\app\controller;
use app\model\AppVersion;
use app\model\HouseImgs;
use app\model\HouseInfos;
use think\Response;
class Index
......@@ -17,7 +16,6 @@ class Index
public function __construct()
{
$this->db = new HouseInfos();
$this->dbImg = new HouseImgs();
$this->appVersion = new AppVersion();
}
......@@ -86,6 +84,8 @@ class Index
*/
public function getShopDetail()
{
return $this->response("200", 'request null');
$id = $_POST["id"] ? $_POST["id"] : $_GET["id"];
$field = "a.id,a.management_fee,a.title,a.address,a.city,a.room_area,a.room_area2,a.business_area,a.disc,a.disccircles,
......
......@@ -73,7 +73,6 @@ class ShareShop extends Basic
}
}
Log::record("zhuweizhuwei----".json_encode($params),"info");
$this->assign('data',json_encode($params));
return view("share_detail");
......
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