输出请求参数
This commit is contained in:
parent
e9e23d1324
commit
0a29703a19
@ -219,7 +219,11 @@
|
|||||||
<version>19.9</version>
|
<version>19.9</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.alibaba.fastjson2</groupId>
|
||||||
|
<artifactId>fastjson2</artifactId>
|
||||||
|
<version>2.0.12</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<!-- 编码识别 -->
|
<!-- 编码识别 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -4,6 +4,7 @@ import cn.keking.exception.KkFileException;
|
|||||||
import cn.keking.service.ContractService;
|
import cn.keking.service.ContractService;
|
||||||
import cn.keking.utils.Consts;
|
import cn.keking.utils.Consts;
|
||||||
import cn.keking.utils.ServiceResponse;
|
import cn.keking.utils.ServiceResponse;
|
||||||
|
import com.alibaba.fastjson2.JSON;
|
||||||
import io.swagger.annotations.*;
|
import io.swagger.annotations.*;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@ -122,6 +123,7 @@ public class ContractController {
|
|||||||
HttpServletResponse response
|
HttpServletResponse response
|
||||||
) {
|
) {
|
||||||
try {
|
try {
|
||||||
|
log.error(JSON.toJSONString(dataMap));
|
||||||
OutputStream outstream = null;
|
OutputStream outstream = null;
|
||||||
|
|
||||||
File file=contractService.download(templateName, dataMap);
|
File file=contractService.download(templateName, dataMap);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user