27 lines
1.0 KiB
C#
27 lines
1.0 KiB
C#
using CloudGaming.Repository.Game.Entities.App;
|
|
using CloudGaming.Api.Admin.ApplicationServices.Apps.App;
|
|
namespace CloudGaming.Api.Admin.Controllers.Apps.App;
|
|
|
|
/// <summary>
|
|
/// 通用奖励配置表 控制器
|
|
/// </summary>
|
|
[ControllerDescriptor(MenuId = "请设置菜单Id 系统菜单表中查找,如果不设置不受权限保护!", DisplayName = "通用奖励配置表")]
|
|
public class T_RewardConfigController(IServiceProvider serviceProvider)
|
|
: AdminGameControllerBase<T_RewardConfigService, T_RewardConfig, int, T_RewardConfig, T_RewardConfig>(serviceProvider)
|
|
{
|
|
/// <summary>
|
|
/// 获取列表
|
|
/// </summary>
|
|
/// <param name="signinId"></param>
|
|
/// <returns></returns>
|
|
[ActionDescriptor(PermissionFunctionConsts.Function_Display, DisplayName = "查看数据")]
|
|
[HttpGet("{typeId}/{productId?}")]
|
|
public async Task<List<T_RewardConfig>> FindListAsync([FromRoute] int typeId, [FromRoute] int productId)
|
|
{
|
|
return await this.Service.FindListAsync(typeId, productId);
|
|
}
|
|
|
|
|
|
|
|
|
|
} |