Merge branch 'abp' of https://gitee.com/ccnetcore/Yi into abp

This commit is contained in:
Xwen
2023-12-16 17:47:52 +08:00
6 changed files with 1340 additions and 10 deletions

View File

@@ -15,10 +15,10 @@ export function add(data) {
});
}
export function del(code) {
export function del(id) {
return request({
url: `/comment`,
method: "delete",
data: "string" == typeof code ? [code] : code,
params: {id:id},
});
}