增加 默认 key
This commit is contained in:
parent
70fcf76d7e
commit
09726a4143
@ -70,10 +70,11 @@ public function toGroup($notifiable)
|
||||
$module->makeVisible(['wecom_key']);
|
||||
|
||||
if ($module->wecom_key == null) {
|
||||
return;
|
||||
$wecom_key = config('settings.wecom.robot_hook.default');
|
||||
} else {
|
||||
$wecom_key = $module->wecom_key;
|
||||
}
|
||||
|
||||
$wecom_key = $module->wecom_key;
|
||||
// 隐藏字段
|
||||
$module->makeHidden(['wecom_key']);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user