|
@@ -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
|