Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
sc_media
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
svn
sc_media
Commits
eb471740
提交
eb471740
authored
5月 04, 2019
作者:
renjiancai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
上级
049cc966
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
22 行增加
和
14 行删除
+22
-14
ContetPublishForm.java
...re/form/resource/bg/articlelibrary/ContetPublishForm.java
+3
-2
SaveArticleRelationLibraryForm.java
...rce/bg/articlelibrary/SaveArticleRelationLibraryForm.java
+17
-0
SaveUpdateArticleLibraryForm.java
...ource/bg/articlelibrary/SaveUpdateArticleLibraryForm.java
+2
-2
ArticleLibraryController.java
...ource/bg/controller/content/ArticleLibraryController.java
+0
-0
ArticleLibrarySerivceImpl.java
.../bg/service/articlelibrary/ArticleLibrarySerivceImpl.java
+0
-10
没有找到文件。
com.zrqx.core/src/main/java/com/zrqx/core/form/resource/bg/articlelibrary/ContetPublishForm.java
浏览文件 @
eb471740
...
...
@@ -26,8 +26,9 @@ public class ContetPublishForm {
private
Integer
resourceType
;
@ApiModelProperty
(
"原创首发作者,1企鹅号,2微信公众账号,3头条号,4大鱼号,5一点号,6百家号,7网易号"
)
private
List
<
String
>
original_author
;
@ApiModelProperty
(
"
网易
授权码"
)
@ApiModelProperty
(
"授权码"
)
private
String
code
;
@ApiModelProperty
(
"绑定账号"
)
private
List
<
String
>
accountId
;
}
com.zrqx.core/src/main/java/com/zrqx/core/form/resource/bg/articlelibrary/SaveArticleRelationLibraryForm.java
0 → 100644
浏览文件 @
eb471740
package
com
.
zrqx
.
core
.
form
.
resource
.
bg
.
articlelibrary
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.util.Date
;
import
java.util.List
;
import
lombok.Data
;
@Data
@ApiModel
(
value
=
"SaveArticleRelationLibraryForm"
,
description
=
"文章关联账号"
)
public
class
SaveArticleRelationLibraryForm
{
@ApiModelProperty
(
"文章id"
)
private
String
id
;
@ApiModelProperty
(
"绑定账号"
)
private
List
<
String
>
accountId
;
}
com.zrqx.core/src/main/java/com/zrqx/core/form/resource/bg/articlelibrary/SaveUpdateArticleLibraryForm.java
浏览文件 @
eb471740
...
...
@@ -22,8 +22,8 @@ public class SaveUpdateArticleLibraryForm {
private
Date
timingTime
;
@ApiModelProperty
(
"资源类型 1文本,2图文章"
)
private
Integer
resourceType
;
@ApiModelProperty
(
"绑定账号"
)
private
List
<
String
>
accountId
;
//
@ApiModelProperty("绑定账号")
//
private List<String> accountId;
@ApiModelProperty
(
"发布状态:0未发布,1已发布,3定时发布"
)
private
Integer
publishStatus
;
@ApiModelProperty
(
"是否删除 0:未删除 1:已删除"
)
...
...
com.zrqx.resource/src/main/java/com/zrqx/resource/bg/controller/content/ArticleLibraryController.java
浏览文件 @
eb471740
差异被折叠。
点击展开。
com.zrqx.resource/src/main/java/com/zrqx/resource/bg/service/articlelibrary/ArticleLibrarySerivceImpl.java
浏览文件 @
eb471740
...
...
@@ -54,16 +54,6 @@ public class ArticleLibrarySerivceImpl extends BaseServiceImpl<ArticleLibrary,In
}
entity
.
setUploadTime
(
new
Date
());
articleMapper
.
insert
(
entity
);
//文章和账号关联表
if
(
form
.
getAccountId
()!=
null
&&
form
.
getAccountId
().
size
()
>
0
)
{
for
(
int
i
=
0
;
i
<
form
.
getAccountId
().
size
();
i
++)
{
ResourceRelation
res
=
new
ResourceRelation
();
res
.
setAccountId
(
form
.
getAccountId
().
get
(
i
));
res
.
setResourceType
(
1
);
res
.
setObjectId
(
entity
.
getId
());
resourceRelationMapper
.
insert
(
res
);
}
}
}
return
true
;
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论