执行_ resource 表 resourceData 里面的操作前或后前置和后置service方法,能够在数据库操作之前或之后执行Service。
service
{ "before": [{ "service": "service文件名", "serviceFunction": "service方法名" }], "after": [{ "service": "service文件名", "serviceFunction": "service方法名" }] }
before
sql
httpResourceHook.js
after