public string SendMessageOnShopAudited(string destination, MessageShopInfo info) { MessageContent messageContentConfig = SiteMessageCore.GetMessageContentConfig(); string str = messageContentConfig.ShopAudited.Replace("#userName#", info.UserName).Replace("#companyName#", info.CompanyName).Replace("#siteName#", info.SiteName); SendMessage(destination, string.Concat(info.SiteName, "供应商(", info.CompanyName, ")已成功提交审核"), str, false); return(str); }
public string SendMessageOnFinishAuthentic(string destination, MessageShopInfo info) { MessageContent messageContentConfig = SiteMessageCore.GetMessageContentConfig(); string str = messageContentConfig.ShopSuccess.Replace("#userName#", info.UserName).Replace("#companyName#", info.CompanyName).Replace("#siteName#", info.SiteName); SendMessage(destination, string.Concat(info.SiteName, "供应商(", info.CompanyName, ")已经完成实地认证"), str, false); return(str); }
public string SendMessageOnOrderShipping(string destination, MessageOrderInfo info) { MessageContent messageContentConfig = SiteMessageCore.GetMessageContentConfig(); string str = messageContentConfig.OrderShipping.Replace("#userName#", info.UserName).Replace("#orderId#", info.OrderId).Replace("#siteName#", info.SiteName).Replace("#shippingCompany#", info.ShippingCompany).Replace("#shippingNumber", info.ShippingNumber); SendMessage(destination, string.Concat(info.SiteName, "订单(", info.OrderId, ")已发货"), str, false); return(str); }
public string SendMessageOnOrderCreate(string destination, MessageOrderInfo info) { MessageContent messageContentConfig = SiteMessageCore.GetMessageContentConfig(); string str = messageContentConfig.OrderCreated.Replace("#userName#", info.UserName).Replace("#orderId#", info.OrderId).Replace("#siteName#", info.SiteName); SendMessage(destination, string.Concat(info.SiteName, "订单创建成功"), str, false); return(str); }
public string SendMessageOnFindPassWord(string destination, MessageUserInfo info) { MessageContent messageContentConfig = SiteMessageCore.GetMessageContentConfig(); string str = messageContentConfig.FindPassWord.Replace("#userName#", info.UserName).Replace("#checkCode#", info.CheckCode).Replace("#siteName#", info.SiteName); SendMessage(destination, string.Concat(info.SiteName, "找回密码验证"), str, false); return(str); }
public string SendMessageOnOrderRefund(string destination, MessageOrderInfo info) { MessageContent messageContentConfig = SiteMessageCore.GetMessageContentConfig(); string str = messageContentConfig.OrderRefund.Replace("#userName#", info.UserName).Replace("#orderId#", info.OrderId).Replace("#siteName#", info.SiteName); decimal refundMoney = info.RefundMoney; string str1 = str.Replace("#RefundMoney#", refundMoney.ToString("F2")); SendMessage(destination, string.Concat(info.SiteName, "订单(", info.OrderId, ")退款已处理"), str1, false); return(str1); }
public string SendMessageOnOrderPay(string destination, MessageOrderInfo info) { MessageContent messageContentConfig = SiteMessageCore.GetMessageContentConfig(); string str = messageContentConfig.OrderPay.Replace("#userName#", info.UserName).Replace("#orderId#", info.OrderId).Replace("#siteName#", info.SiteName); decimal totalMoney = info.TotalMoney; string str1 = str.Replace("#Total#", totalMoney.ToString("F2")); SendMessage(destination, string.Concat(info.SiteName, "订单支付成功"), str1, false); return(str1); }