Selaa lähdekoodia

收录失败信息提示

WH01243 1 vuosi sitten
vanhempi
commit
052fea8141
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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
 }