30 lines
693 B
C#
30 lines
693 B
C#
using Furion.DynamicApiController;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Waste.Application
|
|
{
|
|
/// <summary>
|
|
/// 账户接口
|
|
/// </summary>
|
|
public class AccountAppService: IDynamicApiController
|
|
{
|
|
private readonly IAccountService _accountService;
|
|
|
|
public AccountAppService(IAccountService accountService)
|
|
{
|
|
_accountService = accountService;
|
|
}
|
|
/// <summary>
|
|
/// 测试接口
|
|
/// </summary>
|
|
public async Task<int> GetTest()
|
|
{
|
|
return await _accountService.LoginAsync(null);
|
|
}
|
|
}
|
|
}
|