ensure.js 892 Bytes
import api from '../../common/api';

export default {
    /**
     * 立即购买Paymeny
     * @param params
     * @returns {*}
     */
    buynowPayment(params) {
        return api.get({
            url: '',
            data: Object.assign({
                method: 'app.Buynow.payment'
            }, params)
        });
    },

    /**
     * 立即购买Compute
     * @param params
     * @returns {*}
     */
    buynowCompute(params) {
        return api.get({
            url: '',
            data: Object.assign({
                method: 'app.Buynow.compute'
            }, params)
        });
    },

    /**
     * 立即购买Submit
     * @param params
     * @returns {*}
     */
    buynowSubmit(params) {
        return api.get({
            url: '',
            data: Object.assign({
                method: 'app.Buynow.submit'
            }, params)
        });
    }
};