mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-13 10:00:53 +08:00
【调整】webhook参数的提示和顺序
This commit is contained in:
@@ -229,12 +229,22 @@ export const useWebhookChannelFormController = () => {
|
||||
const config = computed(() => [
|
||||
useFormInput($t('t_2_1745289353944'), 'name'),
|
||||
useFormInput('WebHook回调地址', 'url'),
|
||||
useFormTextarea('WebHook推送通知回调数据(可选)', 'data', { rows: 3 }, { showRequireMark: false }),
|
||||
useFormSelect('请求方式', 'method', [
|
||||
{ label: 'POST', value: 'post' },
|
||||
{ label: 'GET', value: 'get' },
|
||||
]),
|
||||
useFormTextarea('WebHook请求头(可选)', 'headers', { rows: 3 }, { showRequireMark: false }),
|
||||
useFormTextarea(
|
||||
'WebHook请求头(可选)',
|
||||
'headers',
|
||||
{ rows: 3, placeholder: 'Content-Type: application/json' },
|
||||
{ showRequireMark: false },
|
||||
),
|
||||
useFormTextarea(
|
||||
'WebHook推送通知回调数据(可选)',
|
||||
'data',
|
||||
{ rows: 3, placeholder: '请使用JSON格式,例如:{"title":"test","content":"test"}' },
|
||||
{ showRequireMark: false },
|
||||
),
|
||||
useFormSwitch('忽略SSL/TLS证书错误', 'ignore_ssl'),
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user