添加order model方法注释
This commit is contained in:
parent
db32c26c24
commit
1572cbcb65
|
@ -77,6 +77,9 @@ export default {
|
|||
return '未知状态';
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 下单
|
||||
*/
|
||||
createOrder(order) {
|
||||
return new Promise((resolve, reject) => {
|
||||
prototype.$request({
|
||||
|
@ -90,6 +93,9 @@ export default {
|
|||
}).catch(e => { });
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 支付订单
|
||||
*/
|
||||
payOrder(id) {
|
||||
return new Promise((resolve, reject) => {
|
||||
prototype.$request({
|
||||
|
|
Loading…
Reference in New Issue