Commit b277d7ad authored by 吴春's avatar 吴春

介绍图必传验证

parent b663b6ca
......@@ -1071,7 +1071,10 @@ namespace Mall.WebApi.Controllers.TradePavilion
{
return ApiResult.Failed("请输入开发商");
}
if (query.BannerList == null || query.BannerList.Any())
{
return ApiResult.Failed("请上传介绍图");
}
if (query.BannerList != null && query.BannerList.Any())
{
query.Banner = JsonConvert.SerializeObject(query.BannerList);
......
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