wanghousheng 1 year ago
parent 4ffc59fe8a
commit b3bd0e3d08
  1. 2
      app/common/model/wxapp/Setting.php

@ -88,7 +88,7 @@ class Setting extends BaseModel
{
$model = new static;
is_null($storeId) && $storeId = static::$storeId;
if ($data = Cache::get("wxapp_setting_{$storeId}")) {
if (!$data = Cache::get("wxapp_setting_{$storeId}")) {
// 获取全部设置
$data = $model->getList($storeId);
// 写入缓存中

Loading…
Cancel
Save