wanghousheng 4 months ago
parent f9b9f9a32f
commit 6ab97c0f67
  1. 4
      package.json
  2. 4
      public/config.js

@ -4,8 +4,8 @@
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
"build": "vue-cli-service build", "build": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
"test:unit": "vue-cli-service test:unit", "test:unit": "vue-cli-service test:unit ",
"lint": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service lint", "lint": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service lint",
"build:preview": "vue-cli-service build --mode preview", "build:preview": "vue-cli-service build --mode preview",
"lint:nofix": "vue-cli-service lint --no-fix" "lint:nofix": "vue-cli-service lint --no-fix"

4
public/config.js vendored

@ -4,11 +4,11 @@ window.serverConfig = {
// 必填: api地址, 换成自己的域名即可 // 必填: api地址, 换成自己的域名即可
// 例如: https://www.你的域名.com/index.php?s=/admin // 例如: https://www.你的域名.com/index.php?s=/admin
// BASE_API: 'https://www.saas.njrenzhou.com/index.php?s=/admin', // BASE_API: 'https://www.saas.njrenzhou.com/index.php?s=/admin',
BASE_API: 'http://www.yzshop.cn/index.php?s=/admin', BASE_API: 'https://www.amiami.com.cn/index.php?s=/admin',
// 必填: store模块的入口地址 // 必填: store模块的入口地址
// 例如: https://www.你的域名.com/store // 例如: https://www.你的域名.com/store
// STORE_URL: 'https://www.saas.njrenzhou.com/store', // STORE_URL: 'https://www.saas.njrenzhou.com/store',
STORE_URL: 'http://www.yzshop.cn/store', STORE_URL: 'https://www.amiami.com.cn/store',
// 图片文件上传大小 (单位mb) // 图片文件上传大小 (单位mb)
uploadImageSize: 2, uploadImageSize: 2,

Loading…
Cancel
Save