From 6ef5739727d3d1bc67ea2d729ef1664f0f65c625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=B4=AA=E9=BE=99?= <599179587@qq.com> Date: Fri, 28 Jul 2017 10:46:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=96=B9=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/ifish/controller/Device.java | 2 +- src/main/java/com/ifish/controller/LiveRoom.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/ifish/controller/Device.java b/src/main/java/com/ifish/controller/Device.java index 69da5a7..7028c28 100644 --- a/src/main/java/com/ifish/controller/Device.java +++ b/src/main/java/com/ifish/controller/Device.java @@ -33,7 +33,7 @@ public class Device { * @param macAddress * @return */ - @RequestMapping(value = "/bindDevice.do", method = RequestMethod.GET) + @RequestMapping(value = "/bindDevice.do", method = RequestMethod.POST) public Object bindDevice(Integer userId, String macAddress) { try { return deviceHelperI.bindDevice(userId, macAddress); diff --git a/src/main/java/com/ifish/controller/LiveRoom.java b/src/main/java/com/ifish/controller/LiveRoom.java index a81bb58..c77412e 100644 --- a/src/main/java/com/ifish/controller/LiveRoom.java +++ b/src/main/java/com/ifish/controller/LiveRoom.java @@ -50,7 +50,7 @@ public class LiveRoom { * @param userId * @return */ - @RequestMapping(value = "/liveRoomZan/{roomId}/{userId}", method = RequestMethod.GET) + @RequestMapping(value = "/liveRoomZan/{roomId}/{userId}", method = RequestMethod.POST) public Object liveRoomsZan(@PathVariable Integer roomId, @PathVariable Integer userId) { try { return liveRoomHelperI.liveRoomsZan(roomId, userId);