소스 검색

耗材参数

XMLWAN 4 년 전
부모
커밋
88b3a6094b
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      controllers/patient_api_controller.go

+ 5 - 5
controllers/patient_api_controller.go 파일 보기

684
 
684
 
685
 	out_reason, _ := patientBody["out_reason"].(string)
685
 	out_reason, _ := patientBody["out_reason"].(string)
686
 
686
 
687
-	if len(out_reason) == 0 {
688
-		utils.ErrorLog("len(out_reason) == 0")
689
-		c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeNotSelectLapsetoTime)
690
-		return
691
-	}
687
+	//if len(out_reason) == 0 {
688
+	//	utils.ErrorLog("len(out_reason) == 0")
689
+	//	c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeNotSelectLapsetoTime)
690
+	//	return
691
+	//}
692
 
692
 
693
 	lapsetoTimeUnix, err := time.ParseInLocation(timeLayout, lapsetoTime, loc)
693
 	lapsetoTimeUnix, err := time.ParseInLocation(timeLayout, lapsetoTime, loc)
694
 	if err != nil {
694
 	if err != nil {