|
|
|
@ -38,7 +38,7 @@ namespace BWP.B3WeChat.Utils |
|
|
|
/// <param name="when">操作时间</param>
|
|
|
|
/// <param name="remark">备注</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
public static SendTemplateMessageResult SendInformInfo(string openid, string title, string informtime, string informcontent, string who,string ip, string when, string remark) |
|
|
|
public static SendTemplateMessageResult SendInformInfo(string openid, string title, string informtime, string informcontent, string who,string ip, string when, string remark,string url="") |
|
|
|
{ |
|
|
|
Dictionary<string, ValueColor> dic = new Dictionary<string, ValueColor>(); |
|
|
|
dic.Add("first", new ValueColor() { value = title, color = "#173177" }); |
|
|
|
@ -48,7 +48,7 @@ namespace BWP.B3WeChat.Utils |
|
|
|
dic.Add("keyword4", new ValueColor() { value = ip, color = "#173177" }); |
|
|
|
dic.Add("keyword5", new ValueColor() { value = when, color = "#173177" }); |
|
|
|
dic.Add("remark", new ValueColor() { value = remark, color = "#173177" }); |
|
|
|
return InOutMessageUtil.SendTemplateMessage(openid, "JEOjjJ-L-hflfWoHEf7dRMlhj7fCs9NoOYf1iTQ03D4", dic); |
|
|
|
return InOutMessageUtil.SendTemplateMessage(openid, "JEOjjJ-L-hflfWoHEf7dRMlhj7fCs9NoOYf1iTQ03D4", dic,url); |
|
|
|
} |
|
|
|
} |
|
|
|
} |