Commit cf5d84ba authored by 黄奎's avatar 黄奎

页面修改

parent 6c9ce8e0
...@@ -88,8 +88,10 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -88,8 +88,10 @@ namespace Mall.WebApi.Controllers.MallBase
{ {
return ApiResult.ParamIsNull("请传递文件路径"); return ApiResult.ParamIsNull("请传递文件路径");
} }
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