Browse Source

体积小

XMLWAN 3 years ago
parent
commit
7d8dddfa10
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controllers/xcx_mobile_api_controller.go/xcx_api_controller.go

+ 2 - 2
controllers/xcx_mobile_api_controller.go/xcx_api_controller.go View File

227
 }
227
 }
228
 
228
 
229
 func (this *XcxApiController) GetScheduleInfo() {
229
 func (this *XcxApiController) GetScheduleInfo() {
230
-	//patient_id, _ := this.GetInt64("patient_id")
230
+	patient_id, _ := this.GetInt64("patient_id")
231
 	thisWeekMonday := service.GetFirstDateOfWeek()
231
 	thisWeekMonday := service.GetFirstDateOfWeek()
232
 	weekDayWeek := service.GetWeekDayOfWeek()
232
 	weekDayWeek := service.GetWeekDayOfWeek()
233
 	TimeMonday, _ := time.Parse("2006-01-02", thisWeekMonday)
233
 	TimeMonday, _ := time.Parse("2006-01-02", thisWeekMonday)
248
 
248
 
249
 	fmt.Println(startTime.Unix(), endTime.Unix())
249
 	fmt.Println(startTime.Unix(), endTime.Unix())
250
 
250
 
251
-	schedule, err := service.GetScheduleInfo(1630252800, 1631980800, 2448)
251
+	schedule, err := service.GetScheduleInfo(1630252800, 1631980800, patient_id)
252
 	if err != nil {
252
 	if err != nil {
253
 		this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeSystemError)
253
 		this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeSystemError)
254
 		return
254
 		return