调整url命名

This commit is contained in:
aoshiguchen
2023-07-04 21:03:26 +08:00
parent 30b115610b
commit cd4c9f2aae
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -63,10 +63,10 @@ export function deletePortPool(id) {
export function deleteBatchPortPool(ids) {
return request({
url: '/port-pool/deleteBatch',
url: '/port-pool/delete-batch',
method: 'post',
data: {
ids:ids
ids: ids
}
})
}
@@ -125,7 +125,7 @@ public class PortPoolController {
}
@Post
@Mapping("/deleteBatch")
@Mapping("/delete-batch")
@Authorization(onlyAdmin = true)
public void deleteBatch(PortPoolDeleteBatchReq req) {
ParamCheckUtil.checkNotNull(req, "req");