产品排序

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<ProductWithPackageUserPriceResponse>> GetPackageUserPrice(int userId)
{
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 userPrice = this.Query(m => m.UserId == userId);