Просмотр исходного кода

Merge branch 'fix/service_description' into 'develop'

Merge of fix/service_description to develop 修改服务和代理脚本中的注释,原来的描述有错误

See merge request o2oa/o2oa!1248
胡起 5 лет назад
Родитель
Сommit
712fdf5772

+ 4 - 4
o2web/source/x_component_service_AgentDesigner/Agent.js

@@ -111,9 +111,9 @@ MWF.xApplication.service.AgentDesigner.Agent = new Class({
                 var defaultText = "/********************\n";
                 defaultText += "this.entityManager; //实体管理器\n";
                 defaultText += "this.applications; //访问系统内服务\n";
-                defaultText += "this.organization(); //组织访问\n";
-                defaultText += "this.org(); //组织快速访问方法\n";
-                defaultText += "this.service(); ///webSerivces客户端\n";
+                defaultText += "this.organization; //组织访问\n";
+                defaultText += "this.org; //组织快速访问方法\n";
+                defaultText += "this.service; ///webSerivces客户端\n";
                 defaultText += "********************/\n";
                 this.editor.editor.setValue(defaultText);
             }
@@ -386,4 +386,4 @@ MWF.xApplication.service.AgentDesigner.Agent = new Class({
     explode: function(){},
     implode: function(){}
 
-});
+});

+ 4 - 4
o2web/source/x_component_service_InvokeDesigner/Invoke.js

@@ -118,9 +118,9 @@ MWF.xApplication.service.InvokeDesigner.Invoke = new Class({
                 defaultText += "this.currentPerson//当前用户\n";
                 defaultText += "this.response//响应对象。通过this.response.setBody(data)设置响应内容\n";
 
-                defaultText += "this.organization(); //组织访问\n";
-                defaultText += "this.org(); //组织快速访问方法\n";
-                defaultText += "this.service(); ///webSerivces客户端\n";
+                defaultText += "this.organization; //组织访问\n";
+                defaultText += "this.org; //组织快速访问方法\n";
+                defaultText += "this.service; ///webSerivces客户端\n";
                 defaultText += "********************/\n";
                 this.editor.editor.setValue(defaultText);
             }
@@ -408,4 +408,4 @@ MWF.xApplication.service.InvokeDesigner.Invoke = new Class({
     explode: function(){},
     implode: function(){}
 
-});
+});