作者 lyh

Merge branch 'master' of http://47.244.231.31:8099/zhl/globalso-v6 into develop

@@ -65,6 +65,7 @@ class FormGlobalsoApi @@ -65,6 +65,7 @@ class FormGlobalsoApi
65 } 65 }
66 try { 66 try {
67 $res = HttpUtils::get($api_url, $params); 67 $res = HttpUtils::get($api_url, $params);
  68 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($res, true) . PHP_EOL, FILE_APPEND);
68 $res = Arr::s2a($res); 69 $res = Arr::s2a($res);
69 } catch (\Exception | GuzzleException $e) { 70 } catch (\Exception | GuzzleException $e) {
70 errorLog('询盘列表', $params, $e); 71 errorLog('询盘列表', $params, $e);
@@ -14,7 +14,6 @@ class WebSettingLogic extends BaseLogic @@ -14,7 +14,6 @@ class WebSettingLogic extends BaseLogic
14 public function __construct() 14 public function __construct()
15 { 15 {
16 parent::__construct(); 16 parent::__construct();
17 -  
18 $this->model = new WebSetting(); 17 $this->model = new WebSetting();
19 $this->param = $this->requestAll; 18 $this->param = $this->requestAll;
20 } 19 }
@@ -26,13 +25,9 @@ class WebSettingLogic extends BaseLogic @@ -26,13 +25,9 @@ class WebSettingLogic extends BaseLogic
26 * @time :2023/4/28 15:14 25 * @time :2023/4/28 15:14
27 */ 26 */
28 public function setting_read(){ 27 public function setting_read(){
29 - $info = CommonHelper::get_user_cache($this->model->getTable(),$this->user['project_id']);  
30 - if(empty($info)){  
31 - $info = $this->model->read(['project_id'=>$this->user['project_id']]);  
32 - if($info === false){  
33 - $info = [];  
34 - }  
35 - CommonHelper::set_user_cache($info,$this->model->getTable(),$this->user['project_id']); 28 + $info = $this->model->read(['project_id'=>$this->user['project_id']]);
  29 + if($info === false){
  30 + $info = [];
36 } 31 }
37 return $this->success($info); 32 return $this->success($info);
38 } 33 }