소스 검색

Merge branch 'master' of https://jygit.jydev.jianyu360.cn/CRM/application into master

zhangxinlei1996 1 년 전
부모
커밋
989c15f253
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      api/internal/service/employService.go

+ 5 - 1
api/internal/service/employService.go

@@ -122,8 +122,12 @@ func (e *EmPloyService) EmployOperate(in *types.EmployOperateReq) bool {
 						data = InfoFind(id, in.EmployType)
 						data["employ_way"] = 1
 						data["jybx_url"] = "/article/content/" + v1 + ".html"
-					} else {
+					} else if in.EmployType == 2 {
+						data = CustomFind(id, in.EmployType)
+						data["jybx_url"] = "swordfish/page_big_pc/svip/ent_ser_portrait/" + v1
+					} else if in.EmployType == 3 {
 						data = CustomFind(id, in.EmployType)
+						data["jybx_url"] = "/swordfish/page_big_pc/unit_portrayal/" + v1
 					}
 					data["position_id"] = in.PositionId
 					data["ent_id"] = in.EntId