|
|
@@ -111,7 +111,7 @@ class ConfigService extends BaseService
|
|
|
if ($datas) {
|
|
|
return $datas;
|
|
|
}
|
|
|
- $datas = $this->model::where(['config_group_id' => $groupId, 'status' => 1])
|
|
|
+ $datas = $this->model::where(['config_group_id' => $groupId, 'status' => 1,'mark'=>1])
|
|
|
->select('title', 'code', 'type', 'value')
|
|
|
->orderBy('sort', 'asc')
|
|
|
->get()
|
|
|
@@ -169,7 +169,7 @@ class ConfigService extends BaseService
|
|
|
if ($datas) {
|
|
|
return $datas ? $datas : $default;
|
|
|
}
|
|
|
- $datas = $this->model::where(['code' => $code, 'status' => 1])
|
|
|
+ $datas = $this->model::where(['code' => $code, 'status' => 1,'mark'=>1])
|
|
|
->orderBy('sort', 'asc')
|
|
|
->value('value');
|
|
|
|