|
@@ -186,14 +186,6 @@ func (this *YanxuanSpecialController) Detail() {
|
|
|
resp.IndustryTags = append(resp.IndustryTags, item.IndustryTags)
|
|
|
}
|
|
|
|
|
|
- if isSendWx == 1 {
|
|
|
- if item.UserId == sysUser.UserId {
|
|
|
- resp.IsShowExamine = true
|
|
|
- }
|
|
|
- resp.ExamineStatus = item.Status
|
|
|
- }
|
|
|
- resp.ExamineStatus = item.Status
|
|
|
-
|
|
|
//如果状态未审核通过,而且查看的不是本人,不是审核人员,就无法查看详情
|
|
|
var configCode string
|
|
|
configCode = utils.TPL_MSG_WANG_FANG_WANG_YANG
|
|
@@ -203,6 +195,12 @@ func (this *YanxuanSpecialController) Detail() {
|
|
|
br.ErrMsg = "获取失败, Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
+ if isSendWx == 1 && strings.Contains(cnf.ConfigValue, sysUser.Mobile) {
|
|
|
+ resp.IsShowExamine = true
|
|
|
+ resp.ExamineStatus = item.Status
|
|
|
+ }
|
|
|
+ resp.ExamineStatus = item.Status
|
|
|
if item.UserId != sysUser.UserId && item.Status != 3 && !strings.Contains(cnf.ConfigValue, sysUser.Mobile) {
|
|
|
resp.CygxYanxuanSpecialItem = *new(models.CygxYanxuanSpecialItem) // 如果内容不可见,就把内容置空
|
|
|
resp.HasPermission = 2
|