소스 검색

收录失败信息提示

WH01243 1 년 전
부모
커밋
052fea8141
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      api/internal/service/employService.go

+ 3 - 0
api/internal/service/employService.go

@@ -165,6 +165,9 @@ func (e *EmPloyService) EmployOperate(in *types.EmployOperateReq) (bool, string)
 				}
 			}
 		}
+		if in.IsEmploy && !fool {
+			msg = "收录失败"
+		}
 		return fool
 	}), msg
 }