From 12aa5568ace8b39d868fb3eeff33c759b9aa4d38 Mon Sep 17 00:00:00 2001 From: miniflycn Date: Sun, 17 Jul 2022 01:57:23 +0800 Subject: [PATCH] update --- data-processor/README.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/data-processor/README.md b/data-processor/README.md index 76786b4..5dde42f 100644 --- a/data-processor/README.md +++ b/data-processor/README.md @@ -4,6 +4,20 @@ BFF层数据处理,对应的 micro service 在:https://github.com/FE-star/activity-micro-service +## 还有啥可优化的? + +* 支持 HTTP or HTTPS +* 为了避免暴露可直接根据Activity ID获取商品列表的接口,可以怎么设计,避免爬虫通过该接口爬去商品信息? +* 通过配置文件管理接口合并与裁剪 +* 通过可视化配置管理接口 +* 错误处理 + + +## 演示地址 + +> http://localhost:3001/activity/query?activitys[0]=321&activitys[1]=123 + + ## Installation ```bash @@ -34,8 +48,4 @@ $ npm run test:e2e # test coverage $ npm run test:cov -``` - -## 演示地址 - -> http://localhost:3001/activity/query?activitys[0]=321&activitys[1]=123 +``` \ No newline at end of file