提交方式修改

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
* @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);

View File

@ -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);