wupengfei 2 rokov pred
rodič
commit
512b9e61fd
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      addons/shopro/controller/Qc.php

+ 1 - 0
addons/shopro/controller/Qc.php

@@ -16,6 +16,7 @@ class Qc extends Base
     {
         $options = \think\Config::get('queue');
         $config = Config::where('name', 'order')->cache(300)->find();        // 读取配置自动缓存 5 分钟
+        $config = isset($config) ? json_decode($config['value'], true) : [];
         var_dump($options,$config);
     }