Browse Source

IRS请求转发

master
PoffyZhang 1 year ago
parent
commit
4273a93aea
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/ding/controller/DingInfoPullController.java

+ 3
- 2
pmapi/src/main/java/com/ningdatech/pmapi/ding/controller/DingInfoPullController.java View File

@@ -29,6 +29,7 @@ import org.springframework.util.Assert;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.client.RestTemplate;
import javax.annotation.Resource;
import javax.validation.Valid;
import java.io.*;
import java.security.NoSuchAlgorithmException;
import java.util.Objects;
@@ -266,8 +267,8 @@ public class DingInfoPullController {
}

@ApiOperation(value = "转发IRS请求", notes = "转发IRS请求 用于")
@GetMapping("/forward")
public String forward(ForwardDTO dto) {
@PostMapping("/forward")
public String forward(@Valid @RequestBody ForwardDTO dto) {
return irsManage.forward(dto);
}



Loading…
Cancel
Save