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