Commit 91c50aea by 18356073052

修改类目树接口返回数据接口

1 parent 44e4284f
......@@ -33,8 +33,8 @@ public class WeCategoryController extends BaseController {
@PreAuthorize("@ss.hasPermi('wechat:category:list')")
@GetMapping("/list")
@ApiOperation("类目树")
public List<? extends Tree<?>> list(@RequestParam("mediaType") String mediaType) {
return weCategoryService.findWeCategoryByMediaType(mediaType);
public AjaxResult list(@RequestParam("mediaType") String mediaType) {
return AjaxResult.success(weCategoryService.findWeCategoryByMediaType(mediaType));
}
/**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!