Authored by 郭成尧

all-camelcase

... ... @@ -4,6 +4,7 @@
'use strict';
const headerModel = require('../../../doraemon/models/header'); // 头部model
const exchangeModel = require('../models/exchange');
const camelCase = global.yoho.camelCase;
const exchange = {
exchange(req, res) {
... ... @@ -32,6 +33,7 @@ const exchange = {
}
exchangeModel.getOrderData(uid, orderCode).then(result => {
result.data.address = camelCase(result.data.address);
res.json(result);
}).catch(next);
},
... ...