public bool GetSendMessage(string openId, string template_id, string targetUrl) { LogUtil.WebLog("开始发送消息!"); bool result = NewContactMessageUtil.SendMessageToUser(openId, template_id, targetUrl, ""); if (result) { LogUtil.WebLog("消息发送成功!"); } else { LogUtil.WebLog("消息发送失败!"); } return(result); }
public string GetUserOpenId() { return(NewContactMessageUtil.GetUserOpenId()); }