Commit 027bcd65 authored by liuqiao's avatar liuqiao

二维码

parent d11065b7
......@@ -59,6 +59,9 @@ class zsb_api_model extends MY_Model{
$param['source'] = $this->apiSource;
$param['version'] = $this->apiVersion;
$param['city'] = GB_CITY;
if ($key == 'user_by_qr_code' || $key == 'login_qr_code') {
$this->host = 'http://newrent.house365.com';
}
$url = $this->host.''.$this->getZsbApiUrl($key). '?' . http_build_query($param);
return $url;
}
......
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