Commit bd53071a authored by Quxl's avatar Quxl

修改会员信息API

parent 52267b4b
...@@ -18,24 +18,20 @@ public class MemberInfoController { ...@@ -18,24 +18,20 @@ public class MemberInfoController {
@PostMapping("query") @PostMapping("query")
@ApiOperation("查询会员基本信息") @ApiOperation("查询会员基本信息")
@ApiImplicitParams({ public Object query() {
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "id"),
})
public Object query(String id) {
return Rjx.jsonOk(); return Rjx.jsonOk();
} }
@PostMapping("save") @PostMapping("save")
@ApiOperation("保存会员基本信息") @ApiOperation("保存会员基本信息")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "id"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "email"), @ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "email"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = false, name = "realname"), @ApiImplicitParam(paramType = "query", dataType = "string", required = false, name = "realname"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = false, name = "address"), @ApiImplicitParam(paramType = "query", dataType = "string", required = false, name = "address"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = false, name = "company"), @ApiImplicitParam(paramType = "query", dataType = "string", required = false, name = "company"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = false, name = "tel"), @ApiImplicitParam(paramType = "query", dataType = "string", required = false, name = "tel"),
}) })
public Object save(String id, String email, String realname, String address, String company, String tel) { public Object save(String email, String realname, String address, String company, String tel) {
return Rjx.jsonOk(); return Rjx.jsonOk();
} }
......
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