    var exec = require('cordova/exec');

    var MyOwnPlugin = function() {};

    MyOwnPlugin.prototype.managewifi = function(suc,fa) {
       exec(function(winParam) {
            alert('sucess plug');
       }, function(error) {
             alert(error);
       }, 'wifi', 'managewifi', []);
    }
    module.exports = new MyOwnPlugin();


@@ -170,24 +170,27 @@
 %0A           
+ //
  alert('suce
@@ -298,16 +298,242 @@
 ;%0A    %7D%0A
+    %0A      MyOwnPlugin.prototype.getdevice = function(suc,fa) %7B%0A       exec(function(winParam) %7B%0A            // alert(winParam);%0A       %7D, function(error) %7B%0A             alert(error);%0A       %7D, 'wifi', 'getdevice', %5B%5D);%0A    %7D%0A
     modu

Update WifiInfoPlugin.js