Commit ba4fc71b authored by 刘基明's avatar 刘基明

正文乱码fix

parent 4348dcca
...@@ -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> getThemeMainText(@RequestParam String themeId) { public CommonResp<ThemeQo> getDetail(@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));
} }
......
...@@ -93,5 +93,5 @@ recommend: ...@@ -93,5 +93,5 @@ recommend:
new: 2 new: 2
python: 1 python: 1
python: python:
enable: true enable: false
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment