All Downloads are FREE. Search and download functionalities are using the official Maven repository.

api.ms.mpay.pay.js Maven / Gradle / Ivy

The newest version!
/**
 * 铭飞MS平台-铭飞支付模块
 */
(function() {

	  
    /**
     * 支付
     * @param data
     * @param func
     * @returns
     *
     * type 必填	支付类型 weixin:微信 alipay:支付宝 alipay_app: app支付宝
     * orderPrice 必填	订单价格
     * orderDesc 必填	订单描述
     */
    function gateway(data,func) {
        ms.http.post(ms.base + "/mpay/pay/gateway.do",data
        		).then(func, function(err){
                console.log(err)
            })
    }
    
   let pay = {
    	gateway:gateway,    
	}

    window.ms.mpay.pay = pay;
}());




© 2015 - 2024 Weber Informatics LLC | Privacy Policy