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