Commit ad3db5e3 authored by muhong's avatar muhong

修改 微信获取链接

parent 40ea4ce7
...@@ -35,4 +35,5 @@ public class ItemRequestDto implements Entity { ...@@ -35,4 +35,5 @@ public class ItemRequestDto implements Entity {
private Integer size; private Integer size;
private String path; private String path;
private Integer type; private Integer type;
private String pageUrl;
} }
...@@ -158,9 +158,9 @@ public class WxItemController { ...@@ -158,9 +158,9 @@ public class WxItemController {
} }
@ApiOperation(value = "小程序链接") @ApiOperation(value = "小程序链接")
@GetMapping("/getWxLink") @PostMapping("/getWxLink")
public Result getWxLink(String pageUrl) { public Result getWxLink(@RequestBody ItemRequestDto dto) {
return itemService.getWxLink(pageUrl); return itemService.getWxLink(dto.getPageUrl());
} }
@ApiOperation("图片上传") @ApiOperation("图片上传")
......
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