Commit efb148eb authored by liudong1993's avatar liudong1993

资源上传 存储全路径

parent f023186f
...@@ -90,11 +90,11 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -90,11 +90,11 @@ namespace Mall.WebApi.Controllers.MallBase
return ApiResult.ParamIsNull("请传递文件路径"); return ApiResult.ParamIsNull("请传递文件路径");
} }
//HK2020-09-01修改 //HK2020-09-01修改
if (demodel.Type == 1) //if (demodel.Type == 1)
{ //{
demodel.Path = Config.GetFilePath(demodel.Path); // demodel.Path = Config.GetFilePath(demodel.Path);
demodel.Image = Config.GetFilePath(demodel.Image); // demodel.Image = Config.GetFilePath(demodel.Image);
} //}
demodel.TenantId = Convert.ToInt32(parms.uid); demodel.TenantId = Convert.ToInt32(parms.uid);
demodel.MallBaseId = parms.MallBaseId; demodel.MallBaseId = parms.MallBaseId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment