|
|
-define(["base","$","native","api","user","config"],function(e,t,n,r,i){var s=function(){if(typeof s.instance=="object")return s.instance;s.instance=this,this.storagePrefix="recharge"};return s.prototype=new e,s.prototype.getRechargeList=function(e){var t=this;r.getRechargeList({},function(t){t.success,typeof e=="function"&&e(t)})},s.prototype.addRechargeorder=function(e,t){var n=this;r.addRechargeorder({user_id:e.user_id,recharge_id:e.recharge_id},function(e){e.success,typeof t=="function"&&t(e)})},new s});
|
|
|
+define(["base","$","native","api","user","config"],function(e,t,n,r,i){var s=function(){if(typeof s.instance=="object")return s.instance;s.instance=this,this.storagePrefix="recharge"};return s.prototype=new e,s.prototype.getRechargeList=function(e){var t=this;r.getRechargeList({},function(t){t.success,typeof e=="function"&&e(t)})},s.prototype.addRechargeorder=function(e,t){var n=this;r.addRechargeorder({user_id:e.user_id,value:e.value,recharge_id:e.recharge_id},function(e){e.success,typeof t=="function"&&t(e)})},new s});
|