|
@@ -108,8 +108,9 @@ func EnableYanxuanSpecial(id, status int, reason string) (err error) {
|
|
|
}
|
|
|
|
|
|
type SpecialListResp struct {
|
|
|
- List []*CygxYanxuanSpecialItem
|
|
|
- IsAuthor bool
|
|
|
+ List []*CygxYanxuanSpecialItem
|
|
|
+ IsAuthor bool
|
|
|
+ IsDisable bool
|
|
|
}
|
|
|
|
|
|
func GetYanxuanSpecialById(specialId, userId int) (item *CygxYanxuanSpecialItem, err error) {
|
|
@@ -133,7 +134,7 @@ type CygxYanxuanSpecialReq struct {
|
|
|
CompanyTags []string // 公司标签
|
|
|
DoType int // 1保存 2发布
|
|
|
ImgUrl []string // 图片链接
|
|
|
- Docs []Doc // 文档链接
|
|
|
+ Docs []Doc // 文档链接
|
|
|
Title string // 标题
|
|
|
Type int // 类型1:笔记,2:观点
|
|
|
}
|