Commit 385c46e9 authored by liudong1993's avatar liudong1993

1

parent f6b795a6
......@@ -2395,7 +2395,7 @@ namespace Mall.WebApi.Controllers.User
}
}
demodel.IsCommon = 2;
if (demodel.CategoryList == null && !demodel.CategoryList.Any()) {
if (demodel.CategoryList == null || !demodel.CategoryList.Any()) {
demodel.IsCommon = 1;//通用
}
......
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