提交方式修改

This commit is contained in:
谢洪龙 2017-07-28 10:46:10 +08:00
parent 56c7fa0818
commit 6ef5739727
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ public class Device {
* @param macAddress * @param macAddress
* @return * @return
*/ */
@RequestMapping(value = "/bindDevice.do", method = RequestMethod.GET) @RequestMapping(value = "/bindDevice.do", method = RequestMethod.POST)
public Object bindDevice(Integer userId, String macAddress) { public Object bindDevice(Integer userId, String macAddress) {
try { try {
return deviceHelperI.bindDevice(userId, macAddress); return deviceHelperI.bindDevice(userId, macAddress);

View File

@ -50,7 +50,7 @@ public class LiveRoom {
* @param userId * @param userId
* @return * @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) { public Object liveRoomsZan(@PathVariable Integer roomId, @PathVariable Integer userId) {
try { try {
return liveRoomHelperI.liveRoomsZan(roomId, userId); return liveRoomHelperI.liveRoomsZan(roomId, userId);