using Gatedge.K3Cloud.Utils.Model.K3Request; using Gatedge.ScanCode.Services.IServices; using Gatedge.ScanCode.Utils; namespace Gatedge.ScanCode.Services { /// /// AccountService - 账号服务 /// public class AccountService : IAccountService { private readonly JwtUtils _jwtUtils; /// /// 注入Jwt /// /// public AccountService(JwtUtils jwtUtils) { _jwtUtils = jwtUtils; } /// /// 登录 /// /// /// public string Login(LoginInfo loginInfo) { return _jwtUtils.CreateToken(loginInfo); } } }