diff --git a/.env.dev b/.env.dev index 9d097189d..4d5d77a44 100644 --- a/.env.dev +++ b/.env.dev @@ -3,13 +3,13 @@ NODE_ENV=production VITE_DEV=true -# 请求路径 -VITE_BASE_URL='http://saas.yibeidl.cn' +# 请求路径VITE_BASE_URL='http://saas.yibeidl.cn' +VITE_BASE_URL='http://100.98.30.68:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 VITE_UPLOAD_TYPE=server -# 上传路径 -VITE_UPLOAD_URL='http://saas.yibeidl.cn/admin-api/infra/file/upload' +# 上传路径VITE_UPLOAD_URL='http://saas.yibeidl.cn/admin-api/infra/file/upload' +VITE_UPLOAD_URL='http://100.98.30.68:48080/admin-api/infra/file/upload' # 接口地址 VITE_API_URL=/admin-api @@ -29,8 +29,8 @@ VITE_BASE_PATH=/ # 输出路径 VITE_OUT_DIR=dist -# 商城H5会员端域名 -VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn' +# 商城H5会员端域名VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn' +VITE_MALL_H5_DOMAIN='http://100.98.30.68:48080' # 验证码的开关 VITE_APP_CAPTCHA_ENABLE=true diff --git a/.env.local b/.env.local index 1bc323f42..704fd043a 100644 --- a/.env.local +++ b/.env.local @@ -5,13 +5,13 @@ VITE_DEV=true # 请求路径VITE_BASE_URL='http://localhost:48080' # 请求路径 -VITE_BASE_URL='http://saas.yibeidl.cn' +VITE_BASE_URL='http://100.98.30.68:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务 VITE_UPLOAD_TYPE=server # 上传路径VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload' # 上传路径 -VITE_UPLOAD_URL='http://saas.yibeidl.cn/admin-api/infra/file/upload' +VITE_UPLOAD_URL='http://100.98.30.68:48080/admin-api/infra/file/upload' # 接口地址 VITE_API_URL=/admin-api @@ -29,7 +29,7 @@ VITE_SOURCEMAP=false VITE_BASE_PATH=/ # 商城H5会员端域名 -VITE_MALL_H5_DOMAIN='http://localhost:3000' +VITE_MALL_H5_DOMAIN='http://100.98.30.68:48080' # 验证码的开关 VITE_APP_CAPTCHA_ENABLE=false diff --git a/src/components/AppLinkInput/data.ts b/src/components/AppLinkInput/data.ts index 1916e083d..daf8cc6df 100644 --- a/src/components/AppLinkInput/data.ts +++ b/src/components/AppLinkInput/data.ts @@ -147,6 +147,11 @@ export const APP_LINK_GROUP_LIST = [ name: '文章详情', path: '/pages/public/richtext', type: APP_LINK_TYPE_ENUM.ARTICLE_DETAIL + }, + { + name: '砍价', + path: '/pages/bargain/index', + type: APP_LINK_TYPE_ENUM.ARTICLE_DETAIL } ] },