ensure.js
1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
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)
});
},
/**
* [1、普通结算Payment]
* @param {[type]} params [{}]
* @return {[type]} [{}]
*/
shoppingPayment(params) {
return api.get({
url: '',
data: Object.assign({
method: 'app.Shopping.payment'
}, params)
});
},
/**
* [2、普通结算Compute]
* @param {[type]} params [{}]
* @return {[type]} [{}]
*/
shoppingCompute(params) {
return api.get({
url: '',
data: Object.assign({
method: 'app.Shopping.compute'
}, params)
});
},
/**
* [3、普通结算Submit]
* @param {[type]} params [{}]
* @return {[type]} [{}]
*/
shoppingSubmit(params) {
return api.get({
url: '',
data: Object.assign({
method: 'app.Shopping.submit'
}, params)
});
}
};