|
@@ -684,11 +684,11 @@ func (c *PatientApiController) EditLapseto() {
|
684
|
684
|
|
685
|
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
|
693
|
lapsetoTimeUnix, err := time.ParseInLocation(timeLayout, lapsetoTime, loc)
|
694
|
694
|
if err != nil {
|