Commit cf5d84ba authored by 黄奎's avatar 黄奎

页面修改

parent 6c9ce8e0
......@@ -88,8 +88,10 @@ namespace Mall.WebApi.Controllers.MallBase
{
return ApiResult.ParamIsNull("请传递文件路径");
}
demodel.Path = Config.GetFilePath(demodel.Path);
if (demodel.Type == 1)
{
demodel.Path = Config.GetFilePath(demodel.Path);
}
demodel.Image = Config.GetFilePath(demodel.Image);
demodel.TenantId = Convert.ToInt32(parms.uid);
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