pull/123/head
midoks 3 years ago
parent cc5cbb4a3b
commit 9c39cddbdd
  1. 4
      plugins/openresty/index.html
  2. 3
      plugins/openresty/js/openresty.js

@ -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>

@ -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) {

Loading…
Cancel
Save