소스 검색

特殊字符替换

WH01243 1 년 전
부모
커밋
6e3ece5132
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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