| | |
| | | using Microsoft.Extensions.Caching.Memory; |
| | | using Newtonsoft.Json; |
| | | using StackExchange.Profiling; |
| | | using WIDESEAWCS_Common; |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_Core.Authorization; |
| | | using WIDESEAWCS_Core.BaseController; |
| | |
| | | using WIDESEAWCS_Core.HttpContextUser; |
| | | using WIDESEAWCS_Core.Utilities; |
| | | using WIDESEAWCS_DTO.SerialPort; |
| | | using WIDESEAWCS_DTO.Telescopic; |
| | | using WIDESEAWCS_ISystemServices; |
| | | using WIDESEAWCS_Model; |
| | | using WIDESEAWCS_Model.Models; |
| | |
| | | { |
| | | return Service.Upuserbase(userDTO); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 灞曠ず浜鸿劯鐢ㄦ埛淇℃伅 |
| | | /// </summary> |
| | | /// <param name="paginationDTO"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("GetUserFace"), AllowAnonymous] |
| | | public WebResponseContent GetUserFace([FromBody] PaginationDTO paginationDTO) |
| | | { |
| | | return Service.GetUserFace(paginationDTO); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 娣诲姞鐢ㄦ埛 |
| | | /// </summary> |
| | | /// <param name="addUserDTO"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("AdduserData"), AllowAnonymous] |
| | | public WebResponseContent AdduserData([FromBody]AddUserDTO addUserDTO) |
| | | { |
| | | return Service.AdduserData(addUserDTO); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 鏇存柊鐢ㄦ埛 |
| | | /// </summary> |
| | | /// <param name="addUserDTO"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("UpuserData"), AllowAnonymous] |
| | | public WebResponseContent UpuserData([FromBody] AddUserDTO addUserDTO) |
| | | { |
| | | return Service.UpuserData(addUserDTO); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 鍒犻櫎鐢ㄦ埛 |
| | | /// </summary> |
| | | /// <param name="deleteUserDTO"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("DeleteUserData"), AllowAnonymous] |
| | | public WebResponseContent DeleteUserData([FromBody] DeleteUserImg deleteUserDTO) |
| | | { |
| | | return Service.DeleteUserData(deleteUserDTO); |
| | | } |
| | | |
| | | } |
| | | |
| | | |