0
@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) {
.......
}
enter image description here如何隱藏在揚鞭會話參數與Springfox
我要刪除文檔中的這個參數(HttpSession中),我需要幫助。
非常感謝。 – Arison