From 6b14f6fdebc6bb3cb99aea0c0848ddfad0e30633 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 22 十二月 2021 14:02:46 +0800
Subject: [PATCH] 会员的免费质疑书,投诉书次数
---
zhengcaioa/zhengcaioa/Controllers/Customer/IntentionVisitController.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionVisitController.cs b/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionVisitController.cs
index ed15861..c0b5ec1 100644
--- a/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionVisitController.cs
+++ b/zhengcaioa/zhengcaioa/Controllers/Customer/IntentionVisitController.cs
@@ -247,7 +247,7 @@
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;
@@ -342,7 +342,7 @@
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;
@@ -352,7 +352,7 @@
CusFangwenjiluDTO dto = new CusFangwenjiluDTO();
dto.Fasongfangshi = "01";
dto.Fasongneirong = neirong;
- dto.Jieshouren = baifangid;
+ dto.Jieshouren = baifangid.Length > 2000 ? baifangid.Substring(0, 2000) : baifangid; ;
dto.RecStatus = "A";
dto.Creater = curentuser.Id;
dto.Modifytime = DateTime.Now;
@@ -431,7 +431,7 @@
CusFangwenjiluDTO dto = new CusFangwenjiluDTO();
dto.Fasongfangshi = "02";
dto.Fasongneirong = neirong;
- dto.Jieshouren = baifangid;
+ dto.Jieshouren = baifangid.Length > 2000 ? baifangid.Substring(0, 2000) : baifangid; ;
dto.RecStatus = "A";
dto.Creater = curentuser.Id;
dto.Modifytime = DateTime.Now;
--
Gitblit v1.9.1