2025-08-15 15:36:40 +08:00

28 lines
529 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using SWS.Commons;
using SWS.Model;
namespace SWS.Service
{
public class UserService : HttpService
{
public UserService() : base()
{
}
public async Task GetList()
{
var res = await this.GetAsync<List<User>>($"UserApi/GetList");
if (res.code == 200)
{
GlobalObject.Users = res.data;
}
else
{
}
}
}
}