提交 ca968207 编写于 作者: W wangzuohuai

网络版2.1.1.1(单机版1.3.1.1)

    1、增加HTTP及HTTPS侦听服务GET协议支持同步请求;
    2、内嵌小程序窗口支持Alpha透明,切换显示自动恢复;
    3、发布腾讯微信、企业微信等桌面软件内嵌网页体验版;
    4、优化网络版授权服务端,不允许修改网卡MAC地址使用;
    5、网络版有效授权支持可排除指定期限未登录终端;
    6、支持对高级版内嵌小程序窗口截图并返回到前端;
    7、优化IE控件及标签小程序对各快捷键的处理;
    8、Autodesk小程序优化并支持打印输出到PDF、PNG等;
    9、VLC网页播放小程序截图支持设置自定义保存路径;
    10、服务启动时自动输出可用配置项目到文件;
    11、解决网络版打包工具生成移机校验码错误问题;
    12、解决中间件安装到中文等目录时执行Wrl_RegCom异常问题;
    13、解决高级版解析HTML网页小程序Left坐标错误问题;
    14、解决IE标签页小程序启动后切换标签页显示错误问题;
    15、解决C#非DLL小程序无法收到WS连接关闭通知等问题。
上级 cf78eaa4
......@@ -56,7 +56,7 @@ B、{"event":"Wrl_Listen","aid":2,"data":{"SID":"123","PID":"62978E9A-9B00-4E42-
2)、请求控制AIP电子签章内嵌网页小程序:
当前端不再需要小程序时可指定关闭,或者显示/隐藏及全屏显示等
ID为Wrl_AIPSignApplet启动小程序时返回的ID值,Code代表控制类型掩码:1关闭 2全屏显示 4自动隐藏 8还原显示 16自动适配网页高度和宽度显示模式切换 32强制隐藏。其中全屏显示2,可直接通过热键ESC或取消,4和32隐藏后可通过8恢复显示
ID为Wrl_AIPSignApplet或Wrl_AppletStart启动小程序时返回的ID值,Code代表控制类型掩码:1关闭 2全屏显示 4自动隐藏 8还原显示 16自动适配网页高度和宽度显示模式切换 32强制隐藏。其中全屏显示2,可直接通过热键ESC或取消,4和32隐藏后可通过8恢复显示
{"req":"Wrl_AppletControl","rid":2,"para":{"ID":"1","Code":4}}
3)、请求滚动网页中AIP电子签章内嵌小程序:
......@@ -68,7 +68,7 @@ Left为横向滚动条位置,Top为纵向滚动条位置
4)、请求改变网页中AIP电子签章内嵌网页小程序显示位置或大小:
当前端网页显示区域缩放时,可动态修改小程序的显示位置或大小
ID为Wrl_AIPSignApplet启动小程序时返回JSON中的ID值,Width和Height分别为新的宽度和高度
ID为Wrl_AIPSignApplet或Wrl_AppletStart启动小程序时返回JSON中的ID值,Width和Height分别为新的宽度和高度
X和Y分别为新的显示位置,不指定时保持不变,指定时原设置的IframeX和IframeY失效
{"req":"Wrl_AppletResize","rid":4,"para":{"ID":1,"Width":500,"Height":600}}
或,同时修改小程序显示起始坐标
......@@ -81,21 +81,31 @@ Code 1代表有水平滚动条,2代表有垂直滚动条,3代表都有
ScrollTop垂直滚动条位置 ScrollTop水平滚动条位置
{"req":"Wrl_ScrollBar","rid":6,"para":{"ID":"1","Code":2,"BarW":0,"BarH":0,"ScrollTop":0,"ScrollLeft":0}}
6)、请求缩放网页中AIP电子签章内嵌网页小程序,用于浏览器网页按比例缩放时响应,一般不需要处理:
ID为Wrl_AIPSignApplet启动小程序时返回JSON中的ID值,Scall为缩放百分比
{"req":"Wrl_AppletScale","rid":7,"para":{"ID":1,"Scale":120}}
6)、请求对小程序窗口做Alpha透明处理,便于前端临时显示覆盖到小程序窗口的菜单等:
ID为Wrl_AIPSignApplet或Wrl_AppletStart启动小程序时返回的ID值,Alpha为透明度百分比,1-100
{"req":"Wrl_AppletAlpha","rid":7,"para":{"ID":1,"Alpha":30}}
7)、请求对小程序窗口内容进行截图:
ID为启动小程序时返回JSON中的ID值,
File为指定截图文件保存路径或扩展名
Base64指定为1时代表返回BASE64编码的图像内容
{"req":"Wrl_AppletSnap","rid":10,"para":{"ID":1,"Base64":1,"File":".png"}}
8)、请求缩放IE控件内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
ID为启动小程序时返回JSON中的ID值,Scall为缩放百分比
{"req":"Wrl_AppletScale","rid":11,"para":{"ID":1,"Scale":120}}
3、小程序安装、升级、卸载
1)、请求安装AIP电子签章内嵌网页小程序
请在输入框中,输入如下请求,然后点击发送,完成安装:
{"req":"Plugin_Install","rid":1,"para":{"Name":"AIP电子签章内嵌网页小程序","PID":"62978E9A-9B00-4E42-9E70-0BE7526E14C0","Date":"2020-12-12","Desc":"PluginOK之上跨浏览器的AIP电子签章内嵌网页小程序,支持在Chrome、Firefox、Edge、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/AIPSignApplet.pid","MD5":"E9776C1B985FD12042F72A91C8B6A260","Version":"2.0.3.11","Size":557056,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"BA7B2EFC0542E033769FB1D8B7626D7754723779FA110E31EC77413D3D484E68B1ABDF143325F80D0D161E8D0FFC57F7E53668F8F5C7736EEC1D6F2A1EB12E0EC4F5C4148B051F542DCF6ECA8038FBB3F1E3340E92920344A46D54F44BAF41E09D8375CEF4EF278C1ED27C7C439486ABAF2BBA79176F198918E4DA378D76CCEAAE8822FC086CD8BD568AED5080E772C9A23833782CF8C8DC797327BB61A46DA303A059B96A7E7946E389EA465A9FCFFE35838BBF9AF6571F583CB83184EECCC2152B3C7E179E7853C2C5C0B2BEF648B6D97A1DA4AB113FBAC15287B5AD921908B105975E80450892EFF148F42520A1E3BE361B319E3E5C7CFE3C4F84F927BF4B"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"AIP电子签章内嵌网页小程序","PID":"62978E9A-9B00-4E42-9E70-0BE7526E14C0","Date":"2021-01-20","Desc":"PluginOK之上跨浏览器的AIP电子签章内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/AIPSignApplet.pid","MD5":"9626E062E906454A234B4A7CD6810AC6","Version":"2.1.1.1","Size":557056,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"24FD9CE6002FEB5F21466A1C460EF7718CB51B1454C4D88907949925FB445E57046A1ED56D359333904B1C90261DC419B0552454CF8E21DB7DD2760F1C19CD7740B208DA1997EB7D277316ABDEF7F34C683B6AD9453D1123D7051891CC891A753ABDDC26DB2F05B255D83E7BE07A65FFD65B8D005582613A0D6E4ADED166286EB3BC6E074C15842AF91F754489145621CCB93840FF72D7AFC608ED285C0A6ACC8FEB965039D5A4266D84E22A51A9C6B0C8F0A2CEBC59252BF59BBDCD718DAD1842AF17349A4AB2D3DE30E544F0B14604A3CCC89FF6E51BDA618CE2444326D47961AC7709C1FF8A372530A5F61100851033D025831102E373297B299F10ADCFC1"}}
启动安装后,会不断收到安装进度直到安装结束。
2)、请求升级点聚AIP电子签章内嵌网页小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"AIP电子签章内嵌网页小程序","PID":"62978E9A-9B00-4E42-9E70-0BE7526E14C0","Date":"2020-12-12","Desc":"PluginOK之上跨浏览器的AIP电子签章内嵌网页小程序,支持在Chrome、Firefox、Edge、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/AIPSignApplet_Update.pid","MD5":"644F2ED14DD21A3AC4F2D08FA96D57E0","Version":"2.0.3.11","Size":557056,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"21635E8644A58A60CACABA80484A7BDAF027189D404EE343C65D87FF880FD05CCC669F3F708ED794AD28082B7E56485DFF114074E0F9C8AFAC1E0AFB1907499CFE12BB67CB9499B0F53BD5C9726C5BC6EBC772020CDB54DE1751593C002C7925162FA258AF3F0545AEC2D3081E2C5F3D1FA5DC3943845D55B0ADF8B266E6B75B4A98536159CE2745846E526062B6BA6A95156765897AD5FF84B1F719AA22EFEAD55EA41BABBE0A9DEA703DBE8022785187F407F0B16375B93B210AAE3CF5C4B32A15AE2CC34A639C9B33372BA173027F66D3B623834CE4E28B6BBD382DFE7C3F9A49500B80EC032E4B75B0C40BFDFBF36A079BC353A71E606EC6B99ACBDC927A"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"AIP电子签章内嵌网页小程序","PID":"62978E9A-9B00-4E42-9E70-0BE7526E14C0","Date":"2021-01-20","Desc":"PluginOK之上跨浏览器的AIP电子签章内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/AIPSignApplet_Update.pid","MD5":"BC911A7A2DC330867AABB70FB59479B4","Version":"2.1.1.1","Size":557056,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"530A1208C3F04DFDFA3FA7C86828B50BD277823872CB79ADA9C5335F61543E52534ABE440F67DBA2414D2F24BDE0DBF4354E97759379E2ACE8AC046391B17FAE4B685D17633C4115D0542FCB87733272C439E6C65E6625CA3ED168C6E4F72F0E4159723B4FB04DB735D970BB075B6377B8DB543208FC960A4F23863E7A82AB66CF27C1B1EBE4952C4C73BC71163F84770DC24DF512CC64BDE764681BC9B9A89400B41A00EA49EC0C81EE10E4D19E3D57C8B84762DC55A356730A0106069B106E1B2BC488BD16993037C40508EAEA56FC06C5F4C70119F2028E09AF457BE6C8CF6CBE82FA2AC02DD13470987D9324AB5BD4C0BB69CCAF17EE12120FBD627F5873"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......@@ -1309,4 +1319,4 @@ B、PluginOK支持的事件通知:
6、其它
请求参数的JSON数据包,请确保是UTF-8无签名的编码。
更多接口请求说明,请参考安装目录中的文档TestWrl.txt、SDK包中的“PluginOK开发者手册.doc”及“PluginOK中间件安全解决方案”。
如还有疑问请直接联系客服 加微信:ZorroSoft,或加QQ群:23126938
\ No newline at end of file
如还有疑问请直接联系客服 加微信:ZorroSoft,或加QQ群:23126938
Autodesk内嵌网页小程序:基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )开发,底层调用Autodesk的AutoCAD软件VBA接口及DWG True View或Design Review的OCX控件实现可程序化驱动的dwg等工程图在线查看、编辑、审阅等,可分别将AutoCAD、DWG True View、Design Review软件窗口内嵌到网页指定区域运行并操控。最低可用在Chrome 41、Firefox 52、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ等浏览器,也兼容运行于这些浏览器的最新版本。
Autodesk内嵌网页小程序:基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )开发,底层调用Autodesk的AutoCAD软件VBA接口及DWG TrueView或Design Review的OCX控件实现可程序化驱动的dwg等工程图在线查看、编辑、审阅等,可分别将AutoCAD、DWG TrueView、Design Review软件窗口内嵌到网页指定区域运行并操控。最低可用在Chrome 41、Firefox 52、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ等浏览器,也兼容运行于这些浏览器的最新版本。
1、PluginOK(牛插)中间件的安装:
1)、如果是exe的安装程序,请直接运行安装;
......@@ -39,7 +39,7 @@ Flag掩码标记:1指定新标签加载(1和16都不指定时为当前页加
IframeX和IframeY分别为iframe嵌套的横竖偏移修正坐标
BarW和BarH分别是网页右侧和底部预留区域
小程序实际显示首先会基于网页中指定的坐标和大小,再根据IframeX、IframeY、BarW、BarH设定的值做修正
App:0启动AutoCAD实现在线编辑(推荐用2015及以上版本,可根据具体版本定制) 1启动DWG True View在线查看和转换 2启动Design Review在线审阅
App:0启动AutoCAD实现在线编辑(推荐用2015及以上版本,可根据具体版本定制) 1启动DWG TrueView在线查看和转换 2启动Design Review在线审阅
Url:加载小程序所在的网页实际地址
Open:为需要打开的文档路径,磁盘目录斜杠用/
注意:Open和Url如果有特殊字符或中文等,需要用URL编码处理后传递
......@@ -47,7 +47,7 @@ Open:为需要打开的文档路径,磁盘目录斜杠用/
自动识别当前浏览器并启动AutoCAD程序在线编辑dwg、dxf等文档
{"req":"Wrl_ACADApplet","rid":5,"para":{"Type":"0","Title":"Autodesk Applet","Flag":1,"IframeX":0,"IframeY":0,"BarW":0,"BarH":0,"Url": "http://zorrosoft.com/acadframe.html","App":"0","Open":"D:/Zorro/test.dwg"}}
自动识别当前浏览器并启动DWG True View程序在线查看或转换dwg文档
自动识别当前浏览器并启动DWG TrueView程序在线查看或转换dwg文档
{"req":"Wrl_ACADApplet","rid":6,"para":{"Type":"0","Title":"Autodesk Applet","Flag":1,"IframeX":0,"IframeY":0,"BarW":0,"BarH":0,"Url": "http://zorrosoft.com/acadframe.html","App":"1","Open":"D:/Zorro/test.dwg"}}
自动识别当前浏览器并启动Design Review程序在线审阅dwg、dxf文档
......@@ -91,22 +91,32 @@ Code 1代表有水平滚动条,2代表有垂直滚动条,3代表都有
ScrollTop垂直滚动条位置 ScrollTop水平滚动条位置
{"req":"Wrl_ScrollBar","rid":6,"para":{"ID":"1","Code":2,"BarW":0,"BarH":0,"ScrollTop":0,"ScrollLeft":0}}
6)、请求缩放微软Autodesk内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
6)、请求对小程序窗口做Alpha透明处理,便于前端临时显示覆盖到小程序窗口的菜单等:
ID为Wrl_ACADApplet启动小程序时返回的ID值,Alpha为透明度百分比,1-100
{"req":"Wrl_AppletAlpha","rid":7,"para":{"ID":1,"Alpha":30}}
7)、请求对小程序窗口内容进行截图:
ID为启动小程序时返回JSON中的ID值,
File为指定截图文件保存路径或扩展名
Base64指定为1时代表返回BASE64编码的图像内容
{"req":"Wrl_AppletSnap","rid":10,"para":{"ID":1,"Base64":1,"File":".png"}}
8)、请求缩放IE控件内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
ID为启动小程序时返回JSON中的ID值,Scall为缩放百分比
{"req":"Wrl_AppletScale","rid":7,"para":{"ID":1,"Scale":120}}
{"req":"Wrl_AppletScale","rid":11,"para":{"ID":1,"Scale":120}}
3、小程序安装、升级、卸载
1)、请求安装Autodesk内嵌网页小程序
请在输入框中,输入如下请求,然后点击发送,完成安装:
{"req":"Plugin_Install","rid":1,"para":{"Name":"Autodesk内嵌网页小程序","PID":"997599C3-3C4D-445E-B741-0AD934B45459","Date":"2020-12-12","Desc":"PluginOK之上跨浏览器的Autodesk内嵌网页小程序,支持在Chrome、Firefox、Edge、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌AutoCAD等程序进行在线编辑、查看或审阅工程图","DownAddr":"http://local.zorrosoft.com/Files/Plugin/ACadApplet.pid","MD5":"8707024DADD8A827F01EF1FE6B3DAB16","Version":"2.0.3.11","Size":688128,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"65E092DAA42BCC40348F9779A7798E508F68BFCC13FEEF79B377FD82CD709FFA0064E5F1740D2A54D13FD500257496B34CA38A158E3F90824E97E999DE63934582653E1936247142B98CF4B86BF416324975567FB0B486EB741CD1FE67103437C18F2996C176BFD374F5CEAD49A8DFF595B607393004087E9E8CB3DA67579544FD4D69F610144192F82193EB867B00A0B74AE26BD6C2D3F671B76A8D405C2DFFBD778F16B65443DE38C8BE2B3DE027B177FE7319AC23E0F2B269BCCE2E916CAEAB9F3DFB713906A0AEE06A32B6421354349AFB6742C21337358A2EB7EC4A1655A4F4C618D7AA74A56F41C27ED59E202CDC235BA3F5A36027DAFBCEA26480757A"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"Autodesk内嵌网页小程序","PID":"997599C3-3C4D-445E-B741-0AD934B45459","Date":"2021-01-20","Desc":"PluginOK之上跨浏览器的Autodesk内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌AutoCAD等程序进行在线编辑、查看或审阅工程图","DownAddr":"http://local.zorrosoft.com/Files/Plugin/ACadApplet.pid","MD5":"392966D882D464DCAB4417D4166C30BD","Version":"2.1.1.1","Size":688128,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"C8A020716D8AB09C3450B088DB38C4BED248D4CF872F80549FF22F02D131C683A32225E35A88DDE7D3B3A9509158E9580420965E61120DB5AA2BA2833C7982CD596FF2CAA349F70DFA900328067DE9F2F0446165E15CF85CC369D6F7A6DE0E80D18DD7F9A122E4FDAA353A25831BC98BBA3E494A3B1ED85AC30EBC24485DEDF000FCDA4F8FE24AC25745FFBBF80D6A08CE8193E8D21569BFA93710C0E606453DE4B3E937B49FC058653206033A1E9DA98B13367E6BAC00C3C6C93FF9FB163BC35D3A4CCF372E0524F11A8517E324AD67A286FA82B5A5CC35A8195661D8A16C9C1DBB213BA2F0BB582C8C5217358B28C1B5DAFE6064FB8D8133217C11978BC922"}}
启动安装后,会不断收到安装进度直到安装结束。
在发布时,也可以把此小程序目录文件和中间件一起打包后发布,不用单独分发。
2)、请求升级Autodesk内嵌网页小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"Autodesk内嵌网页小程序","PID":"997599C3-3C4D-445E-B741-0AD934B45459","Date":"2020-12-12","Desc":"PluginOK之上跨浏览器的Autodesk内嵌网页小程序,支持在Chrome、Firefox、Edge、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌AutoCAD等程序进行在线编辑、查看或审阅工程图","DownAddr":"http://local.zorrosoft.com/Files/Plugin/ACadApplet_Update.pid","MD5":"092BDB17DA72FE833E602A85C0A930FD","Version":"2.0.3.11","Size":688128,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"AF873AE213CFAB5C7C21C65670BF9A43B64D9544F44E0B109F1F712BFE912B41E333357F9A4F59D20E286C28F8E806CAAE13705385015C213E9BDC415701EDD7865A93FF3E8A366BD0992F8E833D9692626834B5278D98BD7F0B0D1892AB8B3B2B34AEA0A213726E5FAA4AB8FB5E0723FC8A8B01F518D9F1CA58836A7B4F2DF01D30D6C7F0452C124FD95EF12625092022BF721580AEC7C3221A2722074F3C767FD2009CAA2AA7B685BFFBC7ABE61C75E2F87739241F393F9328A441895061BE3E4333F7FC1C6124DA08CF307E00EAE69792AC423D790D425F5AABE5BE794A949F03B3B4A38815DBA0FFD336603D099D9BB1BA06F932FF6381A20473461FBE3D"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"Autodesk内嵌网页小程序","PID":"997599C3-3C4D-445E-B741-0AD934B45459","Date":"2021-01-20","Desc":"PluginOK之上跨浏览器的Autodesk内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌AutoCAD等程序进行在线编辑、查看或审阅工程图","DownAddr":"http://local.zorrosoft.com/Files/Plugin/ACadApplet_Update.pid","MD5":"736F100F85C1B2FB4F758AA1CED42D2D","Version":"2.1.1.1","Size":688128,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"8B2A89DD5A4E5F285C76547F12DF5CECF787D67AFC8ABA131898F8EEECEA028DA4B4F15A6D538D0910939273F5A610D2D4B8897025241E85E88B9BA307B62C8864DB43129D41B688D6DB2698B95CA723324465B9EABA4D46488BFCA47DE581104FD49A281072226ED73FCC1625850294CA270AFBB0C85C38F703194520985E9ED3D3389D1BC1C05F38CB6E0143D16415D2F61BEE68C175736A6CDEA10B8BB3AD03D8A885C5A5D8E1E663997A4D48B4EFEC43E6ADE7754BB9C741408E4968EA8AEF541B637F2092A9E6A54AC854FE8057E6D012D46980C527433F0E5FCD531876D3132A5FA89EA379029E58F85FBE7A11500B3EF253F35BF1CCC85AA8CCFBFE69"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......@@ -114,18 +124,32 @@ ID为启动小程序时返回JSON中的ID值,Scall为缩放百分比
{"req":"Plugin_Remove","rid":3,"para":{"PID":"997599C3-3C4D-445E-B741-0AD934B45459","Type":8}}
4、Autodesk内嵌网页小程序转调用Autodesk的AutoCAD软件VBA接口及DWG True View或Design Review的OCX控件接口,先根据Wrl_ACADApplet请求启动后返回的端口号,新建立一个WebSocket连接后可执行如下指令:
4、Autodesk内嵌网页小程序转调用Autodesk的AutoCAD软件VBA接口及DWG TrueView或Design Review的OCX控件接口,先根据Wrl_ACADApplet请求启动后返回的端口号,新建立一个WebSocket连接后可执行如下指令:
A、常用功能请求:
请求退出小程序
1)、请求退出小程序
{"req":"ACAD_Exit","rid":1,"para":{}}
请求关闭文档
返回: {"ret":0,"rid":1",data":{"Ret":"0"}} Ret为0代表成功
2)、请求关闭当前打开的文档
{"req":"ACAD_Close","rid":2,"para":{}}
请求打开文档
{"req":"ACAD_Open","rid":3,"para":{"Open":"D:/Zorro/test.dwg"}}
返回: {"ret":0,"rid":2,"data":{"Ret":"0"}} Ret为0代表成功
3)、请求打开文档
Open打开文档路径,如有特殊字符或中文的需要用URLCode先编码 PW打开密码 Read为1代表只读打开
{"req":"ACAD_Open","rid":3,"para":{"Open":"D:/Zorro/test.dwg","PW":"","Read":0}}
返回: {"ret":0,"rid":3,"data":{"Ret":"0"}} Ret为0代表成功
4)、打开文档转换到PDF
SrcFile打开文档路径,如有特殊字符或中文的需要用URLCode先编码 PW打开密码,如已打开可不设置
DestFile转换目标路径,如有特殊字符或中文的需要用URLCode先编码
{"req":"ACAD_ConvertTo","rid":4,"para":{"SrcFile":"D:/Zorro/test1.dwg","DestFile":"D:/Zorro/test1.pdf","PW":""}}
返回: {"ret":0,"rid":4,"data":{"Ret":"0"}} Ret为0代表成功
5、事件通知:
A、
A、文档激活
{"event":"ACAD_DocActivate","data":{"Name":""}} Name为激活文档
B、PluginOK支持的事件通知:
......
2020-12-12 PluginOK升级网络版2.0.7.6(单机版1.2.18.6)
2021-01-22 PluginOK重要升级网络版2.1.1.1(单机版1.3.1.1)
1、增加HTTP及HTTPS侦听服务GET协议支持同步请求;
2、内嵌小程序窗口支持Alpha透明,切换显示自动恢复;
3、发布腾讯微信、企业微信等桌面软件内嵌网页体验版;
4、优化网络版授权服务端,不允许修改网卡MAC地址使用;
5、网络版有效授权支持可排除指定期限未登录终端;
6、支持对高级版内嵌小程序窗口截图并返回到前端;
7、优化IE控件及标签小程序对各快捷键的处理;
8、Autodesk小程序优化并支持打印输出到PDF、PNG等;
9、VLC网页播放小程序截图支持设置自定义保存路径;
10、服务启动时自动输出可用配置项目到文件;
11、解决网络版打包工具生成移机校验码错误问题;
12、解决中间件安装到中文等目录时执行Wrl_RegCom异常问题;
13、解决高级版解析HTML网页小程序Left坐标错误问题;
14、解决IE标签页小程序启动后切换标签页显示错误问题;
15、解决C#非DLL小程序无法收到WS连接关闭通知等问题。
2020-12-12 PluginOK升级网络版2.0.7.6(单机版1.2.18.6)
1、发布Autodesk公司内嵌网页小程序体验版,支持内嵌AutoCAD软件、DWG True View及Design Review的OCX控件实现可程序化驱动的dwg等工程图在线编辑、查看、审阅等,搭配文件操作小程序可实现工程图文件的下载后自动打开编辑、保存后自动上传服务器管理;
2、网络版支持前端请求自动移除指定终端电脑授权并卸载,回收可用授权数量;
3、小程序侦听IP可设置为实际IP,而非127.0.0.1并输出日志;
......
......@@ -7,11 +7,11 @@
2、请求安装文件操作小程序:
{"req":"Plugin_Install","rid":1,"para":{"Name":"文件操作小程序","PID":"199BB8A7-9DD5-41F5-AE9D-2AA94300B0B3","Date":"2020-12-12","Desc":"PluginOK中间件之上跨浏览器的文件操作小程序,提供文件HTTP协议上传与下载、本地图像文件缩放与旋转、本地文件访问、本地程序运行等服务,可在Chrome、Edge、Firefox、IE、Opera、360、QQ等的浏览器最新版中调用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlFileApplet.pid","MD5":"371D26B8C6A35A5A48317C04D9EE1735","Version":"2.0.3.11","Size":491520,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"532632DC918676470FC065990C284015B3AD370E260707A7B97A205D6F237BA0011E989380B23F62F6D6BD53451066C85D17EF7317FA564639326F9A411FBD4F9742DAE05A2CADC431511C7FB64247F410547FE68F43D2FDCA799F42B9138D7364A0107590DB17223AC7C3C5AACDDE3755DE2D45BD525B514012F821F8295DB2D95876853CEA999E52EBF36BB544F9DE3F8BE118472C04E8CA26226C294827DC1D53DEBF6241F6DCDE09AC69B537A414BE900ADD9483A0FA94AA8EB1CCFC49C0439AE877B7E0D71AD28E858E7B7234F7388C7AC0D37CE3BFE4E97ACDC1095D939DD520344DFB4CDA531178855413CA6669E44A5637C17E531A022A64E419092E"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"文件操作小程序","PID":"199BB8A7-9DD5-41F5-AE9D-2AA94300B0B3","Date":"2021-01-22","Desc":"PluginOK中间件之上跨浏览器的文件操作小程序,提供文件HTTP协议上传与下载、本地图像文件缩放与旋转、本地文件访问、本地程序运行等服务,可在Chrome、Edge、Firefox、IE、Opera、360、QQ等的浏览器最新版中调用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlFileApplet.pid","MD5":"0A169C026A1E43889B9D6E777D636A37","Version":"2.1.1.1","Size":491520,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"3F4CA380181A4AA4E71E83C0F2B31ED8C7D3EEE5DCA31AEB9D826B411E7BC4F3D3A9125BB4DDBCA99C1B1A010B1741327652926451142F15664EA990ADFA75477C723393FCCA94B44D0B63C71854F501EF1FDE8EDF808AF0EC40D09B8581A89564DAC915813233C972AF60FE21120AA347EBAECF6D55AF7509D33EBCFC1DCFDC28D210619B9146E14ACF5A31F4D0CB61D42531E269FDCEEA7D57D14C7CD1991EE0B16B6186409ABE423B2AC090107F8D6A58BDB64F052DCA3C0C12724B4B77B54A41EA92A46A048251CC8706402875F581394565E53CDC8494D9E69CBFF4554D8719880B57024845A9B0FB7B5D86BE87720F9B4D74B5B0C35F0C4D501BF243A4"}}
3、请求更新文件操作小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"文件操作小程序","PID":"199BB8A7-9DD5-41F5-AE9D-2AA94300B0B3","Date":"2020-12-12","Desc":"PluginOK中间件之上跨浏览器的文件操作小程序,提供文件HTTP协议上传与下载、本地图像文件缩放与旋转、本地文件访问、本地程序运行等服务,可在Chrome、Edge、Firefox、IE、Opera、360、QQ等的浏览器最新版中调用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlFileApplet_Update.pid","MD5":"7BF5F7F1AA6D6CBA7A040513B8C7D413","Version":"2.0.3.11","Size":491520,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"0DD9E2269A0C5D610AB44C6DB87C883A4BC272EE525320909465B6FDB65DE951E9ACE4B311149B163CA7A42C28DDB22BADA3F157E4886E6F12334BB841C9CA093F7239F478B6ED927D9E9B13BC0DC3C5C5F7C733B9AA0894C5E32B086FD7F6EB934B1609A6786B843FAF5A1CE69AB00D3B8F55DF0D06B997B140F53562F74EF0C0033130C14F248C7D72E753C85A67933D9E7ABA454B03773FFF805EC1CBF06A6310568BCA3C16D8759F21B9EEDB0780F7C66F646E14DEBA9B1F597E9F40C4748215B9908FEF9C7BA0D058A885EEC5F1B4CC33E92224893282F57841A66DEDD5852AC7440C3EFDA8A518D3A8FB1B8BA4159773ED7B83F7A3EB16F81FA809B681"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"文件操作小程序","PID":"199BB8A7-9DD5-41F5-AE9D-2AA94300B0B3","Date":"2021-01-22","Desc":"PluginOK中间件之上跨浏览器的文件操作小程序,提供文件HTTP协议上传与下载、本地图像文件缩放与旋转、本地文件访问、本地程序运行等服务,可在Chrome、Edge、Firefox、IE、Opera、360、QQ等的浏览器最新版中调用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlFileApplet_Update.pid","MD5":"164B9F396DE013B8BD5848607DC88F5D","Version":"2.1.1.1","Size":491520,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"0454FCFE681C919931AF565C5E9196EB315DBE09E10390CDD7255E267F46D0688662735BF9997CADB3506E87901A079F74064BED38E7C98A3BABA220E498ACE928CEEB31D332B62EE190287395312C4BACD25E23A7DDF2C234EB03D0B16F703A06195C633DA216A263F9F25442BBC60B303BAB78E848D7E3A094295B76D0F38FCA1118D0F6195F448F82324AEC3E97DA7DE89F66D1B23AD025A3166D7668ACB4C79C845696DEC5D8127B039C64559ED51C5152235680ADD197CC6A9BFFDEA06FBFE8D5BDEBE838188A6D6C40C6ADBB9B7255C6050A6520457495407E0DAEBEA2313EB478CA07B8790528C6400E19469C88315509A5B8451CF02E3C6B561E5E6A"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......
......@@ -44,7 +44,7 @@ Open:为需要播放的多媒体路径,磁盘目录斜杠用/
注意:Open和Url如果有特殊字符或中文等,需要用URL编码处理后传递
举例:
自动识别当前浏览器指定位置和大小启动:
{"req":"Wrl_FlashApplet","rid":1,"para":{"Type":"0","Title":"Flash Applet","Flag":1,"IframeX":0,"IframeY":0,"BarW":0,"BarH":0,"Url":"http://zorrosoft.com/FlashApplet.html","Open":"http://zorrosoft.com/Files/test.swf"}}
{"req":"Wrl_FlashApplet","rid":1,"para":{"Type":"0","Title":"Flash Applet","Flag":1,"IframeX":0,"IframeY":0,"BarW":0,"BarH":0,"Url":"http://zorrosoft.com/FlashApplet.html","Open":"http://zorrosoft.com/Files.swf"}}
自动识别当前浏览器自动适配网页大小启动:
{"req":"Wrl_FlashApplet","rid":3,"para":{"Type":"0","Title":"Flash Applet","Flag":9,"IframeX":0,"IframeY":0,"BarW":0,"BarH":0,"Url":"http://zorrosoft.com/FlashApplet.html","Open":"http://zorrosoft.com/Files/test.swf"}}
......@@ -85,22 +85,31 @@ Code 1代表有水平滚动条,2代表有垂直滚动条,3代表都有
ScrollTop垂直滚动条位置 ScrollTop水平滚动条位置
{"req":"Wrl_ScrollBar","rid":6,"para":{"ID":"1","Code":2,"BarW":0,"BarH":0,"ScrollTop":0,"ScrollLeft":0}}
6)、请求缩放网页中Flash Player内嵌网页小程序,用于浏览器网页按比例缩放时响应,一般不需要处理
ID为Wrl_FlashApplet启动小程序时返回的ID值,Scall为缩放百分比
{"req":"Wrl_AppletScale","rid":7,"para":{"ID":1,"Scale":120}}
6)、请求对小程序窗口做Alpha透明处理,便于前端临时显示覆盖到小程序窗口的菜单等
ID为Wrl_FlashApplet启动小程序时返回的ID值,Alpha为透明度百分比,1-100
{"req":"Wrl_AppletAlpha","rid":7,"para":{"ID":1,"Alpha":30}}
7)、请求对小程序窗口内容进行截图:
ID为启动小程序时返回JSON中的ID值,
File为指定截图文件保存路径或扩展名
Base64指定为1时代表返回BASE64编码的图像内容
{"req":"Wrl_AppletSnap","rid":10,"para":{"ID":1,"Base64":1,"File":".png"}}
8)、请求缩放IE控件内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
ID为启动小程序时返回JSON中的ID值,Scall为缩放百分比
{"req":"Wrl_AppletScale","rid":11,"para":{"ID":1,"Scale":120}}
3、小程序安装、升级、卸载
1)、请求安装Flash Player内嵌网页小程序
请在输入框中,输入如下请求,然后点击发送,完成安装:
{"req":"Plugin_Install","rid":1,"para":{"Name":"Flash Player内嵌网页小程序","PID":"E7C7BDA6-C828-46F1-A7BA-B4C572A01100","Date":"2020-12-12","Desc":"PluginOK之上跨浏览器的Flash Player内嵌网页小程序,支持在Chrome、Firefox、Edge、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/FlashApplet.pid","MD5":"8BC01FA1DB86B9A0D04F247790229A1E","Version":"2.0.3.11","Size":524288,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"2DA27288A218FABF06D6AB8735F009D7236516290AAE5E9719608670FD97FC5503C0275AFC2F051949464199D4386A9A3E1531291D1A5CE6F137B8A4CD2165D235290A6EA162306777E9F10E7EB6F354B3C15AA00F56568E40D55B3C9F99484B1B2EB63119B995990DDD50F1528D44B54CA5E00669BCD55DFB47A22A2F1B9B8A557B895EAE65EC90C3727C52042D1B4DFD9276D3B382C56F1690974ACD9B219750349647B8A45C7CC9E37DF63B8D56721BD3CF2CDEB133043EE2D243EECD3EFBA6CF6094CCA0521F49252A63E0446B27B4C5E41A826A58B6B365F00213BBDB682682166A169E7E17B55FC39A86F663492235CD36594CB7BA2319CE08C30C8D98"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"Flash Player内嵌网页小程序","PID":"E7C7BDA6-C828-46F1-A7BA-B4C572A01100","Date":"2021-01-20","Desc":"PluginOK之上跨浏览器的Flash Player网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/FlashApplet.pid","MD5":"803BE4D5537B07886E79E2B6E8E49CD3","Version":"2.1.1.1","Size":10354688,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"6E502B2A4914C9F1A7F8CD26851A49E9C8250DA286AA60A2809452AA6E44A2541EE3AA5116BAEB5B0D2307D8D1E8ABC72C4F43EAC14F93D7DCCDEB2298D5310C11BFD8F1E0EC2E32C77E2E18A896B881C2D54D3FE29379F0B411A8DF174625D28A52E2BA976C5F731F8AD061AB0F5B270B302D8B75FCEBC696142576F1932E2444E061426D1900522F281F64149DBA0D04CA5E27751B137C5F9FFE0C2ADFA14A514CEC03E00FE8999D49037092B404D5FCD63FEAAE039E04B5A72A661E3C67587CCD27FB9814518C5134B4E3E9B09A9D657215F212EC03207E48CE88C6D4A7E9A2AA04082719321086681949C437D8E802F5ADEBB952880B80D43CC3110985D9"}}
启动安装后,会不断收到安装进度直到安装结束。
2)、请求升级Flash Player内嵌网页小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"Flash Player内嵌网页小程序","PID":"E7C7BDA6-C828-46F1-A7BA-B4C572A01100","Date":"2020-12-12","Desc":"PluginOK之上跨浏览器的Flash Player内嵌网页小程序,支持在Chrome、Firefox、Edge、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/FlashApplet_Update.pid","MD5":"82AC72E2BA176EA2884143C7ABBA07CE","Version":"2.0.3.11","Size":524288,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"77144F52D980B80B04DD1E3EC7FAD6BE50BE1DE747EF1D1C6EB169A301F1CC541182D2817AE059230485DAD69B9864D8115863A4BAFAD185B81379DC9DB90807DA5864AE9645F36796A273FBB0A41CD0772F539BDF0FDA04F9B530A466C201C564151A23DD0477CA0F3A4BDD37D507F6195794107195207AD4D3B89DA4CAC6FCB77B4D48ABA077387E778F1F0DE17B411E16B200AF2AEC3C5C196EC5D4A154DC409E9F4394C3930EC8FB4E1EB95C416A7867F90910F74AFC0721815011795B8A44BE41A6B0CDD29449AE7A41FF3D2A56D972C55F573BE6F18A72E4552DCBCC7573F341A0DE08F5287D67106729C6571AD93D0C212D6A21605635216355122C0A"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"Flash Player内嵌网页小程序","PID":"E7C7BDA6-C828-46F1-A7BA-B4C572A01100","Date":"2021-01-20","Desc":"PluginOK之上跨浏览器的Flash Player网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/FlashApplet_Update.pid","MD5":"02B1995BFB1BFC83A60E56749EB1C863","Version":"2.1.1.1","Size":10354688,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"93DEEC155DC4A129EB95A06B9E6A06CD5701B9614E49E399E2936259130946BE4B8778BC460B1D2AECCD563F0E2E4119EEDEB8DA64C6064381FE3F5E4F482303DA48D8D493493487FB05AC39AD9CFCCDF53D987BCFB0B3C2B76E434D0EA5F7EA64D9902CEF6B64FF4F83D91E733CE0607E893F473841851061062C1840EE4A67CBE1FDF98D12C4BE9CED8D354BFD5A0C3F91B39545AC2AF2A4D22FC3F3A4DEABA9DBFDDCF4FB110F88336ABE10D8CEC583A5B7703ADF0595F3E0B538DFF2CFE4435742F8C8035886E47FDF17F75871CC9C15CFBBE8696D5B3AEFF874F263BCBAE1EBC53563FF00C2B25814AACD825F883339A7E29818051EF7EBB01682D69835"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......
......@@ -87,22 +87,32 @@ Code 1代表有水平滚动条,2代表有垂直滚动条,3代表都有
ScrollTop垂直滚动条位置 ScrollTop水平滚动条位置
{"req":"Wrl_ScrollBar","rid":6,"para":{"ID":"1","Code":2,"BarW":0,"BarH":0,"ScrollTop":0,"ScrollLeft":0}}
6)、请求缩放IE控件内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
6)、请求对小程序窗口做Alpha透明处理,便于前端临时显示覆盖到小程序窗口的菜单等:
ID为Wrl_IEApplet启动小程序时返回的ID值,Alpha为透明度百分比,1-100
{"req":"Wrl_AppletAlpha","rid":7,"para":{"ID":1,"Alpha":30}}
7)、请求对小程序窗口内容进行截图:
ID为启动小程序时返回JSON中的ID值,
File为指定截图文件保存路径或扩展名
Base64指定为1时代表返回BASE64编码的图像内容
{"req":"Wrl_AppletSnap","rid":10,"para":{"ID":1,"Base64":1,"File":".png"}}
8)、请求缩放IE控件内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
ID为启动小程序时返回JSON中的ID值,Scall为缩放百分比
{"req":"Wrl_AppletScale","rid":7,"para":{"ID":1,"Scale":120}}
{"req":"Wrl_AppletScale","rid":11,"para":{"ID":1,"Scale":120}}
3、小程序安装、升级、卸载
1)、请求安装IE控件内嵌网页小程序
请在输入框中,输入如下请求,然后点击发送,完成安装:
{"req":"Plugin_Install","rid":1,"para":{"Name":"IE控件小程序","PID":"18BDC030-AF37-50E1-B0AE-E5EF336BE282","Date":"2020-12-12","Desc":"PluginOK之上跨浏览器的IE控件内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IEApplet.pid","MD5":"F6E95C632B79D29951FB07BB9111D31F","Version":"2.0.3.11","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"63746BE3DCBCAB381B0734CF901178EB1732153DB2D9362D0A0E02A6DB988D2AE3E9CAF3CFD8F592B64B5774DA31E29A47DB5F0184AE93EE33D9763E92B883E3F0DE415EC51BD47E56F16C1EEF2A9ABB9490F85374530DE648129B677E070E5689408BE40A87A5C4A7094ECD4F9B672C1A9FEA14A6E2CA920276C5E3AF74C412E00F3B11FF99C37105C5B14BA141AFEE3E0F1F9A1A14D69E6C02B286410319609215137598E6B26F065360C78303D5E1C3AB7264160619400A51B40A3C052FAD87A418BD399E775BCF832123B4BBF3E541295E25858C909F4892B071D21F1DA15AF24B24098FC34E3E52CF3B9C3BA147ED98F5BC448647592B5DAB0B9A80551D"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"IE控件小程序","PID":"18BDC030-AF37-50E1-B0AE-E5EF336BE282","Date":"2021-01-20","Desc":"PluginOK之上跨浏览器的IE控件内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IEApplet.pid","MD5":"E5DC12F7DEF38C5907D49F4A6F9F89C2","Version":"2.1.1.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"11DAD1F053B3E03CD963EF6432FC546CE679CB45F02EDA33327E4F8F531131C9A8D958DA7F7CE3096FA5104B06E181D636050A1DCB99AE9E13EFFDE8675253BE8B676211DE5359353988D5A669B6ED055881E5305CA456C3FD6D44BF9FBBBBD632E9C8A5F0CB084F91D1D9F689789D313EAF09A3E2DB870037F20E6A26970F2D1D5AAC92D8E8E0501C8311257BE0AFD6F9A1BACDAA7284D34C24B1F1CBD7B1739B99013DA9D77E8FBC75627A8623E8A513C71889D0BDF3209D36F0F40B968CAD555EF4ED1FEF26F92A76C3A710E5437F207E560C583D2C202F3D615AA55AC8799F8CB2A58821086EF282DE34ADD87529F33CDE8CD48DE181E907CA2BDFA6F919"}}
启动安装后,会不断收到安装进度直到安装结束。
在发布时,也可以把此小程序目录文件和中间件一起打包后发布,不用单独分发。
2)、请求升级IE内核内嵌小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"IE控件小程序","PID":"18BDC030-AF37-50E1-B0AE-E5EF336BE282","Date":"2020-12-12","Desc":"PluginOK之上跨浏览器的IE控件内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IEApplet_Update.pid","MD5":"189EF6FA72F2F861E1115AF548E83115","Version":"2.0.3.11","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"92B8F79F52D566062AE98A3C2FAA994133EF42175C2F6945A681082F1FCA8EE63FBD2C37BD76B34312E0F6D498B17FAD8DBFEF14FE901A697885698EA46BA6073C991C04AF651C662F36F78FF962D14679AA2669DEAE186F353D642B4796A06DAA6905248D32EA0240717410A5AFF43B238056C3C91F41578FBE6A48453251CC57C5204A1CAABCA2B6CC0DD3B60802A307639E5B538A5CE4D26F5E1D789E979AC4BAEA0E5D0EAAD05473D7AF668E5104189BB8C458B2BDB3642E887E7E58031854A4161254DBC7D00BDC7CFAF3C5927CD59B0D525B775F3750C95F8316848CC1A687939382D821100CFEB62B528231326AE93BE388488E4D0F7320409D5C485D"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"IE控件小程序","PID":"18BDC030-AF37-50E1-B0AE-E5EF336BE282","Date":"2021-01-20","Desc":"PluginOK之上跨浏览器的IE控件内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IEApplet_Update.pid","MD5":"4C5900F3F175EFB094D10B6A166B46E4","Version":"2.1.1.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"817124BCD7B9BADC5D0A06464A5E5E9DF3E96D063FCA9B0E78221F6536BEB4C83600209BEA835195AA2A53CECD04D30CAEFF348CD4FE6F1AEBCED122C1A73456AA1E52731C27125C3F030BB942FF16A1DB5B3C4381477518D7DA210CC8217ECAE164CE7FB237D4626AD078A61BF84B3743A55C181BD1DAB63EFE99336F1597102B0202B6CD235C66B1011ECF86C6D28F0D7DE403ACB026E1D0AB1D03813AFF35EDDDF95404915DD8C8E976329EE134D09F8AC4C72B6AEC283A92F4EC44FA2CF036D4D96EB55EA058B78506F5EAC041A049A6002E4A95E26CD24D44EC12E34211E47A6D2EE8DECB07B208A89F4D62DE25DD77690636B2FB8355A5309C66DC0FB8"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......@@ -139,6 +149,7 @@ Ret为调用ActiveX对应函数返回值,0代表正常
Ret为调用ActiveX对应函数返回值,0代表正常
6) 导航到指定网页
Url为网页地址,需进行URLCode编码,如额外指定Type为0或具体的浏览器类型,代表用非IE浏览器新标签页来打开
请求:{"req":"IE_Navigate","rid":55,"para":{"Url":"http://www.baidu.com"}}
返回:{"ret":0,"rid":55,"data":{"Ret":"0"}}
Ret为调用ActiveX对应函数返回值,0代表正常
......
......@@ -41,13 +41,13 @@ ID为Wrl_IETab启动小程序时返回的ID值,Code代表控制类型掩码:
1)、请求安装IE标签页小程序
请在输入框中,输入如下请求,然后点击发送,完成安装:
{"req":"Plugin_Install","rid":1,"para":{"Name":"IE标签页小程序","PID":"18BDC030-AF37-50E1-B0AE-E5EF336BE281","Date":"2020-12-12","Desc":"PluginOK之上跨浏览器的IE标签页内嵌小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IENewTab.pid","MD5":"93CFD040B121A10C77CB4A0563E93690","Version":"2.0.3.11","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"A27E174AD1FBCF4844BA88D9A18C701E522BBE7681D66579215D1879E33D8D5B36DF7C8457F2F831E0F0A2C3F1A809A39A6EB0E20E2DA6A80A833DF0EE5CE5216ACA09A4FF670F43ADA0AB537DAE6A3429795EBEAB8CCD3A8B878ACB9C5595EA0E6F64C9DB4900F8D3F36260F3BA4EC53B2B1A78599F461A7841AC2A45DD2FF11B89A42720853A490EA668489F1B5CE15C72B48C06185F898A77D054B095806CA4D033249029876E0DE6A1D9ED37A428B959CEED2DBC1B5D5EBC18556F557230FA0FE942072749C2592375D985C3228D7EC55727030DD4496F13E551101588BE3BD3F4888DDA346E1F0D4BE5213D13814CA1D33AA0633B9D43A212507D9900B4"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"IE标签页小程序","PID":"18BDC030-AF37-50E1-B0AE-E5EF336BE281","Date":"2021-01-20","Desc":"PluginOK之上跨浏览器的IE标签页内嵌小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IENewTab.pid","MD5":"B2399851FF5FA69D5B82AE1B7493CF7A","Version":"2.1.1.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"1172AB5AE4DD773338EA60C768EAA2853BE304715DCCC27A8FD0F50F053190F12898EDD399609FFFE881179895A21F9F4AE0E1C2FED84086E10E47C31D9E36D9AEF51FF73CDD786A0ABE9A32FEE951C3ABA69F2E09F57B787CAF0DE6519F871FBE3A964979352E739C2A9B9860010056B8A41B1D4C6644DC151E59744A94E2B334F60F6D6BE2ED0A801978AED02C03E66A1F716CBE2C7F0F426E3248987FC416F02FEA6918C726EFEA7AEDB692BD22454B3916C75A5563A52064E2ADACC0ED29ADDB74F290F29DE85E72E1BFA1761F91C34A558CCF78781F5CDA21CBCED08561946B1C95FDE56749DF9F5C27D431948D022866CC7FC46728FB4B1FF7BD1BA0CA"}}
启动安装后,会不断收到安装进度直到安装结束。
2)、请求升级IE标签页小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"IE标签页小程序","PID":"18BDC030-AF37-50E1-B0AE-E5EF336BE281","Date":"2020-12-12","Desc":"PluginOK之上跨浏览器的IE标签页内嵌小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IENewTab_Update.pid","MD5":"8D5D3EFD60AE53D4757BF270DF1374D3","Version":"2.0.3.11","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"65B230C51C1CB33DFBC2F3BC42077B8DA2BF09C678C4FA871C936486802D562BEC92C2FD51F0977645B9B777345DC08D60860830CC547C1BED2F3582B54FAD3871581AB1C4AB2C205ECA759E6AE5433B30AB26F7B1EEA6FE585DE7F28FEDD69A94A80D7BA20B3DF91E3E6C2468AB4FCF1D1001A3A2D84072565AE2EFFB6E86AF360DEFA262CDF7BAB032971C4FC480B7338D2B966E918D9EAC1E483EBF1993E5435978DC174EB8A2895FB61B66A23DD7D3C26DD69EB6BD0BC95A655ECBA7E2487D5823F47D56CE19A9FA71FB0844B342127DAB14FC8E3124314857FD10A585C80E3DB3194FB275A6A8EC2F6FE713112DAA3005D543095D98840911020088D05B"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"IE标签页小程序","PID":"18BDC030-AF37-50E1-B0AE-E5EF336BE281","Date":"2021-01-20","Desc":"PluginOK之上跨浏览器的IE标签页内嵌小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IENewTab_Update.pid","MD5":"7CDA22F4883EE835416991529B70A348","Version":"2.1.1.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"82959F925B16D291B38B68C99444691A4E4C65BA1B0460243A4A839420ECEAC2ED12357720AF1C315E2F90A18CA1B9C180E7A17CB608EE2B1E68163BE2F514DCBC2E3B68BEFD855BB116B867C1AFDD47BFCDF48428F3B29561A9B00A86FBD9E061ACB715C53FC1654E4E13A63E888F5F06CC6CF81C592F9A09E04FF9764568286A157BEBAD497D574E7972C7EBEC695FBF25D89949FEB9BC31241C5D7873C7FA91B6850D0BD65752DE8B2CCA5A49F1A2629AAF311531D74F34F2563C65BE73FCBE014D92C78FBD3D147693AD226FAC378673C9B082D448F7DC0DFC139A7C9A6953D6C6861B72FB7BCA5292B1470808DCD694C99711BEC4FBE37DC9E6638B30C2"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......@@ -84,6 +84,7 @@ Ret为调用ActiveX对应函数返回值,0代表正常
Ret为调用ActiveX对应函数返回值,0代表正常
6) 导航到指定网页
Url为网页地址,需进行URLCode编码,如额外指定Type为0或具体的浏览器类型,代表用非IE浏览器新标签页来打开
请求:{"req":"IE_Navigate","rid":55,"para":{"Url":"http://www.baidu.com"}}
返回:{"ret":0,"rid":55,"data":{"Ret":"0"}}
Ret为调用ActiveX对应函数返回值,0代表正常
......
......@@ -91,22 +91,32 @@ Code 1代表有水平滚动条,2代表有垂直滚动条,3代表都有
ScrollTop垂直滚动条位置 ScrollTop水平滚动条位置
{"req":"Wrl_ScrollBar","rid":6,"para":{"ID":"1","Code":2,"BarW":0,"BarH":0,"ScrollTop":0,"ScrollLeft":0}}
6)、请求缩放微软Office内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
6)、请求对小程序窗口做Alpha透明处理,便于前端临时显示覆盖到小程序窗口的菜单等:
ID为Wrl_OfficeApplet启动小程序时返回的ID值,Alpha为透明度百分比,1-100
{"req":"Wrl_AppletAlpha","rid":7,"para":{"ID":1,"Alpha":30}}
7)、请求对小程序窗口内容进行截图:
ID为启动小程序时返回JSON中的ID值,
File为指定截图文件保存路径或扩展名
Base64指定为1时代表返回BASE64编码的图像内容
{"req":"Wrl_AppletSnap","rid":10,"para":{"ID":1,"Base64":1,"File":".png"}}
8)、请求缩放IE控件内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
ID为启动小程序时返回JSON中的ID值,Scall为缩放百分比
{"req":"Wrl_AppletScale","rid":7,"para":{"ID":1,"Scale":120}}
{"req":"Wrl_AppletScale","rid":11,"para":{"ID":1,"Scale":120}}
3、小程序安装、升级、卸载
1)、请求安装微软Office内嵌网页小程序
请在输入框中,输入如下请求,然后点击发送,完成安装:
{"req":"Plugin_Install","rid":1,"para":{"Name":"微软Office内嵌网页小程序","PID":"EF720B55-787B-4CBC-AD0A-AE219CFD52C9","Date":"2020-12-12","Desc":"PluginOK之上跨浏览器的微软Office内嵌网页小程序,支持在Chrome、Firefox、Edge、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌Word、Excel、PowerPoint等程序进行在线编辑或审阅各类办公文档","DownAddr":"http://local.zorrosoft.com/Files/Plugin/OfficeApplet.pid","MD5":"E3252299F94130E12DC79BA959A6302F","Version":"2.0.3.11","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"676DE1A347AA5718DD7A1170DE9D096CBFED9C9ABB68FD6070AE1CBF81B3B011542F65740C788D4084E634CFD5952E77D52E4C82B9E1CB34A6906FFB5DD0C348FFAC0F466AA8C75D0C88841F4AFDDB2697377DE129CF53262E123505DF5928AC5016FE22AB7CA52341B9708C72C5ECE23000ED968532A18020F82C7AD2C77012EEDE48BC696DFACC167B2ECCEA01E8012783848B8B4CEC71EF96713E77929CAD8BF8D8B875DF62DECABDBC3072E70534B879A7208C52088D95A84D6C9D659C04852CA0039EEE8DDEFC96AF12645ADA73637F286A125C813EC383A3F4A8549BE8681138341D2845768DADA9A7E0B3303FC3D7046562ECD9793F3B11F97D85167D"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"微软Office内嵌网页小程序","PID":"EF720B55-787B-4CBC-AD0A-AE219CFD52C9","Date":"2021-01-20","Desc":"PluginOK之上跨浏览器的微软Office内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌Word、Excel、PowerPoint等程序进行在线编辑或审阅各类办公文档","DownAddr":"http://local.zorrosoft.com/Files/Plugin/OfficeApplet.pid","MD5":"7D89770576C0D8BA221070464777E8A6","Version":"2.1.1.1","Size":688128,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"6C2207F0BF7A5E3F9DB00BA5AA0C2FAA0D2187028DE8F701DAFAA4057593342AD5C673E4AC3154E2C18D4B39533E843E3D1866719DEAD7E4B402076F719C9E7CC2EEC8A2640490D30EE751FF8FC8B9FD29449781FE377E24BE3D1BF2F910EEFAED8032C7B55B98AE2146FA804AE3BBF15CD89AB8652D034FCFFBED0C655A21FA8B926DD2CDEE4FB57E09523263E1DCB710BBE35FF6FB3D85D6EB2F9E36C2ACB066B4A369F2E459B08D853675F713E611E021CAC86F2A42B2D376CE2411E9FA3C3B3D212D416450765454B58314BCCBC29595D9CFF03C3047D01C434C47D82BEE60E1476D9A28CEED77A3EDD451D2D2C799AF0D7E2EC1FAB15E13CC92A187B7B0"}}
启动安装后,会不断收到安装进度直到安装结束。
在发布时,也可以把此小程序目录文件和中间件一起打包后发布,不用单独分发。
2)、请求升级微软Office内嵌网页小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"微软Office内嵌网页小程序","PID":"EF720B55-787B-4CBC-AD0A-AE219CFD52C9","Date":"2020-12-12","Desc":"PluginOK之上跨浏览器的微软Office内嵌网页小程序,支持在Chrome、Firefox、Edge、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌Word、Excel、PowerPoint等程序进行在线编辑或审阅各类办公文档","DownAddr":"http://local.zorrosoft.com/Files/Plugin/OfficeApplet_Update.pid","MD5":"37D8373EB2F68005B0C3D27938562FE7","Version":"2.0.3.11","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"9D996D3F9910A141E175B1227C57104F327784E6152B6BE0CFC3255E7CE2B7D12A71ECFE5C926905CBD6B448D8A4F4B438FCD7E2E52362EACC6C7863F64BE827942FB7C5432F69E5A6C37CB48AE24EF11D66DBC5CAFD53E2DC94D63F1EBBDF014E3317C60A86F17A5B140077A27B91BBA4F36498E08064BD82676B0AF4947920C5A2CD7C245E5B744A9EA22EDA2FCF30A841CDD2DE3CED387F0BD2A19D10F373D77095F1A922AFC26303FE00EA8EDB4482221C8F7A3E1D42865D14BE0F4C105A43D651555F02F0268716C2952B055C98EB7294AC80B50E780517D920CD13A5D4CE25E396DAA29F189057C8787D572B58BF9150E5AE58C72FA26D7E7E64F03364"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"微软Office内嵌网页小程序","PID":"EF720B55-787B-4CBC-AD0A-AE219CFD52C9","Date":"2021-01-20","Desc":"PluginOK之上跨浏览器的微软Office内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌Word、Excel、PowerPoint等程序进行在线编辑或审阅各类办公文档","DownAddr":"http://local.zorrosoft.com/Files/Plugin/OfficeApplet_Update.pid","MD5":"2470413408486CC77550BD43C94ABF67","Version":"2.1.1.1","Size":688128,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"72ED836FBB991257C92FEAAA6D465FFCCB3236325542A891E1BE32910FB11B4CDC18C51C856F382D0790AF12FC7FB247B215F42579AAF5B16532E4896D5A41099A3A7E4B73DF57412FFF04A7741AFDA81FCE58804ABD0C445A5450C0968EFCBAB17C45AEC5B00DC943F28E6ADB865AF803FBEF1571C07D6F56137BA978523869AD1E3F554D65516E0974A8762D911DFD664C6FAE092D5D0C13D99E50BA4F205AA1D1018623E2F02233C2BACEAFF7C87C4C99360975F81F33772D7108F62CCF25D322227D484DFBA3A4C1722B99DA0D798F9C8CED973C24A6A94D7C0D1002DCD7F85789DD1F8BC48A6F8A6C158DA21CF159EF2B258C2D7BB77A7DAA16C22E025E"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......
{
"PORT": 12900
"PORT": 12900,
"HTTP": 12903
}
\ No newline at end of file
[
{
"File" : "[WRL]PluginNetDll.dll",
"Remove" : 1
}
]
{
"PORT": 12800
"PORT": 12800,
"HTTP": 12803
}
\ No newline at end of file
......@@ -8,11 +8,11 @@
2、请求安装微软语音引擎小程序:
{"req":"Plugin_Install","rid":1,"para":{"Name":"微软语音引擎小程序","PID":"AE023C55-E408-45DB-BF58-8B11C4E8D945","Date":"2020-12-18","Desc":"PluginOK中间件之上跨浏览器的微软语音引擎小程序,可在Chrome、Edge、Firefox、IE、Opera、360、QQ、搜狗等的浏览器最新版中实现朗读指定文字功能","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlSpVoice.pid","MD5":"3A3F91ED95C7EBC8D07F4DA03EA069EE","Version":"2.0.3.11","Size":458752,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"AFE0F076A6C0E2B2F5B1FFA26B18658B4DB1528EBDD3339C68A2BC3A7DC7F93928B68111405DF90505B30F91276145B24241D5651EA18E95FDA7BA2DAE177994C65DAC5605345575556658B4BCE618E3D2800BB25AE5481E493B53428968512E4618C70B854D62EAA184F7D4BF33C4853311E66C5F9D58591894B9CCEEBA49161CEB7917D10081F43C1635A9C6C27B0569AF8EBD2EAEE98E88F6D3988F10062068E8B77BBD602D8F89A16D4141D68785E5E1B2634F51FFE4B6DF426B7A78492BBA85C6FFB0E5BDFA3CB47FA924649C228744DA785AD2F0B2A0FFC0F536953055A89E8D2CE9A0126087152A645404813BE64CED46A00F5C98C1843A42ECFD663F"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"微软语音引擎小程序","PID":"AE023C55-E408-45DB-BF58-8B11C4E8D945","Date":"2021-01-20","Desc":"PluginOK中间件之上跨浏览器的微软语音引擎小程序,可在Chrome、Edge、Firefox、IE、Opera、360、QQ、搜狗等的浏览器最新版中实现朗读指定文字功能","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlSpVoice.pid","MD5":"B563DCCFE4981B755878C946243F994D","Version":"2.1.1.1","Size":458752,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"02A63D1DDDC4035125A7F383F8F7D0972BED93759C7EE468C66BE99A979A6321241BDF7B12144976466E6BBA5B544B1F0E639A221EB2B29FCD1ED36D9E1D154D1538833DF7BF16F5308BBA293D46F9086EE6F12A4C4FFB0ED7274E53333B04A17CD80A753631B2CC1E5F44555033C8B8503A4C9B939B78A8852F3524C8AB1BA431DBE65F428E4EACA8590B2EDF98538C04B2F18E672AD71E93540D42F23BCEF075C0CCD6DA352CE2C6A00795EE3B9981857CDC374F34F3E5B84ECFFE4FF31CD57011E21005BF9401A73105294A22E36D9EBCFAFD9E9B4102152CDC25735AE27079F51BC7A0749BE5D0B4B8C033A0DA70EBAE00B4FEA86C54D6B1434D8B13FB52"}}
3、请求更新微软语音引擎小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"微软语音引擎小程序","PID":"AE023C55-E408-45DB-BF58-8B11C4E8D945","Date":"2020-12-18","Desc":"PluginOK中间件之上跨浏览器的微软语音引擎小程序,可在Chrome、Edge、Firefox、IE、Opera、360、QQ、搜狗等的浏览器最新版中实现朗读指定文字功能","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlSpVoice_Update.pid","MD5":"B1465FD907A366E036956D9A796F1D87","Version":"2.0.3.11","Size":458752,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"850DF6D8CFD0DAA5DCFCE9CD8813B724EF7301BB32B4598BD677B32D2A7BDAD0A435C3E883A47CE68DED21A9E24CD0270A355C604EC54871E37ACC51B2ED1B57E1F69BA07AE0720F89B09BB9885B03E31DCD253B4604D7539B72C031426DC72B5A73B2CA7791D6F3A351DA688E365CD2FB6344F51E48B56748E0403C0E62B5790779BF8247C3984F54C32FF31297BA7AB21E1311B9B5E6273E44465BB1826A0F04D05EE297473E39EC71231691DDBE0039490DD6CDF69BAD24DE78263025F0F7993976D5EB6DFA53A6230D5EB025E4FA48428D5E2D84A0D15D6CD57FB2C6A881E5FAAB28E38ED7DDEE027DC7425D116F8FA6D602F0C540B933C33C4F1E9EC225"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"微软语音引擎小程序","PID":"AE023C55-E408-45DB-BF58-8B11C4E8D945","Date":"2021-01-20","Desc":"PluginOK中间件之上跨浏览器的微软语音引擎小程序,可在Chrome、Edge、Firefox、IE、Opera、360、QQ、搜狗等的浏览器最新版中实现朗读指定文字功能","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlSpVoice_Update.pid","MD5":"6F1E4C770FFB8A77822942659DB07C42","Version":"2.1.1.1","Size":458752,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"80858429335683EE08E68D66F5A5B1DF1D836A8674CBD67F55E37236C1447F876380A7B258A933295EF0A5A449B1E6CEAEF31DEA0E0EB349A83EC2787F290C479C8D10C24E4FB1E3AB22BDCA43AB68F934D288DCD06901CD86E96A56F045D33CE06E67F07F2DD399C3D25404139465C954894B150C7F5E81810EEEF2E5045AF1449161F0D078EBC25BE7E0FBFB73E54AD37E14BF897CA6144B15D97F69A0DD26B1748B4ACCB62000D1D4627EA857F7A0D8D29BD08CFD8409C02535EC5F0C1CF496DDC4FB3953FD90E67C7B9954FB0E8CD80BF09BCD944C68DD2C6AF8ED5BEBCB22B47F0447EBA4E2EE4C6C291D31D8D35FF1CADB45346B75B4649059255B9408"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......
......@@ -8,11 +8,11 @@
2、请求安装串口通信小程序,在测试页面上输入 ws://localhost?sid=123&flag=1 先连接上中间件服务,然后输入一下内容点击发送:
{"req":"Plugin_Install","rid":1,"para":{"Name":"串口通信浏览器小程序","PID":"C0B01CD6-7DD9-4D3C-B668-04168D5236FC","Date":"2020-12-12","Desc":"PluginOK中间件之上跨浏览器的串口通信小程序,可在Chrome、Edge、Firefox、IE、Opera、360、QQ等的浏览器最新版中调用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlComm.pid","MD5":"628817FE6A190CBCC538974CA5EC6B00","Version":"2.0.3.11","Size":753664,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"55E06F607D655FE105E9D99AD2ABD9CBACEDBAD3EF6A1454A6F81F70A539AF46846132E917D6E96B552D63DE6D677169848384532BB375AB15F15E3D6941A94291CEA2038951304CAB2FC6FC00E686E4E63E2685B3D568907FDBBFA36F3B33BB5F31D01F1708053A1958E22CDBCAB432EBA4A086F1CA7C46765FF789992FAA9AB00BD1F1BF1D60CB230AD8893D21D355E91E7364A76CEEC47FD9F78D8F9813563090855291544DD5CC413C9045B66C9AE34D92974DF3A8763365CDC64DDC3A5C6002EB288D745C28093F638617BC3C5048750B329CAB292BEA3445D485D4898A75E18EE6BAC14946F6172915922AEC93CE638BBA114CBA15CEE0ABD8661A5738"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"串口通信浏览器小程序","PID":"C0B01CD6-7DD9-4D3C-B668-04168D5236FC","Date":"2021-01-20","Desc":"PluginOK中间件之上跨浏览器的串口通信小程序,可在Chrome、Edge、Firefox、IE、Opera、360、QQ等的浏览器最新版中调用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlComm.pid","MD5":"3C364F6E68B55F5A2B9987C78B5B87DB","Version":"2.1.1.1","Size":622592,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"683801970A8FCF76A67918F8D28C028C85A8F68C26D17B743CD07D5982A2C6C5D9606D86FD0D72E6F7B471D0B35EE19377AA18604176237CD99AF7481F7980A4CA6958DE64F7AC4AA835B0CB1957123582373B8DFBBC58D91B05984BA87E85D11BF37F89395C8899A8E6818F7C1C29073B4FD8D985DE3014E640380742F38D0BF6F928A71FC42A0CD5CCA3F55E059382E15EFCC11CBEC554CBC88B04A8CD0F297012C2EF6D9DE2E6C9CC759C55E7BE01F811F767C89C4CDD6D7C7EDAD4EE6935AC7ED031AD2AE9E2AE3C1B6CB0C1BBDDC3EEB1BC483EF8652322D16E01DFF285E65A08D7CAD6F654F62502189DF58A1EF0C083FFE7A1532160E09BBF7348DC83"}}
3、请求串口通信小程序更新:
{"req":"Plugin_Update","rid":1,"para":{"Name":"串口通信浏览器小程序","PID":"C0B01CD6-7DD9-4D3C-B668-04168D5236FC","Date":"2020-12-12","Desc":"PluginOK中间件之上跨浏览器的串口通信小程序,可在Chrome、Edge、Firefox、IE、Opera、360、QQ等的浏览器最新版中调用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlComm_Update.pid","MD5":"6F24CD5141249F50A5A5E98414901BD5","Version":"2.0.3.11","Size":753664,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"72606452D9D9E4B5B8DE3162A7634F88DF63E615EC1B6DD2709913215B73A7900B672EC2DE44E4F65757B2A6B86C121AC0D0A8E3B2EC1ADE4C4DE09EDAAAF59CD3B66BEA1ED4EAEADC1BBA54ACDA538E363770AF1E39538CABBFCBD76D27517DBA15C78BB73B6F415E308DE5410B8A94C948B4AC23573DE51AF2C7CF0AE73135E5DE8F200DA8947049569048C89E9AE79AEDCF4A4270E024837581B0DDCAEDEC6CD849621DEA55A4989E587F14A7248E2495F307A15A525A2527C2BFD9C9FBCA9F15102CB72B54561DEBEED251A863D6FE2082CFCD5F29F8755D2ABEF2A4A1045A66703A106A1E5A631B54AADEEF6BDE8BF12A2BF686468025EFD531BF7C2F4F"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"串口通信浏览器小程序","PID":"C0B01CD6-7DD9-4D3C-B668-04168D5236FC","Date":"2021-01-20","Desc":"PluginOK中间件之上跨浏览器的串口通信小程序,可在Chrome、Edge、Firefox、IE、Opera、360、QQ等的浏览器最新版中调用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlComm_Update.pid","MD5":"770A619B880A0A37C6329FC5BC7FDA4A","Version":"2.1.1.1","Size":622592,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"6614FE635346B95337280BC92B0EA97081ADC5029E1BD244F321B2B2060A9890BE4F34596700500001C2F91E1583F8CDEFE2875C9F551280DA3CC28176651A07F2EC8BE4D086360D8D157320D0CD1C15AB9F11BDF7B75C812212AC56447FD39ADE5C2B528FBBD3A952ABBC689C015FC631B6DBD355DE583033E81176B3A93DF596B7F0D6F7F014572C7DDDD0A31234F550C231DECBC3284A13866E6976BEE5EEB4BD25EE87C1A71DE2BC2DED07A9BBD184089DE51C1A973A997B36506960F2B96F440C53EA511B3AF9E334AD9381A308302078A4B88560FBEDCAFA4751D0F284843E3100AA85144AE5B61D6477EF202272E89149F1415337904A0EB58160D483"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......
腾讯软件内嵌网页版:基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )开发,可实现将腾讯微信、企业微信、腾讯会议、QQ等客户端软件内嵌到网页中运行。最低可用在Chrome 41、Firefox 52、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ、搜狗等浏览器,也兼容运行于这些浏览器的最新版本。
1、PluginOK(牛插)中间件的安装:
1)、如果是exe的安装程序,请直接运行安装;
2)、如果是绿色版的程序包,请解压到磁盘某个目录后,双击“InstallWrl.bat”进行安装;
3)、安装完成时会启动PluginOK中间件服务,在安装目录下的Data子目录有WrlService.txt日志文件输出运行情况。
2、腾讯软件内嵌网页版控制相关接口:
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
HTTP网页在线测试:http://zorrosoft.com/txfull.html HTTPS网页在线测试:https://zorrosoft.com/txframe.html
前端集成可参考以上测试网页进行,HTML网页中需要嵌入以下类似代码;
A、标记程序的显示位置和大小
.TXWebApplet {
margin: 20px 0 0 20px;
width: 480px;
height: 320px;
border: 1px solid blue;
}
或者
.TXWebApplet {
width: 480px;
height: 320px;
top: 20px;
left: 20px;
border: 1px solid blue;
}
B、嵌入
支持IFrame的:
<iframe name="TXWebApplet" id="TXWebApplet" src="TXApplet3.html" frameborder="0" align="left" width="550" height="540" scrolling="no">
或者直接用
<div id="TXWebApplet" class="TXWebApplet"</div>
另外需要嵌入用到的JS脚本,脚本程序是完全开源的。
1)、请求启动腾讯软件内嵌网页版实现网页中局部加载显示:
Type为浏览器类型,传0自动判断(前提是当前浏览器已启动并显示在最前端,Flag指定当前页加载时必须是0) 可强制指定浏览器类型Type(2代表Chrome 4代表Firefox 8代表Opera 16代表Edge(Chromium内核) 32代表360极速浏览器 33代表360安全浏览器 34代表360企业安全浏览器 50代表QQ浏览器 60代表搜狗浏览器)
Title:网页标题中的关键词
Flag掩码标记:1指定新标签加载(1和16都不指定时为当前页加载) 2小程序显示窗口边框 4不自动裁剪越界窗口 8自动适配网页高度和宽度显示 64根据标题避免重复加载相同的小程序
IframeX和IframeY分别为iframe嵌套的横竖偏移修正坐标
BarW和BarH分别是网页右侧和底部预留区域
小程序实际显示首先会基于网页中指定的坐标和大小,再根据IframeX、IframeY、BarW、BarH设定的值做修正
App 指定加载软件,0微信桌面版 1企业微信桌面版 2腾讯会议桌面版
Url:加载小程序所在的网页实际地址