阅读背景:

如何使用Springfox在Swagger中隐藏会话参数

来源:互联网 
    @ApiOperation(value = "获取打卡信息", notes = "获取打卡信息")
@RequestMapping(method = RequestMethod.GET, value = "/{mPhone}/{mPassword}/{date}")
@ApiImplicitParams({ 
        @ApiImplicitParam(name = "mPhone", value = "手机号", required = true, dataType = "String",defaultValue="13268690268",paramType="Path"),
        @ApiImplicitParam(name = "mPassword", value = "密码", required = true, dataType = "String",defaultValue="111111",paramType="Path"),
        @ApiImplicitParam(name = "date", value = "日期", required = true, dataType = "String",defaultValue="2017-07-04",paramType="Path"),
        @ApiImplicitParam(name = "httpSession", value = "Session", required = false)})
public @ResponseBody String getSignInfo(@PathVariable String mPhone, @PathVariable String mPassword,
        @PathVariable String date, 
        HttpSession httpSession) {
.......
 }
    @ApiOperation(value = "获取打卡信息", notes = "获取



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: