Quinn 发表于 2018-10-29 13:20:40

jeecg自动生成的接口问题

    @RequestMapping(value = "/{id}/{refundFee}/{refundDesc}", method = RequestMethod.POST)
    @ResponseBody
    @ApiOperation(value = "更新状态", notes = "更新状态", produces = "application/json")
    public ResponseMessage<?> update(@ApiParam(name = "id", value = "id", required = true)
                                              @PathVariable("id") String id, @PathVariable("refundFee") String refundFee,
                                              @PathVariable("refundDesc") String refundDesc, HttpServletRequest request) {}


   请问: 如上面jeecg自动生成的接口,只能通过 URL 传参的方式访问麽, 有没有办法可以分离为post参数和链接来访问呢?

jeecg_ty 发表于 2018-10-29 13:41:06

https://my.oschina.net/u/2425353/blog/1936408
页: [1]
查看完整版本: jeecg自动生成的接口问题