|
@ -171,10 +171,11 @@ public class DoctorEndpoint extends EnvelopRestEndpoint {
|
|
|
@GetMapping(value = "getNotificationCount")
|
|
|
@ApiOperation(value = "教师首页-上门辅导待完成工单、在线咨询未回复、消息列表未回复")
|
|
|
public ObjEnvelop getNotificationCount(
|
|
|
@ApiParam(name = "doctor", value = "doctor", defaultValue = "4028030c796376b801796380a2b50003") @RequestParam(value = "doctor",required = true) String doctor,
|
|
|
@ApiParam(name = "type", value = "type", defaultValue = "0") @RequestParam(value = "type",required = false) Integer type){
|
|
|
@ApiParam(name = "doctor", value = "doctor", defaultValue = "4028030c796376b801796380a2b50003") @RequestParam(value = "doctor",required = true) String doctor
|
|
|
// ,@ApiParam(name = "type", value = "type", defaultValue = "0") @RequestParam(value = "type",required = false) Integer type
|
|
|
){
|
|
|
try {
|
|
|
return ObjEnvelop.getSuccess("查询成功",doctorService.getNotificationCount(doctor,type));
|
|
|
return ObjEnvelop.getSuccess("查询成功",doctorService.getNotificationCount(doctor));//,type
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
|
return ObjEnvelop.getError("查询失败");
|