【smart-app】 更新beta版本

This commit is contained in:
zhuoda
2024-03-17 22:57:18 +08:00
parent dd43d6e9da
commit de915358cc
304 changed files with 44899 additions and 5992 deletions

View File

@@ -60,9 +60,9 @@ public class ${name.upperCamel}Controller {
#if($deleteInfo.deleteEnum == "Single" || $deleteInfo.deleteEnum == "SingleAndBatch")
@Operation(summary = "单个删除 @author ${basic.backendAuthor}")
@GetMapping("/${name.lowerCamel}/delete/{${name.lowerCamel}Id}")
@GetMapping("/${name.lowerCamel}/delete/{${primaryKeyFieldName}}")
public ResponseDTO<String> batchDelete(@PathVariable ${primaryKeyJavaType} ${primaryKeyFieldName}) {
return ${name.lowerCamel}Service.delete(${name.lowerCamel}Id);
return ${name.lowerCamel}Service.delete(${primaryKeyFieldName});
}
#end
#end

View File

@@ -65,22 +65,6 @@ server:
pattern: "%t %{X-Forwarded-For}i %a %r %s (%D ms) %I (%B byte)"
# 文件上传 配置
#file:
# storage:
# mode: local
# local:
# upload-path: /home/smart_admin_v3/upload/ #文件上传目录
# url-prefix:
# cloud:
# region: oss-cn-qingdao
# endpoint: oss-cn-qingdao.aliyuncs.com
# bucket-name: common
# access-key:
# secret-key:
# url-prefix: https://${file.storage.cloud.bucket-name}.${file.storage.cloud.endpoint}/
# private-url-expire-seconds: 3600
# 文件上传 配置
file:
storage:
@@ -97,6 +81,7 @@ file:
url-prefix: https://${file.storage.cloud.bucket-name}.${file.storage.cloud.endpoint}/
private-url-expire-seconds: 3600
# open api配置
springdoc:
swagger-ui: