Commit 824c5001 authored by libin's avatar libin

添加get方法获取service 省去再次注入

parent 9c628d90
......@@ -25,6 +25,10 @@ public class BaseController<Biz extends BaseBiz,Entity> extends CommonBaseContro
@Autowired
protected Biz baseBiz;
public Biz getBaseBiz() {
return baseBiz;
}
@ApiOperation("添加")
@RequestMapping(value = "",method = RequestMethod.POST)
@ResponseBody
......
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