Authored by 郝肖肖

Merge branch 'feature/brand' into develop

@@ -32,7 +32,7 @@ yoho币 | /me/mycurrency | @@ -32,7 +32,7 @@ yoho币 | /me/mycurrency |
32 意见反馈 | /me/feedback | 32 意见反馈 | /me/feedback |
33 关于我们 | /me/about | 33 关于我们 | /me/about |
34 物流详情 | /me/logistic?order_code=1609827614 | 34 物流详情 | /me/logistic?order_code=1609827614 |
35 -退换货物流详情| /me/logistic?order_code=1609827614&type=refund| 35 +退换货物流详情| /me/logistic?order_code=1609827614&id=3&type=refund|change
36 -------------------------------------------------------------------------------- 36 --------------------------------------------------------------------------------
37 37
38 ### order 常亮 38 ### order 常亮
@@ -149,7 +149,8 @@ const order = { @@ -149,7 +149,8 @@ const order = {
149 orderModel.getOrderLogisticdate({ 149 orderModel.getOrderLogisticdate({
150 uid: req.user.uid || '', 150 uid: req.user.uid || '',
151 type: req.query.type || '', 151 type: req.query.type || '',
152 - order_code: req.query.orderCode 152 + order_code: req.query.orderCode,
  153 + id: req.query.id
153 }).then(result => { 154 }).then(result => {
154 res.json(result); 155 res.json(result);
155 }); 156 });
@@ -92,6 +92,7 @@ exports.deleteOrder = (orderCode, uid) => { @@ -92,6 +92,7 @@ exports.deleteOrder = (orderCode, uid) => {
92 * @param {[int]} order_code 订单号 92 * @param {[int]} order_code 订单号
93 * @param {[int]} uid 用户uid 93 * @param {[int]} uid 用户uid
94 * @param {[string]} type 退换货物流(退货:refund,换货:change) 94 * @param {[string]} type 退换货物流(退货:refund,换货:change)
  95 + * @param {[int]} id 退换货申请ID(type为refund | change,才有效)
95 * @return {[array]} 96 * @return {[array]}
96 */ 97 */
97 exports.getOrderLogisticdate = (params) => { 98 exports.getOrderLogisticdate = (params) => {