Browse Source

#IQRV #comment [JS] 新增共有函数 webSocketInvokeEx

gifur 4 years ago
parent
commit
8e6d880e44
1 changed files with 7 additions and 0 deletions
  1. 7 0
      addin/res/ManagerDesktop/js/public.js

+ 7 - 0
addin/res/ManagerDesktop/js/public.js

@@ -1591,6 +1591,13 @@ $(function () {
                 }
             });
         },
+        webSocketInvokeEx: function(req, methodSig, callback)  {
+            req.entity = this.entityName;
+            req.class = this.className;
+            req.methodID = methodSig.id;
+            req.signature = methodSig.sig;
+            this.webSocketInvoke(req, callback);
+        },
 
         commCallback : function(ret) {
             if("undefined" !== typeof ret.errorCode && ret.errorCode === 0) {