提交
This commit is contained in:
49
api_v1/Appointment.IRepository/IUserRepo.cs
Normal file
49
api_v1/Appointment.IRepository/IUserRepo.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
using Appointment.Entity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Appointment.IRepository
|
||||
{
|
||||
public interface IUserRepo
|
||||
{
|
||||
/// <summary>
|
||||
/// 工号密码登录
|
||||
/// </summary>
|
||||
/// <param name="userName"></param>
|
||||
/// <param name="userPwd"></param>
|
||||
/// <param name="code"></param>
|
||||
/// <param name="hotelid">酒店id</param>
|
||||
/// <returns></returns>
|
||||
public ApiResult<UserInfoRes> UserNameLogin(string userName, string userPwd, string code, string hotelid);
|
||||
|
||||
/// <summary>
|
||||
/// 微信登录
|
||||
/// </summary>
|
||||
/// <param name="code"></param>
|
||||
/// <param name="hotelid">酒店id</param>
|
||||
/// <returns></returns>
|
||||
public ApiResult<UserInfoRes> WxLogin(string code, string hotelid);
|
||||
|
||||
/// <summary>
|
||||
/// 绑定微信服务号openid
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult WxServiceSet(WxServiceSetRes req);
|
||||
|
||||
/// <summary>
|
||||
/// 获取所有用户
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
ApiResult<List<LoginUserRes>> GetSendUserList(BindUserReq req = null);
|
||||
|
||||
/// <summary>
|
||||
/// 当前用户角色是否具有转审权限
|
||||
/// </summary>
|
||||
/// <param name="req"></param>
|
||||
/// <returns></returns>
|
||||
public ApiResult<List<LoginUserRes>> GetTransferAuditUserList(BindUserReq req);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user