招聘API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
928 B

using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using Znyc.Recruitment.Common.Output;
using Znyc.Recruitment.Controllers;
using Znyc.Recruitment.Service;
namespace Znyc.Recruitment.Api.Controllers
{
/// <summary>
/// 充值活动服务
/// </summary>
public class RechargeController : BaseController
{
private readonly IRechargeService _rechargeService;
public RechargeController(IRechargeService rechargeService)
{
_rechargeService = rechargeService;
}
/// <summary>
/// 获取充值活动
/// </summary>
/// <returns></returns>
[HttpGet]
[AllowAnonymous]
[Route("api/v1/recharge")]
public async Task<IResponseOutput<RechargeGetOutput>> GetAsync()
{
return await _rechargeService.GetAsync();
}
}
}