|
@@ -46,7 +46,7 @@ public class RepairCustomerController {
|
|
|
|
|
|
@GetMapping("/getRepairByOpenId")
|
|
|
public ResultData getRepairByOpenId(@RequestParam(required = false) String wxOpenId){
|
|
|
- if(StringUtils.isNotBlank(wxOpenId)){
|
|
|
+ if(StringUtils.isBlank(wxOpenId)){
|
|
|
throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
|
}
|
|
|
return ResultData.ok(repairCustomerService.getRepairByOpenId(wxOpenId));
|