Commit 110dbc84 authored by Quxl's avatar Quxl

修改BUG

parent 9e266d40
...@@ -9,6 +9,7 @@ import org.springframework.context.i18n.LocaleContextHolder; ...@@ -9,6 +9,7 @@ import org.springframework.context.i18n.LocaleContextHolder;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx; import com.egolm.common.bean.Rjx;
import com.egolm.film.config.interceptor.LocaleSessionInterceptor; import com.egolm.film.config.interceptor.LocaleSessionInterceptor;
...@@ -23,6 +24,7 @@ import io.swagger.annotations.ApiOperation; ...@@ -23,6 +24,7 @@ import io.swagger.annotations.ApiOperation;
@RequestMapping("open/member") @RequestMapping("open/member")
public class MemberOpenApiController { public class MemberOpenApiController {
@ResponseBody
@PostMapping("register") @PostMapping("register")
@ApiOperation("会员注册") @ApiOperation("会员注册")
@ApiImplicitParams({ @ApiImplicitParams({
...@@ -34,6 +36,7 @@ public class MemberOpenApiController { ...@@ -34,6 +36,7 @@ public class MemberOpenApiController {
return Rjx.jsonOk(); return Rjx.jsonOk();
} }
@ResponseBody
@PostMapping("getPassword") @PostMapping("getPassword")
@ApiOperation("找回密码") @ApiOperation("找回密码")
@ApiImplicitParams({ @ApiImplicitParams({
...@@ -43,6 +46,7 @@ public class MemberOpenApiController { ...@@ -43,6 +46,7 @@ public class MemberOpenApiController {
return Rjx.jsonOk(); return Rjx.jsonOk();
} }
@ResponseBody
@PostMapping("setLocale") @PostMapping("setLocale")
@ApiOperation("设置语言环境") @ApiOperation("设置语言环境")
@ApiImplicitParams({ @ApiImplicitParams({
...@@ -54,6 +58,7 @@ public class MemberOpenApiController { ...@@ -54,6 +58,7 @@ public class MemberOpenApiController {
return Rjx.jsonOk(); return Rjx.jsonOk();
} }
@ResponseBody
@PostMapping("getLocale") @PostMapping("getLocale")
@ApiOperation("获取当前语言环境") @ApiOperation("获取当前语言环境")
public Object getLocale(HttpServletRequest request) { public Object getLocale(HttpServletRequest request) {
......
...@@ -3,6 +3,7 @@ package com.egolm.film.api.member; ...@@ -3,6 +3,7 @@ package com.egolm.film.api.member;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx; import com.egolm.common.bean.Rjx;
...@@ -16,12 +17,14 @@ import io.swagger.annotations.ApiOperation; ...@@ -16,12 +17,14 @@ import io.swagger.annotations.ApiOperation;
@RequestMapping("member/apply") @RequestMapping("member/apply")
public class MemberApplyController { public class MemberApplyController {
@ResponseBody
@PostMapping("query") @PostMapping("query")
@ApiOperation("已申报项目查询") @ApiOperation("已申报项目查询")
public Object query() { public Object query() {
return Rjx.jsonOk(); return Rjx.jsonOk();
} }
@ResponseBody
@PostMapping("save") @PostMapping("save")
@ApiOperation("保存申报项目信息") @ApiOperation("保存申报项目信息")
@ApiImplicitParams({ @ApiImplicitParams({
......
...@@ -3,6 +3,7 @@ package com.egolm.film.api.member; ...@@ -3,6 +3,7 @@ package com.egolm.film.api.member;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.bean.Rjx; import com.egolm.common.bean.Rjx;
...@@ -16,12 +17,14 @@ import io.swagger.annotations.ApiOperation; ...@@ -16,12 +17,14 @@ import io.swagger.annotations.ApiOperation;
@RequestMapping("member/info") @RequestMapping("member/info")
public class MemberInfoController { public class MemberInfoController {
@ResponseBody
@PostMapping("query") @PostMapping("query")
@ApiOperation("查询会员基本信息") @ApiOperation("查询会员基本信息")
public Object query() { public Object query() {
return Rjx.jsonOk(); return Rjx.jsonOk();
} }
@ResponseBody
@PostMapping("save") @PostMapping("save")
@ApiOperation("保存会员基本信息") @ApiOperation("保存会员基本信息")
@ApiImplicitParams({ @ApiImplicitParams({
......
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