|
|
const URI_PACKAGE_ARTICLE = 'guang/service/v2/article/';
|
|
|
const URI_PACKAGE_AUTHOR = 'guang/service/v1/author/';
|
|
|
|
|
|
module.exports = {
|
|
|
'/api/product/data': {
|
|
|
api: 'app.product.data',
|
...
|
...
|
@@ -91,4 +94,36 @@ module.exports = { |
|
|
params: {
|
|
|
}
|
|
|
},
|
|
|
'/api/guang/article/detail': {
|
|
|
service: true,
|
|
|
api: URI_PACKAGE_ARTICLE,
|
|
|
path: 'getArticle',
|
|
|
params: {
|
|
|
article_id: {type: String}
|
|
|
}
|
|
|
},
|
|
|
'/api/guang/article/author': {
|
|
|
service: true,
|
|
|
api: URI_PACKAGE_AUTHOR,
|
|
|
path: 'getAuthor',
|
|
|
params: {
|
|
|
author_id: {type: String}
|
|
|
}
|
|
|
},
|
|
|
'/api/guang/article/content': {
|
|
|
service: true,
|
|
|
api: URI_PACKAGE_ARTICLE,
|
|
|
path: 'getArticleContent',
|
|
|
params: {
|
|
|
article_id: {type: String}
|
|
|
}
|
|
|
},
|
|
|
'/api/guang/article/brand': {
|
|
|
service: true,
|
|
|
api: URI_PACKAGE_ARTICLE,
|
|
|
path: 'getBrand',
|
|
|
params: {
|
|
|
article_id: {type: String}
|
|
|
}
|
|
|
}
|
|
|
}; |
...
|
...
|
|