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