222
This commit is contained in:
parent
a61e54cea2
commit
0a2e896962
@ -168,6 +168,7 @@ public class WebMagicController extends BaseController implements PageProcessor
|
|||||||
@Override
|
@Override
|
||||||
public void process(Page page) {
|
public void process(Page page) {
|
||||||
try {
|
try {
|
||||||
|
System.out.println("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa");
|
||||||
Html html = page.getHtml();
|
Html html = page.getHtml();
|
||||||
String priceSymbol = html.xpath("//span[@class='a-price-symbol']/text()").toString();
|
String priceSymbol = html.xpath("//span[@class='a-price-symbol']/text()").toString();
|
||||||
String priceWhole = html.xpath("//span[@class='a-price-whole']/text()").toString();
|
String priceWhole = html.xpath("//span[@class='a-price-whole']/text()").toString();
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
# 页面标题
|
# 页面标题
|
||||||
VUE_APP_TITLE = 若依管理系统
|
VUE_APP_TITLE =ERP管理系统
|
||||||
|
|
||||||
# 开发环境配置
|
# 开发环境配置
|
||||||
ENV = 'development'
|
ENV = 'development'
|
||||||
|
|
||||||
# 若依管理系统/开发环境
|
# ERP管理系统/开发环境
|
||||||
VUE_APP_BASE_API = '/dev-api'
|
VUE_APP_BASE_API = 'http://192.168.1.89:8080'
|
||||||
|
|
||||||
# 路由懒加载
|
# 路由懒加载
|
||||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# 页面标题
|
# 页面标题
|
||||||
VUE_APP_TITLE = 若依管理系统
|
VUE_APP_TITLE = ERP管理系统
|
||||||
|
|
||||||
# 生产环境配置
|
# 生产环境配置
|
||||||
ENV = 'production'
|
ENV = 'production'
|
||||||
|
|
||||||
# 若依管理系统/生产环境
|
# ERP管理系统/生产环境
|
||||||
VUE_APP_BASE_API = 'https://erp.tashowz.com'
|
VUE_APP_BASE_API = 'https://erp.tashowz.com'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# 页面标题
|
# 页面标题
|
||||||
VUE_APP_TITLE = 若依管理系统
|
VUE_APP_TITLE = ERP管理系统
|
||||||
|
|
||||||
BABEL_ENV = production
|
BABEL_ENV = production
|
||||||
|
|
||||||
@ -8,5 +8,5 @@ NODE_ENV = production
|
|||||||
# 测试环境配置
|
# 测试环境配置
|
||||||
ENV = 'staging'
|
ENV = 'staging'
|
||||||
|
|
||||||
# 若依管理系统/测试环境
|
# ERP管理系统/测试环境
|
||||||
VUE_APP_BASE_API = '/stage-api'
|
VUE_APP_BASE_API = '/stage-api'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ruoyi",
|
"name": "ruoyi",
|
||||||
"version": "3.9.0",
|
"version": "3.9.0",
|
||||||
"description": "若依管理系统",
|
"description": "ERP管理系统",
|
||||||
"author": "若依",
|
"author": "若依",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
class="action-button"
|
class="action-button"
|
||||||
>开始爬取</el-button>
|
>开始爬取</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="3">
|
<!-- <el-col :span="3">
|
||||||
<el-button
|
<el-button
|
||||||
type="info"
|
type="info"
|
||||||
plain
|
plain
|
||||||
@ -49,7 +49,7 @@
|
|||||||
@click="openProxyDialog"
|
@click="openProxyDialog"
|
||||||
class="action-button"
|
class="action-button"
|
||||||
>选择代理</el-button>
|
>选择代理</el-button>
|
||||||
</el-col>
|
</el-col>-->
|
||||||
<el-col :span="15">
|
<el-col :span="15">
|
||||||
<div class="notice-box" v-if="asinList.length > 0">
|
<div class="notice-box" v-if="asinList.length > 0">
|
||||||
已导入 <span class="count-number">{{asinList.length}}</span> 个ASIN
|
已导入 <span class="count-number">{{asinList.length}}</span> 个ASIN
|
||||||
|
@ -7,7 +7,7 @@ function resolve(dir) {
|
|||||||
|
|
||||||
const CompressionPlugin = require('compression-webpack-plugin')
|
const CompressionPlugin = require('compression-webpack-plugin')
|
||||||
|
|
||||||
const name = process.env.VUE_APP_TITLE || '若依管理系统' // 网页标题
|
const name = 'ERP管理系统' // 网页标题
|
||||||
|
|
||||||
const baseUrl = 'https://erp.tashowz.com' // 后端接口
|
const baseUrl = 'https://erp.tashowz.com' // 后端接口
|
||||||
//const baseUrl = 'http://43.136.31.205:8080'
|
//const baseUrl = 'http://43.136.31.205:8080'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user