提交代码
This commit is contained in:
parent
874c1c1808
commit
b84aaa98e1
|
|
@ -11,7 +11,8 @@ using SKIT.FlurlHttpClient.Wechat.TenpayV3.Models;
|
|||
|
||||
namespace HuanMeng.MiaoYu.WebApi.Controllers
|
||||
{
|
||||
[Route("api/[controller]")]
|
||||
//[Route("api/[controller]")]
|
||||
//[Route("api/")]
|
||||
[ApiController]
|
||||
public class OtherController : MiaoYuControllerBase
|
||||
{
|
||||
|
|
@ -22,7 +23,7 @@ namespace HuanMeng.MiaoYu.WebApi.Controllers
|
|||
/// 清除缓存
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("cache/clear")]
|
||||
[HttpGet("api/Other/cache/clear")]
|
||||
[AllowAnonymous]
|
||||
public async Task ClearCache()
|
||||
{
|
||||
|
|
@ -35,7 +36,7 @@ namespace HuanMeng.MiaoYu.WebApi.Controllers
|
|||
/// 清除缓存
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("cache/reload")]
|
||||
[HttpGet("api/Other/cache/reload")]
|
||||
[AllowAnonymous]
|
||||
public async Task ReloadCache()
|
||||
{
|
||||
|
|
@ -47,7 +48,7 @@ namespace HuanMeng.MiaoYu.WebApi.Controllers
|
|||
/// 获取看广告奖励
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[HttpPost("api/ad/reward")]
|
||||
[Authorize]
|
||||
public async Task<BaseResponse<string>> GetAdReward()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user