From f6d92dde3a9eec392acc1a4664f84f35c3cc37a7 Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Wed, 21 Mar 2018 15:51:44 +0800 Subject: [PATCH] update --- .../payment/manage/appclient/web/RetailAppController.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/appclient/web/RetailAppController.java b/src/main/java/au/com/royalpay/payment/manage/appclient/web/RetailAppController.java index 63cbccee5..4a5dbe387 100644 --- a/src/main/java/au/com/royalpay/payment/manage/appclient/web/RetailAppController.java +++ b/src/main/java/au/com/royalpay/payment/manage/appclient/web/RetailAppController.java @@ -408,8 +408,9 @@ public class RetailAppController { } @RequestMapping(value = "/client/manual_settle", method = RequestMethod.PUT) - public void confirmSourceAgreeFile(@ModelAttribute(CommonConsts.RETAIL_DEVICE) JSONObject device,@RequestParam boolean manual_settle) { - retailAppService.changeManualSettle(device,manual_settle); + @RequestBody + public void confirmSourceAgreeFile(@ModelAttribute(CommonConsts.RETAIL_DEVICE) JSONObject device,@RequestBody JSONObject data) { + retailAppService.changeManualSettle(device,data.getBoolean("manual_settle")); } }