Files
glz 8291b82362 feat: 完成宠物模块重构与社区功能开发
本次提交包含多项核心更新:
1.  重构宠物模块数据结构:拆分皮肤图片为独立表,优化Pet、PetEvolution实体,调整字段类型与冗余字段
2.  新增宠物皮肤图片管理表,支持多进化阶段多图片展示
3.  完善宠物DTO,新增当前形态名称、皮肤信息与图片序列返回
4.  新增社区功能模块:
    - 微信端社区Feed流、点赞/取消点赞接口
    - 后台社区消息管理接口与服务实现
5.  优化商城与背包模块,替换皮肤图片获取逻辑为从新表读取预览图
6.  重构勋章服务,新增规则校验逻辑
7.  调整命名规范,修复原有控制器命名问题
2026-06-05 17:15:30 +08:00

32 lines
867 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using QYZH.InteractiveMagazine.Models.Dto;
namespace QYZH.InteractiveMagazine.IService;
/// <summary>
/// 社区微信端服务接口
/// </summary>
public interface IWeChatCommunityService
{
/// <summary>
/// 获取社区Feed流翻页
/// </summary>
/// <param name="userId">当前用户ID</param>
/// <param name="cursor">游标上一页最后一条消息的ID首次传null</param>
Task<WxFeedOutput> GetFeedAsync(long userId, long? cursor);
/// <summary>
/// 下拉刷新(返回最新列表)
/// </summary>
Task<WxFeedOutput> RefreshFeedAsync(long userId);
/// <summary>
/// 点赞
/// </summary>
Task<WxLikeOutput> LikeAsync(long userId, WxLikeInput input);
/// <summary>
/// 取消点赞
/// </summary>
Task<WxLikeOutput> UnlikeAsync(long userId, long messageId);
}