Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo
Commits
f16cc4f5
Commit
f16cc4f5
authored
Aug 29, 2012
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
API 发布文章默认使用签名档1
parent
f6d0507e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
core/src/main/java/org/b3log/solo/service/ArticleMgmtService.java
.../main/java/org/b3log/solo/service/ArticleMgmtService.java
+2
-2
No files found.
core/src/main/java/org/b3log/solo/service/ArticleMgmtService.java
View file @
f16cc4f5
...
...
@@ -66,7 +66,7 @@ import org.b3log.solo.repository.impl.UserRepositoryImpl;
* Article management service.
*
* @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
* @version 1.0.1.
1, Feb 23
, 2012
* @version 1.0.1.
2, Aug 29
, 2012
* @since 0.3.5
*/
public
final
class
ArticleMgmtService
{
...
...
@@ -427,7 +427,7 @@ public final class ArticleMgmtService {
final
String
permalink
=
getPermalinkForAddArticle
(
article
);
article
.
put
(
Article
.
ARTICLE_PERMALINK
,
permalink
);
// Step 9: Add article sign id
final
String
signId
=
article
.
optString
(
Article
.
ARTICLE_SIGN_ID
,
"
0
"
);
final
String
signId
=
article
.
optString
(
Article
.
ARTICLE_SIGN_ID
,
"
1
"
);
article
.
put
(
Article
.
ARTICLE_SIGN_ID
,
signId
);
// Step 10: Set had been published status
article
.
put
(
Article
.
ARTICLE_HAD_BEEN_PUBLISHED
,
false
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment