Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tanpu-community
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
探普后端
tanpu-community
Commits
ba4fc71b
Commit
ba4fc71b
authored
Jul 30, 2021
by
刘基明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
正文乱码fix
parent
4348dcca
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ThemeController.java
.../java/com/tanpu/community/controller/ThemeController.java
+2
-2
application-dev.yml
community-service/src/main/resources/application-dev.yml
+1
-1
No files found.
community-service/src/main/java/com/tanpu/community/controller/ThemeController.java
View file @
ba4fc71b
...
@@ -48,9 +48,9 @@ public class ThemeController {
...
@@ -48,9 +48,9 @@ public class ThemeController {
@AuthLogin
@AuthLogin
@ApiOperation
(
"主题正文"
)
@ApiOperation
(
"主题正文"
)
@GetMapping
(
value
=
"/detail"
)
@GetMapping
(
value
=
"/detail"
,
produces
=
"text/plain; charset=UTF-8"
)
@ResponseBody
@ResponseBody
public
CommonResp
<
ThemeQo
>
get
ThemeMainText
(
@RequestParam
String
themeId
)
{
public
CommonResp
<
ThemeQo
>
get
Detail
(
@RequestParam
(
value
=
"themeId"
)
String
themeId
)
{
String
userId
=
userHolder
.
getUserId
();
String
userId
=
userHolder
.
getUserId
();
return
CommonResp
.
success
(
themeManager
.
getThemeDetail
(
themeId
,
userId
));
return
CommonResp
.
success
(
themeManager
.
getThemeDetail
(
themeId
,
userId
));
}
}
...
...
community-service/src/main/resources/application-dev.yml
View file @
ba4fc71b
...
@@ -93,5 +93,5 @@ recommend:
...
@@ -93,5 +93,5 @@ recommend:
new
:
2
new
:
2
python
:
1
python
:
1
python
:
python
:
enable
:
tru
e
enable
:
fals
e
url
:
http://172.168.0.164:9000/api/get_recommend?user_id=2431614397151511
url
:
http://172.168.0.164:9000/api/get_recommend?user_id=2431614397151511
\ No newline at end of file
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