From 56a2726ef87ef5b5a7205e8fe8d15b99c3180d92 Mon Sep 17 00:00:00 2001 From: luoyang Date: Mon, 17 Feb 2020 10:43:09 +0800 Subject: [PATCH] fix rServer listen --- pom.xml | 2 +- .../payment/manage/appclient/web/RsvcServiceController.java | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 501a3e232..43f321394 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 4.0.0 manage - 1.3.35 + 1.3.36 UTF-8 1.4.0 diff --git a/src/main/java/au/com/royalpay/payment/manage/appclient/web/RsvcServiceController.java b/src/main/java/au/com/royalpay/payment/manage/appclient/web/RsvcServiceController.java index 12d4568b0..8608a502a 100644 --- a/src/main/java/au/com/royalpay/payment/manage/appclient/web/RsvcServiceController.java +++ b/src/main/java/au/com/royalpay/payment/manage/appclient/web/RsvcServiceController.java @@ -2,13 +2,11 @@ package au.com.royalpay.payment.manage.appclient.web; import au.com.royalpay.payment.manage.appclient.core.RetailRSvcService; import com.alibaba.fastjson.JSONObject; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.*; import javax.annotation.Resource; +@RestController @RequestMapping("/api/v1.0/server/rsvc") public class RsvcServiceController {