调整url命名
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
+1
-1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user