Commit ba12af33 authored by clone's avatar clone

bug

parent 9734eab9
...@@ -224,7 +224,7 @@ class AppChat extends Basic ...@@ -224,7 +224,7 @@ class AppChat extends Basic
public function pushMsg_gethouseinfo() public function pushMsg_gethouseinfo()
{ {
$homeurl = $this->request->domain(); $homeurl = IMG_PATH;
$params = $this->params; $params = $this->params;
//$params['id']=312; //$params['id']=312;
if (!isset($params['id'])) { if (!isset($params['id'])) {
...@@ -262,7 +262,7 @@ class AppChat extends Basic ...@@ -262,7 +262,7 @@ class AppChat extends Basic
$HouseImgsre = $HouseImgs->getHouseImgs($id, 1); $HouseImgsre = $HouseImgs->getHouseImgs($id, 1);
//用户上传了就用上传的 //用户上传了就用上传的
if ($HouseImgsre) { if ($HouseImgsre) {
$data['imagename'] = $homeurl . '/houseImg/small_' . $HouseImgsre[0]['imagename']; $data['imagename'] = $homeurl . '/small_' . $HouseImgsre[0]['imagename'];
} }
// dump($HouseInfosre); // dump($HouseInfosre);
// dump($data); // dump($data);
......
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