Commit f6c8475d authored by clone's avatar clone

头像

parent 04620bf2
......@@ -231,7 +231,7 @@ class ChatService
foreach ($agentsResult as $v) {
if ($v["user_pic"]) {
$v["user_pic"] = TEST_ADMIN_URL_TL . 'user_header/' . $v["user_pic"];
$v["user_pic"] = ADMIN_URL_TL . 'user_header/' . $v["user_pic"];
}
$v["only_id"] = $chat_user_arr [$v["user_phone"]];
......
......@@ -13,7 +13,7 @@ define('IMG_PATH','https://admin.tonglianjituan.com/houseImg/');
define('LOCAL_IMG_HOST','/resource/lib/Attachments/');
define('PAGESIZE', 15); //分页每页条数
define('ADMIN_URL_TL','https://admin.tonglianjituan.com/'); //B端网址
define('TEST_ADMIN_URL_TL','https://dev.tonglianjituan.com/'); //B端网址
//define('TEST_ADMIN_URL_TL','https://dev.tonglianjituan.com/'); //B端网址
define('CURRENT_URL', 'http://'.$_SERVER['HTTP_HOST'].DS); //取当前域名地址
define('HEADERIMGURL', CURRENT_URL . 'static'. DS . 'head_portrait/'); //头像地址
define('CHAT_IMG_URL', CURRENT_URL . 'static'. DS . 'chat_image/'); //聊天图片地址
......
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