mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-12 13:39:01 +08:00
feat(encrypt-api): 支持全局请求报文加密
BREAKING CHANGE: 文档和用法完全和之前不一样,不需要耦合代码
This commit is contained in:
1 parent
1665598520
commit
ec9eb5a69e
38 files changed
+678
-965
No files matched your search
+2
@@ -20,6 +20,7 @@ package com.pig4cloud.pigx.codegen.controller;
|
||||
import cn.hutool.core.io.IoUtil;
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.pig4cloud.pigx.codegen.service.GeneratorService;
|
||||
import com.pig4cloud.pigx.common.api.encrypt.annotation.NoEncrypt;
|
||||
import com.pig4cloud.pigx.common.core.util.R;
|
||||
import com.pig4cloud.pigx.common.idempotent.annotation.Idempotent;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
@@ -56,6 +57,7 @@ public class GeneratorController {
|
||||
* @param response 流输出对象
|
||||
*/
|
||||
@SneakyThrows
|
||||
@NoEncrypt
|
||||
@GetMapping("/download")
|
||||
@Idempotent(key = "#tableIds", expireTime = 10, info = "正在生成代码,请勿重复操作")
|
||||
public void download(String tableIds, HttpServletResponse response) {
|
||||
|
||||
Reference in new issue
Block a user