浏览代码

IRS请求转发

master
PoffyZhang 1年前
父节点
当前提交
4273a93aea
共有 1 个文件被更改,包括 3 次插入2 次删除
  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 查看文件

@@ -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);
}



正在加载...
取消
保存