浏览代码

no message

xingzai 1 年之前
父节点
当前提交
58af748a87
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      controllers/yanxuan_special.go

+ 1 - 0
controllers/yanxuan_special.go

@@ -231,6 +231,7 @@ func (this *YanxuanSpecialNoLoginController) Detail() {
 	}
 	}
 	if item.UserId != sysUser.UserId && item.Status != 3 && !strings.Contains(cnf.ConfigValue, sysUser.Mobile) {
 	if item.UserId != sysUser.UserId && item.Status != 3 && !strings.Contains(cnf.ConfigValue, sysUser.Mobile) {
 		resp.CygxYanxuanSpecialItem = *new(models.CygxYanxuanSpecialItem) // 如果内容不可见,就把内容置空
 		resp.CygxYanxuanSpecialItem = *new(models.CygxYanxuanSpecialItem) // 如果内容不可见,就把内容置空
+		resp.CygxYanxuanSpecialItem.Status = item.Status
 		//resp.HasPermission = 2
 		//resp.HasPermission = 2
 	}
 	}