feat: add wechat mini program mall, check-in supplement and pet skin system
This commit implements a complete WeChat mini program mall and related features: 1. Add pet skin entity and backpack item type support 2. Add make-up check-in and missed date query functions 3. Implement mall product browsing, exchange and record query 4. Add backpack management and item usage (make-up card) 5. Add pet skin equipping function 6. Fix UserBag ItemId type from int to long 7. Adjust Dockerfile exposed port to 8080 8. Fix session cookie unprotect warning
This commit is contained in:
@ -21,4 +21,20 @@ public interface ICheckInService : IBaseService<CheckInRecord>
|
||||
/// <param name="userId">用户Id</param>
|
||||
/// <returns>签到信息</returns>
|
||||
Task<CheckInInfoOutput> GetCheckInInfoAsync(long userId);
|
||||
|
||||
/// <summary>
|
||||
/// 补签(消耗补签卡,补签历史漏签日期)
|
||||
/// </summary>
|
||||
/// <param name="userId">用户Id</param>
|
||||
/// <param name="targetDate">补签目标日期</param>
|
||||
/// <returns>补签结果</returns>
|
||||
Task<CheckInOutput> MakeUpCheckInAsync(long userId, DateTime targetDate);
|
||||
|
||||
/// <summary>
|
||||
/// 获取用户可补签的日期列表(历史漏签日期)
|
||||
/// </summary>
|
||||
/// <param name="userId">用户Id</param>
|
||||
/// <param name="days">往前查看天数(默认30天)</param>
|
||||
/// <returns>漏签日期列表</returns>
|
||||
Task<List<DateTime>> GetMissedDatesAsync(long userId, int days = 30);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user