mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-31 15:00:52 +00:00
增加默认数据
This commit is contained in:
parent
4bb2ca6aae
commit
dfae6709f7
@ -123,6 +123,12 @@ class Service extends Make
|
||||
*/
|
||||
protected function getOptionContent(array $option = [])
|
||||
{
|
||||
if (!$option) {
|
||||
$option = [
|
||||
['value' => 1, 'label' => '开启'],
|
||||
['value' => 0, 'label' => '关闭']
|
||||
];
|
||||
}
|
||||
$php = '';
|
||||
if ($option) {
|
||||
$res = var_export($option, true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user