|
|
|
@ -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); |
|
|
|
|
// 写入缓存中 |
|
|
|
|