| | |
| | | 锘縰sing Microsoft.AspNetCore.Mvc; |
| | | 锘縰sing Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseController; |
| | | using WIDESEA_IBasicService; |
| | | using WIDESEA_Model.Models; |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers.Basic |
| | | { |
| | | /// <summary> |
| | | /// 鐢ㄦ埛 |
| | | /// </summary> |
| | | [Route("api/[controller]")] |
| | | [ApiController] |
| | | public class UserInfoController : ApiBaseController<IUserInfoService, Dt_UserInfo> |
| | |
| | | public UserInfoController(IUserInfoService service) : base(service) |
| | | { |
| | | } |
| | | /// <summary> |
| | | /// 鐢熸垚鐢ㄦ埛璐﹀彿 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost,Route("AddUser"),AllowAnonymous] |
| | | public WebResponseContent AddUser() |
| | | { |
| | | return Service.AddUser(); |
| | | } |
| | | } |
| | | } |