Commit 13813b55 authored by 黄奎's avatar 黄奎

页面修改

parent 4d2f3248
......@@ -26,6 +26,10 @@ namespace Mall.Repository.User
{
builder.AppendFormat(" AND MallBaseId={0} ", query.MallBaseId);
}
if (query.NavIconIsShow != null && query.NavIconIsShow > -1)
{
builder.AppendFormat(" AND NavIconIsShow={0} ", query.NavIconIsShow);
}
}
builder.Append(" ORDER BY NavIconSort ASC ");
return Get<RB_MiniProgram_Navicon_Extend>(builder.ToString()).ToList();
......
......@@ -48,7 +48,9 @@ namespace Mall.WebApi
"http://localhost:8080",
"http://localhost:8082",
"http://127.0.0.1:50512",
"http://127.0.0.1:20224"
"http://127.0.0.1:20224",
"http://mall.oytour.com",
"http://testmall.oytour.com"
};
services.AddCors(options => options.AddPolicy("AllowCors", policy => policy.AllowAnyHeader().AllowAnyMethod().AllowCredentials().WithOrigins(corsArray.ToArray())));
}
......
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