瀏覽代碼

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



Loading…
取消
儲存