This commit is contained in:
midoks 2022-07-11 18:48:12 +08:00
parent cc5cbb4a3b
commit 9c39cddbdd
2 changed files with 3 additions and 4 deletions

View File

@ -14,5 +14,7 @@
</div>
<script type="text/javascript">
$.getScript( "/plugins/file?name=openresty&f=js/openresty.js");
$.getScript( "/plugins/file?name=openresty&f=js/openresty.js", function(){
orPluginService('openresty');
});
</script>

View File

@ -1,6 +1,3 @@
orPluginService('openresty');
function orPost(method, args, callback){
var loadT = layer.msg('正在获取...', { icon: 16, time: 0, shade: 0.3 });
$.post('/plugins/run', {name:'openresty', func:method, args:JSON.stringify(args)}, function(data) {