作者 耿培杰

修改购物车接口

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