|
|
@@ -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)
|
|
|
}
|