1.修改返回参数

main
862857010@qq.com 2 years ago
parent c7fd2a9c88
commit fa1020e01e
  1. 3
      src/main/java/com/cjy/back/ybsjAppointment/service/impl/YbsjyAppointmentRecordImpl.java
  2. 5
      src/main/java/com/cjy/back/ybsjAppointment/service/impl/YbsjyAppointmentSettingServiceImpl.java

@ -67,7 +67,8 @@ public class YbsjyAppointmentRecordImpl implements YbsjyAppointmentRecordService
HashMap<String, Object> resultMap = new HashMap<>();
resultMap.put("count", userCount);
resultMap.put("data", list);
resultMap.put("msg", "查询成功");
resultMap.put("code", 0);
return ServerResponse.createBySuccess(resultMap);
}

@ -113,6 +113,8 @@ public class YbsjyAppointmentSettingServiceImpl implements YbsjyAppointmentSetti
HashMap<String, Object> resultMap = new HashMap<>();
resultMap.put("count", userCount);
resultMap.put("data", list);
resultMap.put("msg", "查询成功");
resultMap.put("code", 0);
return ServerResponse.createBySuccess(resultMap);
}
@ -357,7 +359,8 @@ public class YbsjyAppointmentSettingServiceImpl implements YbsjyAppointmentSetti
HashMap<String, Object> resultMap = new HashMap<>();
resultMap.put("count", userCount);
resultMap.put("data", list);
resultMap.put("msg", "查询成功");
resultMap.put("code", 0);
return ServerResponse.createBySuccess(resultMap);
}

Loading…
Cancel
Save