产品排序
This commit is contained in:
@@ -52,7 +52,7 @@ namespace Home.Controllers
|
||||
var ret = await m_ProductRouteService.Query(exp).OrderBy(m=>m.Sort).ToListAsync();
|
||||
|
||||
|
||||
var products = await m_ProductService.Query(m=>m.OnLine == 1).ToListAsync();
|
||||
var products = await m_ProductService.Query(m=>m.OnLine == 1).OrderBy(m=>m.Sort).ToListAsync();
|
||||
ViewData["products"] = products;
|
||||
return View(ret);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user