Browse Source

处理BUG

zhou.xiaoning 3 years ago
parent
commit
4cadba5d19
1 changed files with 3 additions and 3 deletions
  1. 3 3
      service/thjNtf.go

+ 3 - 3
service/thjNtf.go

@@ -191,7 +191,7 @@ func onTHJPurchaseTradeNtf(bytes *[]byte) {
 
 	// 导出pdf到目标目录
 	folderPath := "Purchase_Contract/" + time.Now().Format("20060102")
-	savePath := openconfig.CONFIGVALUE + "/" + folderPath
+	savePath := openconfig.CONFIGVALUE + "/uploadFile/" + folderPath
 	if exist, _ := utils.PathExists(savePath); !exist {
 		os.MkdirAll(savePath, os.ModePerm)
 	}
@@ -410,7 +410,7 @@ func onTHJPurchaseTransferNtf(bytes *[]byte) {
 
 	// 导出pdf到目标目录
 	folderPath := "Agreement_Assignment/" + time.Now().Format("20060102")
-	savePath := openconfig.CONFIGVALUE + "/" + folderPath
+	savePath := openconfig.CONFIGVALUE + "/uploadFile/" + folderPath
 	if exist, _ := utils.PathExists(savePath); !exist {
 		os.MkdirAll(savePath, os.ModePerm)
 	}
@@ -591,7 +591,7 @@ func buildWRTradeDealedContract(wrtradetradequote model.Wrtradetradequote, buyOr
 
 	// 导出pdf到目标目录
 	folderPath := "Spot_Contract/" + time.Now().Format("20060102")
-	savePath := openconfig.CONFIGVALUE + "/" + folderPath
+	savePath := openconfig.CONFIGVALUE + "/uploadFile/" + folderPath
 	if exist, _ := utils.PathExists(savePath); !exist {
 		os.MkdirAll(savePath, os.ModePerm)
 	}