|
|
|
@@ -85,7 +85,7 @@ public class WxDeviceScreenAdController extends BaseController { |
|
|
|
|
|
|
|
@ApiOperation("心跳") |
|
|
|
@PostMapping("heartbeat") |
|
|
|
public Result heartbeat(@RequestParam String deviceId,@ModelAttribute String version) { |
|
|
|
public Result heartbeat(@RequestParam String deviceId,@RequestBody String version) { |
|
|
|
WxDevice wxDevice = findDevice(deviceId); |
|
|
|
if (wxDevice == null) |
|
|
|
return new ResultData(ErrorCode.DEVICE_NOT_FOUND); |
|
|
|
|