| | |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers.Approval |
| | | { |
| | | /// <summary> |
| | | /// 审æ¹ä»»å¡ |
| | | /// </summary> |
| | | [Route("api/[controller]")] |
| | | [ApiController] |
| | | public class ApprovalTaskController : ApiBaseController<IApprovalTaskService, Dt_ApprovalTask> |
| | |
| | | _webSocketServer = webSocketServer; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// åæå®¡æ¹ |
| | | /// </summary> |
| | | /// <param name="sourceKey"></param> |
| | | /// <returns></returns> |
| | | [HttpGet, HttpPost, Route("AuditAgree")] |
| | | public WebResponseContent AuditAgree(int sourceKey) |
| | | { |
| | | return Service.AuditAgree(sourceKey); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 驳åå®¡æ¹ |
| | | /// </summary> |
| | | /// <param name="sourceKey"></param> |
| | | /// <returns></returns> |
| | | [HttpGet, HttpPost, Route("AuditReject")] |
| | | public WebResponseContent AuditReject(int sourceKey) |
| | | { |
| | | return Service.AuditReject(sourceKey); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¨éæµè¯ |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpGet, HttpPost, Route("PushTest"), AllowAnonymous] |
| | | public WebResponseContent PushTest() |
| | | { |