xingzai 1 жил өмнө
parent
commit
58af748a87

+ 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) {
 		resp.CygxYanxuanSpecialItem = *new(models.CygxYanxuanSpecialItem) // 如果内容不可见,就把内容置空
+		resp.CygxYanxuanSpecialItem.Status = item.Status
 		//resp.HasPermission = 2
 	}