diff --git a/jiuyi2/api/shop.js b/jiuyi2/api/shop.js index a2880293..5a5df13a 100644 --- a/jiuyi2/api/shop.js +++ b/jiuyi2/api/shop.js @@ -564,6 +564,45 @@ const shop = { load: true, }) }, + + /** + * 退货退款买家发货 + * @param {Object} param + */ + setShopOrderRefundGoods(param) { + return util.request({ + url: `/shopify/refundOrder/dealRefundOrderReturnGoods`, + method: 'POST', + data: param.data, + load: true, + }) + }, + + /** + * 商家确认收货 + * @param {Object} param + */ + setShopRefundOrder(param) { + return util.request({ + url: `/shopify/refundOrder`, + method: 'GET', + path: param.path, + load: true, + }) + }, + + /** + * 查看退款详情 + * @param {Object} param + */ + getRefundOrder(param) { + return util.request({ + url: `/shopify/refundOrder/getInfo`, + method: 'GET', + query: param.query, + load: true, + }) + }, } export default shop \ No newline at end of file diff --git a/jiuyi2/manifest.json b/jiuyi2/manifest.json index 0acd3247..b57e3ce2 100644 --- a/jiuyi2/manifest.json +++ b/jiuyi2/manifest.json @@ -172,7 +172,12 @@ "setting" : { "urlCheck" : false }, - "usingComponents" : true + "usingComponents" : true, + "permission" : { + "scope.userLocation" : { + "desc" : "为了使用服务,需要获取您当前的位置" + } + } }, "mp-alipay" : { "usingComponents" : true diff --git a/jiuyi2/pages/shop/order/afterSales.vue b/jiuyi2/pages/shop/order/afterSales.vue index 4ac3f78b..0f72208f 100644 --- a/jiuyi2/pages/shop/order/afterSales.vue +++ b/jiuyi2/pages/shop/order/afterSales.vue @@ -1,8 +1,25 @@