修复生成海报保存路径问题。

This commit is contained in:
JianWeie
2022-01-20 15:07:37 +08:00
parent 3fe754c3b4
commit 4982dd45a5

View File

@@ -854,7 +854,7 @@ namespace CoreCms.Net.Services
var fileName = fileNameStr;
//文件硬地址
var savePath = _webHostEnvironment.WebRootPath + "/static/qrCode/weChat/";
var savePath = _webHostEnvironment.WebRootPath + "/static/poster/";
var qrCodeDir = _webHostEnvironment.WebRootPath + "/static/qrCode/weChat/" + otherData;
//如果文件夹不存在,则创建文件夹
if (!Directory.Exists(savePath)) Directory.CreateDirectory(savePath);