* webhook: split create(), add unit test.

This commit is contained in:
sunguangming
2023-12-20 19:46:44 +08:00
parent 1790aedf9e
commit 9a4a5e9adf
4 changed files with 154 additions and 84 deletions
+1
View File
@@ -63,6 +63,7 @@ foreach($fields as $field => $attr)
if($field == 'agentId' || $field == 'appKey' || $field == 'appSecret') $required = true;
if($field == 'feishuAppId' || $field == 'feishuAppSecret') $required = true;
if($field == 'wechatCorpId' || $field == 'wechatCorpSecret' || $field == 'wechatAgentId') $required = true;
if($field == 'type') $required = true;
$formItems[] = formRow
(