api-map.js
771 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}
}
},
'/resource/get': {
api: 'operations/api/v5/resource/get',
cache: true,
service: true,
params: {
content_code: {type: String},
}
}
};