|
|
@@ -118,7 +118,7 @@ public class XfDiscounttermController extends BaseController {
|
|
|
@SyncDataToLocal(eventType = DISCOUNT_TERM_REMOVE, sender = XF_DISCOUNT_SENDER)
|
|
|
@DeleteMapping("/{discountTermIds}")
|
|
|
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
|
|
- @PathVariable Long[] termIds) {
|
|
|
- return toAjax(xfDiscounttermService.deleteWithValidByIds(List.of(termIds), true));
|
|
|
+ @PathVariable Long[] discountTermIds) {
|
|
|
+ return toAjax(xfDiscounttermService.deleteWithValidByIds(List.of(discountTermIds), true));
|
|
|
}
|
|
|
}
|