소스 검색

pull develop

wangxingcheng 3 년 전
부모
커밋
46b8778c75
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      opms_parent/app/handler/plat/schedule.go

+ 2 - 3
opms_parent/app/handler/plat/schedule.go

@@ -4,7 +4,6 @@ import (
 	"context"
 
 	"dashoo.cn/common_definition/comm_def"
-	"dashoo.cn/opms_libary/myerrors"
 	"github.com/gogf/gf/frame/g"
 	"github.com/gogf/gf/util/gvalid"
 
@@ -21,7 +20,7 @@ func (h *ScheduleHeader) GetList(ctx context.Context, req *model.ScheduleSearchR
 		return err
 	}
 	total, list, err := s.GetList(req)
-	_, err, rsp.Code, rsp.Msg = myerrors.CheckError(err)
+
 	if err != nil {
 		return err
 	}
@@ -40,7 +39,7 @@ func (h *ScheduleHeader) Create(ctx context.Context, req *model.AddScheduleSeq,
 		return err
 	}
 	id, err := s.Create(req)
-	_, err, rsp.Code, rsp.Msg = myerrors.CheckError(err)
+
 	if err != nil {
 
 		return err