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,7 +227,7 @@ func (this *XcxApiController) GetDataInfo() {
227 227
 }
228 228
 
229 229
 func (this *XcxApiController) GetScheduleInfo() {
230
-	//patient_id, _ := this.GetInt64("patient_id")
230
+	patient_id, _ := this.GetInt64("patient_id")
231 231
 	thisWeekMonday := service.GetFirstDateOfWeek()
232 232
 	weekDayWeek := service.GetWeekDayOfWeek()
233 233
 	TimeMonday, _ := time.Parse("2006-01-02", thisWeekMonday)
@@ -248,7 +248,7 @@ func (this *XcxApiController) GetScheduleInfo() {
248 248
 
249 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 252
 	if err != nil {
253 253
 		this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeSystemError)
254 254
 		return