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

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

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

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