Selaa lähdekoodia

feat: 返回值调整

zhangxinlei1996 1 vuosi sitten
vanhempi
commit
70891b6808
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      api/internal/logic/canaddreqlogic.go

+ 0 - 1
api/internal/logic/canaddreqlogic.go

@@ -32,7 +32,6 @@ func (l *CanAddReqLogic) CanAddReq(req *types.CanAddReq) (resp *types.Reply, err
 
 	status, error_msg := service.CanAdd(req.EntId, req.Key, req.EmployInfoId, req.EmployCustomId, req.PositionId)
 
-	resp.Error_code = status
 	resp.Error_msg = error_msg
 	resp.Data = map[string]interface{}{
 		"status": status,