|
@ -1,7 +1,6 @@ |
|
|
package com.example.modular.api.controller; |
|
|
package com.example.modular.api.controller; |
|
|
|
|
|
|
|
|
import com.example.modular.api.service.DeviceDataPushService; |
|
|
import com.example.modular.api.service.DeviceDataPushService; |
|
|
import com.example.util.Result; |
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.web.bind.annotation.*; |
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
@ -34,7 +33,7 @@ public class DeviceDataPushController { |
|
|
public String deviceWaterSave (@RequestParam(value = "base64",required = false)String base64, |
|
|
public String deviceWaterSave (@RequestParam(value = "base64",required = false)String base64, |
|
|
@RequestParam(value = "imgUrl",required = false)String imgUrl, |
|
|
@RequestParam(value = "imgUrl",required = false)String imgUrl, |
|
|
@RequestParam(value = "devId",required = false)String devId, |
|
|
@RequestParam(value = "devId",required = false)String devId, |
|
|
@RequestParam(value = "devVol",required = false)Integer devVol, |
|
|
|
|
|
|
|
|
@RequestParam(value = "devVol",required = false)String devVol, |
|
|
@RequestParam(value = "isPointerMeter",required = false,defaultValue = "false")boolean isPointerMeter, |
|
|
@RequestParam(value = "isPointerMeter",required = false,defaultValue = "false")boolean isPointerMeter, |
|
|
@RequestParam(value = "createTime",required = false)String createTime, |
|
|
@RequestParam(value = "createTime",required = false)String createTime, |
|
|
@RequestParam(value = "result",required = false)String result) { |
|
|
@RequestParam(value = "result",required = false)String result) { |
|
@ -59,7 +58,7 @@ public class DeviceDataPushController { |
|
|
public String deviceElectricitySave (@RequestParam(value = "base64",required = false)String base64, |
|
|
public String deviceElectricitySave (@RequestParam(value = "base64",required = false)String base64, |
|
|
@RequestParam(value = "imgUrl",required = false)String imgUrl, |
|
|
@RequestParam(value = "imgUrl",required = false)String imgUrl, |
|
|
@RequestParam(value = "devId",required = false)String devId, |
|
|
@RequestParam(value = "devId",required = false)String devId, |
|
|
@RequestParam(value = "devVol",required = false)Integer devVol, |
|
|
|
|
|
|
|
|
@RequestParam(value = "devVol",required = false)String devVol, |
|
|
@RequestParam(value = "isPointerMeter",required = false,defaultValue = "false")boolean isPointerMeter, |
|
|
@RequestParam(value = "isPointerMeter",required = false,defaultValue = "false")boolean isPointerMeter, |
|
|
@RequestParam(value = "createTime",required = false)String createTime, |
|
|
@RequestParam(value = "createTime",required = false)String createTime, |
|
|
@RequestParam(value = "result",required = false)String result) { |
|
|
@RequestParam(value = "result",required = false)String result) { |
|
|