1、接收端写法
@PermissionAnnotation(permissionName = "",isCheckToken = true)
@PostMapping("/batchDeleteByIds")
public ReturnBean webPageSelf(
@NotNull(message ="请选择要删除的单据!") Long[] ids
)
{
for (Long string : ids) {
log.debug("id: "+ string);
}
return ReturnBean.success("");
}
2、FoxApi测试方法
3、后端输出
2024-12-30 11:34:06.910 DEBUG 15992 --- [nio-8019-exec-7] c.i.a.c.AppInventoryOrderController : id: 1234
2024-12-30 11:34:06.910 DEBUG 15992 --- [nio-8019-exec-7] c.i.a.c.AppInventoryOrderController : id: 32423
2024-12-30 11:34:06.910 DEBUG 15992 --- [nio-8019-exec-7] c.i.a.c.AppInventoryOrderController : id: 43231