This commit is contained in:
ZiJIe 2025-06-24 18:27:57 +08:00
parent a61e54cea2
commit 0a2e896962
8 changed files with 131 additions and 130 deletions

View File

@ -97,7 +97,7 @@ public class WebMagicController extends BaseController implements PageProcessor
@SuppressWarnings("unchecked")
private void loadProxyConfig() {
try {
// File configFile = ResourceUtils.getFile("classpath:test_proxy.yml");
//File configFile = ResourceUtils.getFile("classpath:test_proxy.yml");
File configFile = new File("/www/java_mall/erp/config/test_proxy.yml");
if (configFile.exists()) {
Yaml yaml = new Yaml();
@ -168,6 +168,7 @@ public class WebMagicController extends BaseController implements PageProcessor
@Override
public void process(Page page) {
try {
System.out.println("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa");
Html html = page.getHtml();
String priceSymbol = html.xpath("//span[@class='a-price-symbol']/text()").toString();
String priceWhole = html.xpath("//span[@class='a-price-whole']/text()").toString();

View File

@ -1,11 +1,11 @@
# 页面标题
VUE_APP_TITLE = 若依管理系统
VUE_APP_TITLE =ERP管理系统
# 开发环境配置
ENV = 'development'
# 若依管理系统/开发环境
VUE_APP_BASE_API = '/dev-api'
# ERP管理系统/开发环境
VUE_APP_BASE_API = 'http://192.168.1.89:8080'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true

View File

@ -1,8 +1,8 @@
# 页面标题
VUE_APP_TITLE = 若依管理系统
VUE_APP_TITLE = ERP管理系统
# 生产环境配置
ENV = 'production'
# 若依管理系统/生产环境
# ERP管理系统/生产环境
VUE_APP_BASE_API = 'https://erp.tashowz.com'

View File

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 若依管理系统
VUE_APP_TITLE = ERP管理系统
BABEL_ENV = production
@ -8,5 +8,5 @@ NODE_ENV = production
# 测试环境配置
ENV = 'staging'
# 若依管理系统/测试环境
# ERP管理系统/测试环境
VUE_APP_BASE_API = '/stage-api'

View File

@ -1,7 +1,7 @@
{
"name": "ruoyi",
"version": "3.9.0",
"description": "若依管理系统",
"description": "ERP管理系统",
"author": "若依",
"license": "MIT",
"scripts": {

View File

@ -40,7 +40,7 @@
class="action-button"
>开始爬取</el-button>
</el-col>
<el-col :span="3">
<!-- <el-col :span="3">
<el-button
type="info"
plain
@ -49,7 +49,7 @@
@click="openProxyDialog"
class="action-button"
>选择代理</el-button>
</el-col>
</el-col>-->
<el-col :span="15">
<div class="notice-box" v-if="asinList.length > 0">
已导入 <span class="count-number">{{asinList.length}}</span> 个ASIN

View File

@ -7,7 +7,7 @@ function resolve(dir) {
const CompressionPlugin = require('compression-webpack-plugin')
const name = process.env.VUE_APP_TITLE || '若依管理系统' // 网页标题
const name = 'ERP管理系统' // 网页标题
const baseUrl = 'https://erp.tashowz.com' // 后端接口
//const baseUrl = 'http://43.136.31.205:8080'