Showing
1 changed file
with
2 additions
and
1 deletions
@@ -10,6 +10,7 @@ import org.apache.commons.lang.StringUtils; | @@ -10,6 +10,7 @@ import org.apache.commons.lang.StringUtils; | ||
10 | import org.slf4j.Logger; | 10 | import org.slf4j.Logger; |
11 | import org.slf4j.LoggerFactory; | 11 | import org.slf4j.LoggerFactory; |
12 | import org.springframework.beans.factory.annotation.Autowired; | 12 | import org.springframework.beans.factory.annotation.Autowired; |
13 | +import org.springframework.web.bind.annotation.RequestBody; | ||
13 | import org.springframework.web.bind.annotation.RequestMapping; | 14 | import org.springframework.web.bind.annotation.RequestMapping; |
14 | import org.springframework.web.bind.annotation.RequestMethod; | 15 | import org.springframework.web.bind.annotation.RequestMethod; |
15 | import org.springframework.web.bind.annotation.RequestParam; | 16 | import org.springframework.web.bind.annotation.RequestParam; |
@@ -253,7 +254,7 @@ public class PaymentController { | @@ -253,7 +254,7 @@ public class PaymentController { | ||
253 | @IgnoreSignature | 254 | @IgnoreSignature |
254 | @IgnoreSession | 255 | @IgnoreSession |
255 | @RequestMapping(params = "method=ufo.order.manualDealMon") | 256 | @RequestMapping(params = "method=ufo.order.manualDealMon") |
256 | - public ApiResponse manualDealMon(ManualDealRequest req) { | 257 | + public ApiResponse manualDealMon(@RequestBody ManualDealRequest req) { |
257 | try { | 258 | try { |
258 | paymentService.manualDeal(req); | 259 | paymentService.manualDeal(req); |
259 | } catch (ServiceException e) { | 260 | } catch (ServiceException e) { |
-
Please register or login to post a comment