| | |
| | | public static string PushWToUserMES(string phone, string conment) |
| | | { |
| | | string url = "https://mb345.com/ws/BatchSend2.aspx"; |
| | | string data = "CorpID=XP010534&Pwd=123321&Mobile="+ phone + "&Content="+ conment + "【政采咨询网】&SendTime="; |
| | | string data = "CorpID=XP010534&Pwd=123321&Mobile="+ phone + "&Content="+ conment + " 退订回N【政采咨询网】&SendTime="; |
| | | string ssss = HttpClientRequest.HttpClientPostGB2312(url, "POST", data); |
| | | return ssss; |
| | | } |
| | |
| | | resultEntity.Message = "无联系人"; |
| | | } |
| | | |
| | | string sss = SMSHelper.PushWToUserMES(number.ToString(), "您好," + neirong + " 详情见:http://51zhengcai.com/"); |
| | | string sss = SMSHelper.PushWToUserMES(number.ToString(), neirong ); |
| | | if (int.Parse(sss) <= 0) |
| | | { |
| | | resultEntity.Result = false; |
| | |
| | | resultEntity.Message = "无联系人"; |
| | | } |
| | | |
| | | string sss = SMSHelper.PushWToUserMES(number.ToString(), "您好," + neirong + " 详情见:http://51zhengcai.com/"); |
| | | string sss = SMSHelper.PushWToUserMES(number.ToString(), neirong ); |
| | | if (int.Parse(sss) <= 0) |
| | | { |
| | | resultEntity.Result = false; |
| | |
| | | IntentionCustomerDTO intentionCustomerDTO = _intentionCustomerService.Get(data.Viscustomer); |
| | | if(intentionCustomerDTO!=null && ( !string.IsNullOrEmpty(intentionCustomerDTO.Phone) || !string.IsNullOrEmpty(intentionCustomerDTO.Tel))) |
| | | { |
| | | string sss = SMSHelper.PushWToUserMES(string.IsNullOrEmpty(intentionCustomerDTO.Phone)? intentionCustomerDTO.Tel: intentionCustomerDTO.Phone, "您好," + data.DuanxinNeirong + " 详情见:http://51zhengcai.com/" ); |
| | | string sss = SMSHelper.PushWToUserMES(string.IsNullOrEmpty(intentionCustomerDTO.Phone)? intentionCustomerDTO.Tel: intentionCustomerDTO.Phone, data.DuanxinNeirong ); |
| | | if (int.Parse(sss) <= 0) |
| | | { |
| | | resultEntity.Result = false; |
| | |
| | | resultEntity.Message = "无联系人"; |
| | | } |
| | | |
| | | string sss = SMSHelper.PushWToUserMES(number.ToString(), "您好," + neirong + " 详情见:http://51zhengcai.com/"); |
| | | string sss = SMSHelper.PushWToUserMES(number.ToString(), neirong ); |
| | | if (int.Parse(sss) <= 0) |
| | | { |
| | | resultEntity.Result = false; |
| | |
| | | resultEntity.Message = "无联系电话"; |
| | | } |
| | | |
| | | string sss = SMSHelper.PushWToUserMES(number.ToString(), "您好,"+neirong+" 详情见:http://51zhengcai.com/" ); |
| | | string sss = SMSHelper.PushWToUserMES(number.ToString(), neirong ); |
| | | if (int.Parse(sss) <= 0) |
| | | { |
| | | resultEntity.Result = false; |