123456789101112131415161718192021222324252627282930313233343536373839404142 |
-
- using LeaRun.Application.Entity;
- namespace LeaRun.Application.IService
- {
- /// <summary>
- /// 版 本
- /// Copyright (c) 2013-2016 上海力软信息技术有限公司
- /// 创建人:佘赐雄
- /// 日 期:2016.05.11 16:23
- /// 描 述:注册用户信息表
- /// </summary>
- public interface IAccountService
- {
- /// <summary>
- /// 登录验证
- /// </summary>
- /// <param name="mobileCode">用户名</param>
- /// <param name="password">密码</param>
- /// <returns></returns>
- AccountEntity CheckLogin(string mobileCode, string password);
- /// <summary>
- /// 获取验证码
- /// </summary>
- /// <param name="mobileCode">手机号码</param>
- /// <returns>返回6位数验证码</returns>
- string GetSecurityCode(string mobileCode);
- /// <summary>
- /// 注册账户
- /// </summary>
- /// <param name="accountEntity">实体对象</param>
- void Register(AccountEntity accountEntity);
- /// <summary>
- /// 登录限制
- /// </summary>
- /// <param name="platform">平台(苹果、安卓、PC浏览器)</param>
- /// <param name="account">账户</param>
- /// <param name="IPAddress">IP地址</param>
- /// <param name="iPAddressName">IP所在城市</param>
- void LoginLimit(string platform, string account, string iPAddress, string iPAddressName);
- }
- }
|