产品排序

This commit is contained in:
wanyongkang
2020-10-19 17:37:25 +08:00
parent 7f5e014c60
commit 25e577ec82
8 changed files with 9 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ namespace Hncore.Pass.Vpn.Service
public async Task<List<ProductWithPriceDiscountResponse>> GetPriceDiscount(int schemeId)
{
var products = await m_ProductService.Query(true).ToListAsync();
var products = await m_ProductService.Query(true).OrderBy(m=>m.Sort).ToListAsync();
var packages = m_ProductPackageService.Query(true);
var priceDiscount = this.Query(m => m.SchemeId == schemeId);