public static string sendMBMsg
{
get
{
return @"
""touser"":""{0}"",
""template_id"":""{1}"",
""url"":""{2}"",
""topcolor"":""#FF0000"",
""data"":{{
""first"": {{
""value"":""{3}"",
""color"":""#173177""
}},
""caseno"": {{
""value"":""{4}"",
""color"":""#173177""
}},
""receivetime"": {{
""value"":""{5}"",
""color"":""#173177""
}},
""alarmpepoleinfo"": {{
""value"":""{6}"",
""color"":""#173177""
}},
""caseaddr"": {{
""value"":""{7}"",
""color"":""#173177""
}},
""casecontent"": {{
""value"":""{8}"",
""color"":""#173177""
}},
""casetime"": {{
""value"":""{9}"",
""color"":""#173177""
}},
""remark"": {{
""value"":""{10}"",
""color"":""#173177""
}}
}}";
}
}
strTxt = "{" + string.Format(ReplyType.sendMBMsg, OpenID, strID, Url,"4","5","6","7","8","9","10","11") + "}";
引用 http://blog.csdn.net/leolws/article/details/5785655