Commit c09235ad by 纪旭 韦

删除一点不必要的代码

parent cdddd6ee
...@@ -804,7 +804,7 @@ public ApiResponse SaveGatherHands(int allotId, [FromBody] SaveGatherData reques ...@@ -804,7 +804,7 @@ public ApiResponse SaveGatherHands(int allotId, [FromBody] SaveGatherData reques
/// <returns></returns> /// <returns></returns>
[Route("getgather/{allotId},{department},{source}")] [Route("getgather/{allotId},{department},{source}")]
[HttpPost] [HttpPost]
public ApiResponse GetGather([FromRoute] int allotId, [FromRoute] string department, [FromRoute] string source,[FromBody] PersonParamsRequest request) public ApiResponse GetGather([FromRoute] int allotId,string department,string source,[FromBody] PersonParamsRequest request)
{ {
if (allotId <= 0 || string.IsNullOrEmpty(department) || string.IsNullOrEmpty(source)) if (allotId <= 0 || string.IsNullOrEmpty(department) || string.IsNullOrEmpty(source))
return new ApiResponse(ResponseType.Fail, "参数错误", "请检查allotId,department,source是否正确"); return new ApiResponse(ResponseType.Fail, "参数错误", "请检查allotId,department,source是否正确");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment