api-map.js 580 Bytes
module.exports = {
    '/api/product/data': {
        api: 'app.product.data',
        cache: true,
        params: {
            product_id: {type: Number},
            uid: {type: Number, require: false}
        }
    },
    '/api/product/refundExchange': {
        api: 'app.product.refundExchange',
        cache: true,
        params: {
            product_skn: {type: Number}
        }
    },
    '/api/favorite/isFavoriteNew': {
        api: 'app.favorite.isFavoriteNew',
        params: {
            id: {type: Number},
            uid: {type: Number}
        }
    }
};