gamelife 自定义客户端集成游戏任务接口

This commit is contained in:
2025-06-18 20:36:04 +08:00
parent 1fd58c8966
commit 1395922d1a
34 changed files with 559 additions and 219 deletions

View File

@ -293,6 +293,9 @@ func (s *sReward) List(ctx context.Context, in *model.RewardListIn) (out *model.
if in.Name != "" {
orm = orm.WhereLike(dao.Rewards.Columns().Name, "%"+in.Name+"%")
}
if in.RewardTypeId != 0 {
orm = orm.Where(do.Rewards{RewardTypeId: in.RewardTypeId})
}
total, err := orm.Count()
if err != nil {