UNPKG

469 BJavaScriptView Raw
1class ApracExtend{
2 //注解扩展
3 AnnotationConfig(cb){
4 this.__AnnotationCb = cb;
5 }
6}
7
8var apracExtend = new ApracExtend();
9
10module.exports = apracExtend;
11module.exports.apracExtendInvoke = (function(){
12 function AnnotationInvoke(req, user, data){
13 if(apracExtend.__AnnotationCb){
14 apracExtend.__AnnotationCb(req, user, data);
15 }
16 }
17 return {
18 AnnotationInvoke:AnnotationInvoke
19 }
20})();
\No newline at end of file