Commit cc412739 authored by Quxl's avatar Quxl

修改获取语言环境API接口返回值

parent 110dbc84
......@@ -62,6 +62,6 @@ public class MemberOpenApiController {
@PostMapping("getLocale")
@ApiOperation("获取当前语言环境")
public Object getLocale(HttpServletRequest request) {
return Rjx.jsonOk().setMessage(LocaleContextHolder.getLocale().getLanguage());
return Rjx.jsonOk().setMessage(LocaleContextHolder.getLocale().toString());
}
}
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