Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
rszt
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
svn
rszt
Commits
1822d6b9
提交
1822d6b9
authored
12月 15, 2020
作者:
renjiancai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
上级
038aa420
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
13 行增加
和
99 行删除
+13
-99
FgArticleLibraryOneVO.java
.../vo/resource/fg/articlelibrary/FgArticleLibraryOneVO.java
+0
-97
FgArticleLibraryController.java
...controller/articlelibrary/FgArticleLibraryController.java
+13
-1
FgDiyTypeController.java
...x/resource/fg/controller/diytype/FgDiyTypeController.java
+0
-1
没有找到文件。
com.zrqx.core/src/main/java/com/zrqx/core/vo/resource/fg/articlelibrary/FgArticleLibraryOneVO.java
浏览文件 @
1822d6b9
package
com
.
zrqx
.
core
.
vo
.
resource
.
fg
.
articlelibrary
;
import
java.util.Date
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
...
...
@@ -12,101 +10,6 @@ public class FgArticleLibraryOneVO {
private
String
id
;
@ApiModelProperty
(
value
=
"文章标题"
)
private
String
name
;
@ApiModelProperty
(
"作者"
)
private
String
author
;
@ApiModelProperty
(
"来源"
)
private
String
source
;
@ApiModelProperty
(
"资源类型"
)
private
Integer
resourceType
;
@ApiModelProperty
(
"资源名称"
)
private
String
resourceTypeName
;
//ycw添加
@ApiModelProperty
(
value
=
"浏览数量"
)
private
Integer
browseNum
;
@ApiModelProperty
(
"上传时间"
)
private
Date
uploadTime
;
@ApiModelProperty
(
"作者id"
)
private
String
authorId
;
@ApiModelProperty
(
"关键词"
)
private
String
keywords
;
@ApiModelProperty
(
"定价"
)
private
String
price
;
@ApiModelProperty
(
"简介"
)
private
String
synopsis
;
@ApiModelProperty
(
"正文"
)
private
String
text
;
@ApiModelProperty
(
"pdf"
)
private
String
pdf
;
@ApiModelProperty
(
"状态:0待审核,1已上架,2已下架"
)
private
Integer
status
;
@ApiModelProperty
(
"图书id"
)
private
String
bookId
;
@ApiModelProperty
(
"图书名称"
)
private
String
bookName
;
@ApiModelProperty
(
"封面"
)
private
String
img
;
@ApiModelProperty
(
"音频文件"
)
private
String
audio
;
@ApiModelProperty
(
"视频文件"
)
private
String
video
;
@ApiModelProperty
(
"售价"
)
private
String
realPrice
;
@ApiModelProperty
(
"全文阅读权限 0 游客可见 1会员可见"
)
private
Integer
readTextPower
;
@ApiModelProperty
(
"民族 1蒙古族 2侗族 3藏族 4朝鲜族 5土家族 6回族 7满族 8汉族"
)
private
Integer
nationsType
;
@ApiModelProperty
(
value
=
"章节标识号(bookid+txt编号)"
,
required
=
true
)
private
String
markid
;
@ApiModelProperty
(
value
=
"预览文章"
,
required
=
true
)
private
String
previewText
;
@ApiModelProperty
(
value
=
"销量"
)
private
Integer
salesNum
;
@ApiModelProperty
(
"商品类型,默认2-2"
)
private
String
goodsType
;
@ApiModelProperty
(
"0:未收藏;1:已收藏"
)
private
Integer
isCollection
;
@ApiModelProperty
(
"0:未购买;1:已购买"
)
private
Integer
isBuy
;
@ApiModelProperty
(
"0:未登录;1:已登录"
)
private
Integer
isLogin
;
@ApiModelProperty
(
"0:付费;1:免费"
)
private
Integer
isFree
;
@ApiModelProperty
(
"0:不是作者;1:是作者"
)
private
Integer
isAuthor
;
@ApiModelProperty
(
"0:阅读;1:加入购车;2:加入购物车(按钮置灰)"
)
private
Integer
isStatus
;
@ApiModelProperty
(
"提示消息code"
)
private
Integer
messageCode
;
@ApiModelProperty
(
"提示消息"
)
private
String
message
;
@ApiModelProperty
(
"图书是否是PDF 0否1是"
)
private
Integer
isPdf
;
@ApiModelProperty
(
"pdf阅读url"
)
private
String
pdfReadUrl
;
@ApiModelProperty
(
"图书定价"
)
private
String
bookPrice
;
@ApiModelProperty
(
"图书售价"
)
private
String
bookRealPrice
;
@ApiModelProperty
(
"图书折扣"
)
private
String
bookDiscount
;
@ApiModelProperty
(
"目录排序"
)
private
Integer
orderNum
;
@ApiModelProperty
(
"最大目录排序"
)
private
Integer
orderMaxNum
;
@ApiModelProperty
(
"最小目录排序"
)
private
Integer
orderMinNum
;
@ApiModelProperty
(
"评论数量"
)
private
Integer
commentNum
;
@ApiModelProperty
(
"资源评分"
)
private
Integer
resourceScore
;
}
com.zrqx.resource/src/main/java/com/zrqx/resource/fg/controller/articlelibrary/FgArticleLibraryController.java
浏览文件 @
1822d6b9
...
...
@@ -2,14 +2,18 @@ package com.zrqx.resource.fg.controller.articlelibrary;
import
java.util.List
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.zrqx.core.constant.resource.ResourceRequestPath
;
import
com.zrqx.core.model.resource.articlelibrary.ArticleLibrary
;
import
com.zrqx.core.util.response.CallBack
;
import
com.zrqx.core.vo.resource.fg.articlelibrary.FgArticleLibraryListVO
;
import
com.zrqx.core.vo.resource.fg.articlelibrary.FgArticleLibraryOneVO
;
import
com.zrqx.resource.fg.service.articlelibrary.FgArticleLibraryService
;
import
io.swagger.annotations.Api
;
...
...
@@ -27,9 +31,17 @@ public class FgArticleLibraryController {
@Autowired
private
FgArticleLibraryService
service
;
@ApiOperation
(
value
=
"查询精彩瞬间"
,
notes
=
"查询精彩瞬间"
)
@ApiOperation
(
value
=
"
首页-
查询精彩瞬间"
,
notes
=
"查询精彩瞬间"
)
@GetMapping
(
value
=
ResourceRequestPath
.
LIST
)
public
CallBack
<
List
<
FgArticleLibraryListVO
>>
List
(){
return
CallBack
.
success
(
service
.
list
());
}
@ApiOperation
(
value
=
"详情"
,
notes
=
"详情"
)
@GetMapping
(
value
=
ResourceRequestPath
.
GET_OID
)
public
CallBack
<
FgArticleLibraryOneVO
>
getById
(
@PathVariable
String
oid
)
{
ArticleLibrary
entity
=
service
.
selectByPrimaryKey
(
oid
);
FgArticleLibraryOneVO
vo
=
new
FgArticleLibraryOneVO
();
BeanUtils
.
copyProperties
(
entity
,
vo
);
return
CallBack
.
success
(
vo
);
}
}
com.zrqx.resource/src/main/java/com/zrqx/resource/fg/controller/diytype/FgDiyTypeController.java
浏览文件 @
1822d6b9
...
...
@@ -16,7 +16,6 @@ import com.zrqx.core.util.bean.Copy;
import
com.zrqx.core.util.response.CallBack
;
import
com.zrqx.core.vo.resource.diytype.DiyTypeVO
;
import
com.zrqx.core.vo.resource.fg.diytype.FgDiyTypeRelationListVo
;
import
com.zrqx.core.vo.resource.fg.diytype.FgDiyTypeVo
;
import
com.zrqx.resource.fg.service.diytype.FgDiyTypeService
;
import
com.zrqx.resource.fg.service.resource.FgResourceLibraryService
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论