dd
This commit is contained in:
parent
d74dc7cf6d
commit
85cb2d82ea
@ -170,10 +170,9 @@ namespace YD_WeChatApplet.Api.Services.Impl
|
|||||||
.Select(x => x.TaxonomyId)
|
.Select(x => x.TaxonomyId)
|
||||||
.ToListAsync();
|
.ToListAsync();
|
||||||
|
|
||||||
|
|
||||||
// 获取所有类型为2的课程
|
// 获取所有类型为2的课程
|
||||||
var paidCourses = await _sportsContext.CurricularTaxonomy
|
var paidCourses = await _sportsContext.CurricularTaxonomy
|
||||||
.Where(x => x.Remarks == redeemCode)
|
.Where(x => x.RedeemCode == redeemCode)
|
||||||
.ToListAsync();
|
.ToListAsync();
|
||||||
|
|
||||||
// 找出用户未购买的课程
|
// 找出用户未购买的课程
|
||||||
|
@ -31,5 +31,13 @@ namespace YD_WeChatApplet.Api.SmartSportsEntitys
|
|||||||
[Comment("课程类型")]
|
[Comment("课程类型")]
|
||||||
[Column(TypeName = "int)")]
|
[Column(TypeName = "int)")]
|
||||||
public int CurricularType { get; set; }
|
public int CurricularType { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///兑换码
|
||||||
|
/// </summary>
|
||||||
|
[Display(Name = "兑换码")]
|
||||||
|
[Comment("兑换码")]
|
||||||
|
[Column(TypeName = "nvarchar(1000)")]
|
||||||
|
public string RedeemCode { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user