提交方式修改
This commit is contained in:
parent
56c7fa0818
commit
6ef5739727
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue