|
@@ -116,7 +116,7 @@ public class ApiAppDeviceController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "电池自检")
|
|
|
- @GetMapping("selfCheck")
|
|
|
+ @RequestMapping(value = "selfCheck", method = RequestMethod.POST)
|
|
|
public ApiDTO selfCheck(@RequestBody BenchQueryDetailParam param) {
|
|
|
AppDevice appDevice = appDeviceService.getOne(QueryParamExp.eq("sn", param.getSn()));
|
|
|
if (!(appDevice.getCheckStatus().equals(1))){
|