Unverified Commit 405f934d authored by aiwenmo's avatar aiwenmo Committed by GitHub

[Optimization-459][alert-wechat,web] Optimization wechat Webhook sendMsg title

[Optimization-459][alert-wechat,web] Optimization wechat Webhook sendMsg title 
parents 7af982dd 0c6870b2
...@@ -81,7 +81,7 @@ public class WeChatSender { ...@@ -81,7 +81,7 @@ public class WeChatSender {
String data =""; String data ="";
if (sendType.equals(WeChatType.CHAT.getValue())) { if (sendType.equals(WeChatType.CHAT.getValue())) {
data = markdownByAlert(KeyWord, content ,userList);; data = markdownByAlert(title, content ,userList);;
}else{ }else{
data = markdownByAlert(title, content, userList); data = markdownByAlert(title, content, userList);
} }
......
...@@ -127,13 +127,6 @@ const WeChatForm: React.FC<AlertInstanceFormProps> = (props) => { ...@@ -127,13 +127,6 @@ const WeChatForm: React.FC<AlertInstanceFormProps> = (props) => {
> >
<Input placeholder="请输入用户"/> <Input placeholder="请输入用户"/>
</Form.Item> </Form.Item>
<Form.Item
name="userSendMsg"
label="发送信息"
rules={[{required: true, message: '请输入发送信息!'}]}
>
<Input defaultValue='{"touser":"{toUser}","agentid":{agentId},"msgtype":"{showType}","{showType}":{"content":"{msg}"}}' disabled placeholder="请输入发送信息"/>
</Form.Item>
<Form.Item <Form.Item
name="agentId" name="agentId"
label="代理ID" label="代理ID"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment