diff --git a/.env.development b/.env.development index 726757b..78cdf79 100644 --- a/.env.development +++ b/.env.development @@ -3,4 +3,4 @@ ENV = 'development' # base api # VUE_APP_BASE_API = '/dev-api' -VUE_APP_BASE_API = 'http://152.136.42.114:8200' +VUE_APP_BASE_API = 'http://39.105.207.27:8200' diff --git a/.env.production b/.env.production index 1090571..5e9c1fe 100644 --- a/.env.production +++ b/.env.production @@ -3,5 +3,5 @@ ENV = 'production' # base api #VUE_APP_BASE_API = '/prod-api' -VUE_APP_BASE_API = 'http://152.136.42.114:8200' +VUE_APP_BASE_API = 'http://39.105.207.27:8200' diff --git a/.idea/UniappTool.xml b/.idea/UniappTool.xml new file mode 100644 index 0000000..f7328e8 --- /dev/null +++ b/.idea/UniappTool.xml @@ -0,0 +1,10 @@ + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..03d9549 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..350658b --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/xlcs-admin.iml b/.idea/xlcs-admin.iml new file mode 100644 index 0000000..24643cc --- /dev/null +++ b/.idea/xlcs-admin.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/build/index.js b/build/index.js index 5156321..9ef835c 100644 --- a/build/index.js +++ b/build/index.js @@ -24,9 +24,9 @@ if (process.env.npm_config_preview || rawArgv.includes('--preview')) { ) app.listen(port, function () { - console.log(chalk.green(`> Preview at http://152.136.42.114:${port}${publicPath}`)) + console.log(chalk.green(`> Preview at http://39.105.207.27:${port}${publicPath}`)) if (report) { - console.log(chalk.green(`> Report at http://152.136.42.114:${port}${publicPath}report.html`)) + console.log(chalk.green(`> Report at http://39.105.207.27:${port}${publicPath}report.html`)) } }) diff --git a/jest.config.js b/jest.config.js index 24a4a4d..0acdd44 100644 --- a/jest.config.js +++ b/jest.config.js @@ -20,5 +20,5 @@ module.exports = { 'lcov', 'text-summary' ], - testURL: 'http://152.136.42.114/' + testURL: 'http://39.105.207.27/' } diff --git a/nginx.conf b/nginx.conf index 8b5ae34..9725a7a 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,7 +1,7 @@ server { listen 80; listen [::]:80; - server_name 152.136.42.114; + server_name 39.105.207.27; access_log /var/log/nginx/host.access.log main; diff --git a/src/views/product/skuInfo/form.vue b/src/views/product/skuInfo/form.vue index 39a14fc..9f920bc 100644 --- a/src/views/product/skuInfo/form.vue +++ b/src/views/product/skuInfo/form.vue @@ -163,7 +163,7 @@ export default { data() { return { // 接口API地址 - BASE_API: 'http://152.136.42.114:8200', + BASE_API: 'http://39.105.207.27:8200', skuInfo: defaultForm, saveBtnDisabled: false,