Commit 59db7579 by 罗志长

fix: 配网前校验请求参数修改

parent 1c5f70bc
......@@ -81,9 +81,9 @@ public class PlatDeviceWechatController {
@ApiOperation("配网前校验")
@PostMapping("setUpCheck")
public ApiResponseEntity<?> setUpCheck(@RequestParam String oriDeviceId) {
public ApiResponseEntity<?> setUpCheck(@RequestBody BaseIdDTO baseIdDTO) {
PlatDevice platDevice = platDeviceService.getOne(new QueryWrapper<PlatDevice>().lambda()
.eq(PlatDevice::getOriDeviceId, oriDeviceId)
.eq(PlatDevice::getOriDeviceId, baseIdDTO.getId())
.last("limit 1"));
return ApiResponseUtils.success(platDevice != null);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment