Authored by hf

do modify domain m1.yohobuy.com mapi.yohobuy.com

... ... @@ -73,7 +73,6 @@ class LoginController extends AbstractAction
$data['isPassportPage'] = true; // 模板中模块标识
$data['areaCode'] = '+86'; // 默认区号
$data['countrys'] = RegData::getAreasData(); // 地区信息列表
// 渲染模板
$this->_view->display('international', $data);
}
... ... @@ -131,9 +130,9 @@ class LoginController extends AbstractAction
/* 调用登录接口进行登录 */
$data = LoginData::signin($area, $profile, $password);
if ($data['code'] != 200 || !isset($data['data']['uid'])) {
$this->setSession('_TOKEN', Helpers::makeToken($data['data']['uid']));
break;
}
$this->setSession('_TOKEN', Helpers::makeToken($data['data']['uid']));
$refer = $this->getCookie('refer');
if (empty($refer)) {
... ...
[memcached]
master.hosts=127.0.0.1:11212,127.0.0.1:11213
slave.hosts=127.0.0.1:11212,127.0.0.1:11213
session.hosts=127.0.0.1:11212,127.0.0.1:11213
[redis]
servers.hosts = 127.0.0.1:6379
\ No newline at end of file
... ...