Authored by htoooth

Merge branch 'hotfix/remove-console' into gray

... ... @@ -758,7 +758,6 @@ const _getOrderDetail = co(function * (uid, orderId) {
orderDetail.is_cancel, orderDetail.payment_status, orderDetail.payment_type,
+orderDetail.order_type, +orderDetail.attribute, +orderDetail.refund_status);
detail.packageTitle = orderDetail.package_title;
console.log(detail.operation);
detail.packages = _getPackageInfo(orderDetail);
// 判断是否可以修改地址
... ...
... ... @@ -8,6 +8,7 @@
const requestIp = require('request-ip');
const md5 = require('md5');
const config = global.yoho.config;
const _getGender = (channel) => {
switch (channel) {
... ... @@ -68,7 +69,9 @@ module.exports = () => {
udid = md5(req.ip || requestIp.getClientIp(req));
if (res && res.cookie) {
res.cookie('udid', udid);
res.cookie('udid', udid, {
domain: config.cookieDomain
});
}
}
... ...