• 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
  • controllers
  • refund.js
  • 退货商品列表
    2911ab21
    by ccbikai
    2016-07-21 21:56:37 +0800  
    Browse Files
refund.js 412 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 21
/**
 * 退换货
 * @type {Object}
 */
const refundModel = require('../models/refund');

const refund = {
    refund(req, res) {
        res.render('refund');
    },
    order(req, res, next) {
        const uid = 8050560;
        const orderId = 160192757;

        refundModel.getOrderData(uid, orderId).then(result => {
            res.json(result);
        }).catch(next);
    }
};

module.exports = refund;