feat(frontend-vue): 亚马逊运营工具台与新功能页接入——新版工具台(amazon-console+tool-catalog)、品牌检测/ASIN变体采集/查询ASIN 三个工具页 Vue 化并对接既有后端与桌面桥接;桌面首页/登录页 Vue 化(沿用旧视觉);补充 vc_*/get_device_id/save_file_from_url 桥类型、dev 代理;品牌默认勾选排名+FBM;修正 query-asin 标题
含未提交新版改造累积:Brand*Tab 套入工具台壳(AmazonToolPageShell/AmazonTopBar)与目录/权限联动。
This commit is contained in:
@@ -34,6 +34,17 @@ export default defineConfig({
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/newApi/, ''),
|
||||
},
|
||||
// /login、/check_login、/logout 等无 /api 前缀的 Java 接口(登录/用户信息)
|
||||
'/newApi/login': {
|
||||
target: process.env.VITE_API_TARGET || 'http://127.0.0.1:18080/',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/newApi/, ''),
|
||||
},
|
||||
'/newApi/check_login': {
|
||||
target: process.env.VITE_API_TARGET || 'http://127.0.0.1:18080/',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/newApi/, ''),
|
||||
},
|
||||
},
|
||||
},
|
||||
build: {
|
||||
@@ -57,7 +68,12 @@ export default defineConfig({
|
||||
'shop-data-crawl': resolve(__dirname, 'shop-data-crawl.html'),
|
||||
withdraw: resolve(__dirname, 'withdraw.html'),
|
||||
'collect-data': resolve(__dirname, 'collect-data.html'),
|
||||
'variant-collection': resolve(__dirname, 'variant-collection.html'),
|
||||
brand: resolve(__dirname, 'brand.html'),
|
||||
'image-video': resolve(__dirname, 'image-video.html'),
|
||||
'amazon-console': resolve(__dirname, 'amazon-console.html'),
|
||||
home: resolve(__dirname, 'home.html'),
|
||||
login: resolve(__dirname, 'login.html'),
|
||||
},
|
||||
output: {
|
||||
entryFileNames: (chunkInfo) =>
|
||||
|
||||
Reference in New Issue
Block a user