Explorar o código

特殊字符替换

WH01243 hai 1 ano
pai
achega
6e3ece5132
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      service/acceptance.go

+ 1 - 0
service/acceptance.go

@@ -17,6 +17,7 @@ import (
 )
 
 func AddAcceptance(in *biservice.AcceptanceReq, DkPersonMap []map[string]interface{}, entId int64, productMap map[string]string) string {
+	in.ParamData = strings.ReplaceAll(in.ParamData, "\n", "")
 	nowTime := time.Now().Format(date.Date_Full_Layout)
 	//编号处理
 	is_clue := 1