mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-09 20:57:21 +08:00
build: continew-starter 2.10.0 => 2.11.0
1.SaToken 升级适配 2.DictField 注解 => DictModel 3.BaseIdResp => IdResp 4.CRUD 删除接口由 URL 传参重构为请求体传参 5.访问日志打印问题修复等
This commit is contained in:
@@ -57,7 +57,7 @@ export function update${classNamePrefix}(data: any, id: string) {
|
||||
|
||||
/** @desc 删除${businessName} */
|
||||
export function delete${classNamePrefix}(id: string) {
|
||||
return http.del(`${'$'}{BASE_URL}/${'$'}{id}`)
|
||||
return http.del(`${'$'}{BASE_URL}/`, { ids: [id] })
|
||||
}
|
||||
|
||||
/** @desc 导出${businessName} */
|
||||
|
@@ -16,6 +16,7 @@
|
||||
|
||||
package top.continew.admin.open.sign;
|
||||
|
||||
import cn.dev33.satoken.secure.SaSecureUtil;
|
||||
import cn.dev33.satoken.sign.SaSignTemplate;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.stereotype.Component;
|
||||
@@ -71,6 +72,6 @@ public class OpenApiSignTemplate extends SaSignTemplate {
|
||||
// 移除 sign 参数
|
||||
paramMap.remove(sign);
|
||||
// 计算签名
|
||||
return super.abstractStr(super.joinParamsDictSort(paramMap));
|
||||
return SaSecureUtil.md5(super.joinParamsDictSort(paramMap));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user