|
|
|
@ -438,7 +438,7 @@ namespace _24Hour
|
|
|
|
|
/// 微信公众号消息提醒,推送律师用户(检察官审核结果提醒) |
|
|
|
|
/// </summary> |
|
|
|
|
/// <returns></returns> |
|
|
|
|
public async Task<string> gzhwxtsshtxjg(string useropenId, string name, string? phone, DateTime? time1, DateTime time2) |
|
|
|
|
public async Task<string> gzhwxtsshtxjg(string useropenId,string type, string result, DateTime time2) |
|
|
|
|
{ |
|
|
|
|
try |
|
|
|
|
{ |
|
|
|
@ -466,9 +466,8 @@ namespace _24Hour
|
|
|
|
|
{ |
|
|
|
|
object msg = null; |
|
|
|
|
string posturl = $"{url}{token}";//发送地址 |
|
|
|
|
var thing4 = name; |
|
|
|
|
if (!string.IsNullOrEmpty(name) && name.Length > 20) |
|
|
|
|
thing4 = name.Substring(0, 17) + "..."; |
|
|
|
|
if (!string.IsNullOrEmpty(result) && result.Length > 20) |
|
|
|
|
result = result.Substring(0, 17) + "..."; |
|
|
|
|
msg = new |
|
|
|
|
{ |
|
|
|
|
touser = useropenId, |
|
|
|
@ -488,8 +487,9 @@ namespace _24Hour
|
|
|
|
|
//}, |
|
|
|
|
data = new |
|
|
|
|
{ |
|
|
|
|
thing3 = new { value = $"{name}" }, |
|
|
|
|
time4 = new { value = $"{time1.Value.ToString("yyyy-MM-dd HH:mm")}" }, |
|
|
|
|
thing2 = new { value = $"{type}" }, |
|
|
|
|
thing3 = new { value = $"{result}" }, |
|
|
|
|
//time4 = new { value = $"{time1.Value.ToString("yyyy-MM-dd HH:mm")}" }, |
|
|
|
|
time5 = new { value = $"{time2.ToString("yyyy-MM-dd HH:mm")}" }, |
|
|
|
|
}, |
|
|
|
|
}; |
|
|
|
|