Commit 462cfc7d by 吴迪

【新增】修改代码

parent 36c71652
......@@ -101,5 +101,17 @@ public class RetailController {
return R.ok().put("data", page);
}
/**
* 获取应用指南详情
* @param id
* @return
*/
@RequestMapping("/api/getDetail/{id}")
// @RequiresPermissions("manage:retail:info")
public R getDetail(@PathVariable("id") Integer id) {
RetailEntity retail = retailService.getById(id);
return R.ok().put("data", retail);
}
}
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