mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:03:27 +08:00
修复生成海报保存路径问题。
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user