作者 耿培杰

修改购物车接口

... ... @@ -121,8 +121,8 @@ class Api
$this->userId = $user['id'];
}
$lang = $this->request->header('lang');
// if (empty($lang)) $this->error('缺少lang!');
// $this->lang = $lang;
if (empty($lang)) $this->error('缺少lang!');
$this->lang = $lang;
/*if (Config::get('url_domain_deploy')) {
$domain = Route::rules('domain');
if (isset($domain['api'])) {
... ...