提交方式修改
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user