Commit cbfe2d9e by 向延琳

修改服务参数

1 parent d5bae97c
...@@ -10,6 +10,7 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -10,6 +10,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import java.util.List; import java.util.List;
...@@ -57,7 +58,7 @@ public class DeviceFreqController implements DeviceFreqClient { ...@@ -57,7 +58,7 @@ public class DeviceFreqController implements DeviceFreqClient {
@PostMapping(value = "/updateResponseStatus") @PostMapping(value = "/updateResponseStatus")
@Override @Override
public R<Void> updateDeviceFreqResponseStatus(String sn) { public R<Void> updateDeviceFreqResponseStatus(@RequestParam("sn") String sn) {
deviceFreqService.updateDeviceFreqResponseStatus(sn); deviceFreqService.updateDeviceFreqResponseStatus(sn);
return R.ok(); return R.ok();
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!