作者 耿培杰

修改购物车接口

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