using Microsoft.AspNetCore.Builder;
|
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Mvc;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEAWCS_Core;
|
using WIDESEAWCS_Core.BaseServices;
|
using WIDESEAWCS_Model;
|
using WIDESEAWCS_Model.Models;
|
|
namespace WIDESEAWCS_ISystemServices
|
{
|
public interface ISys_UserService : IService<Sys_User>
|
{
|
WebResponseContent Login(LoginInfo loginInfo);
|
|
WebResponseContent GetCurrentUserInfo();
|
|
WebResponseContent ModifyPwd(string oldPwd, string newPwd);
|
|
/// <summary>
|
/// 给前端返回用户表,更具id的不同区分类别2=质检组,3=电气组,4=机械,5=地沟
|
/// </summary>
|
/// <returns></returns>
|
WebResponseContent GetUerType();
|
|
|
/// <summary>
|
/// 根据用户来决定查看当前作业的权限
|
/// </summary>
|
/// <param name="type"></param>
|
/// <returns></returns>
|
WebResponseContent PermissionView(int userId, string group);
|
|
|
/// <summary>
|
/// 上传用户头像
|
/// </summary>
|
/// <param name="files"></param>
|
/// <returns></returns>
|
WebResponseContent UploaDavatar(List<IFormFile> files, int userId);
|
|
}
|
}
|