Authored by 李奇

订单添加app_type参数

... ... @@ -23,9 +23,12 @@ export default {
* @returns {*}
*/
delOrder(params) {
const app = getApp();
return api.get({
data: Object.assign({
method: 'app.SpaceOrders.delOrderByCode'
method: 'app.SpaceOrders.delOrderByCode',
app_type: app.getAppType()
}, params)
});
},
... ... @@ -36,9 +39,12 @@ export default {
* @returns {*}
*/
cancelOrder(params) {
const app = getApp();
return api.get({
data: Object.assign({
method: 'app.SpaceOrders.close'
method: 'app.SpaceOrders.close',
app_type: app.getAppType()
}, params)
});
},
... ... @@ -49,9 +55,12 @@ export default {
* @returns {*}
*/
refundOrder(params) {
const app = getApp();
return api.get({
data: Object.assign({
method: 'app.SpaceOrders.refundApply'
method: 'app.SpaceOrders.refundApply',
app_type: app.getAppType()
}, params)
});
},
... ... @@ -62,9 +71,12 @@ export default {
* @returns {*}
*/
confirmReceive(params) {
const app = getApp();
return api.get({
data: Object.assign({
method: 'app.SpaceOrders.confirm'
method: 'app.SpaceOrders.confirm',
app_type: app.getAppType()
}, params)
});
},
... ...