* webhook: modify form config.

This commit is contained in:
sunguangming
2023-12-20 19:46:44 +08:00
parent 55f39a24d3
commit a153457bae
+2 -2
View File
@@ -16,8 +16,8 @@ $config->webhook->form->create['feishuAppId'] = array('type' => 'string', '
$config->webhook->form->create['feishuAppSecret'] = array('type' => 'string', 'control' => 'text', 'required' => false, 'default' => '', 'filter' => 'trim');
$config->webhook->form->create['domain'] = array('type' => 'string', 'control' => 'text', 'required' => false, 'default' => '', 'filter' => 'trim');
$config->webhook->form->create['sendType'] = array('type' => 'string', 'control' => 'picker', 'required' => false, 'default' => 'sync', 'options' => $lang->webhook->sendTypeList);
$config->webhook->form->create['products'] = array('type' => 'array', 'control' => 'picker', 'required' => false, 'default' => '', 'options' => array(), 'multiple' => true);
$config->webhook->form->create['executions'] = array('type' => 'array', 'control' => 'picker', 'required' => false, 'default' => '', 'options' => array(), 'multiple' => true);
$config->webhook->form->create['products'] = array('type' => 'array', 'control' => 'picker', 'required' => false, 'default' => '', 'filter' => 'join', 'multiple' => true);
$config->webhook->form->create['executions'] = array('type' => 'array', 'control' => 'picker', 'required' => false, 'default' => '', 'filter' => 'join', 'multiple' => true);
$config->webhook->form->create['params'] = array('type' => 'array', 'control' => 'checkList', 'required' => false, 'default' => '', 'options' => $lang->webhook->paramsList, 'width' => 'full', 'inline' => true);
$config->webhook->form->create['desc'] = array('type' => 'string', 'control' => 'editor', 'required' => false, 'default' => '', 'width' => 'full');