This commit is contained in:
77
2024-04-01 23:20:47 +08:00
parent b199a83188
commit aff7c23d6e

View File

@@ -82,8 +82,7 @@ public class PayConfigController extends BaseController {
@SaCheckPermission("cai:payConfig:remove")
@Log(title = "支付配置", businessType = BusinessType.DELETE)
@DeleteMapping("/{id}")
public R<Void> remove(@NotEmpty(message = "主键不能为空")
@PathVariable Long id) {
public R<Void> remove(@NotNull(message = "主键不能为空") @PathVariable Long id) {
return toAjax(payConfigService.deletePayConfig(id));
}
}