Commit 4b409f84 authored by Quxl's avatar Quxl

x

parent d2d4254c
......@@ -128,9 +128,9 @@ public class OpenMemberApiController {
@ResponseBody
@PostMapping("setLocale")
@ApiOperation("设置语言环境")
@ApiImplicitParams({@ApiImplicitParam(paramType="header", dataType="string", name="i18n_language"),
@ApiImplicitParam(paramType = "query", dataType = "String", required = true, name = "i18n_language", defaultValue="zh_CN")
@ApiOperation("设置语言环境,用户切换语言时调用,电影节相关提醒类邮件的发送语言种类都与此设置有关")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "i18n_language", defaultValue="zh_CN")
})
public Object setLocale(HttpServletResponse response, String i18n_language) {
Cookie cookie = new Cookie(LocaleInterceptor.language, i18n_language);
......
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