• This project
    • Loading...
  • Sign in

fe / yohoblk-wap · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohoblk-wap
  • apps
  • home
  • models
  • refund.js
  • 退货商品列表
    2911ab21
    by ccbikai
    2016-07-21 21:56:37 +0800  
    Browse Files
refund.js 387 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/**
 * 退换货 Model
 * @type {Object}
 */
const api = global.yoho.API;

const refund = {
    getOrderData(uid, orderId) {
        return api.get('', {
            method: 'app.refund.goodsList',
            uid: uid,
            order_code: orderId
        }, {
            cache: true,
            code: 200
        }).then(global.yoho.camelCase);
    }
};

module.exports = refund;