From 20f9ebcbd5a7946e1eacaa570d4938ee69f0e6df Mon Sep 17 00:00:00 2001 From: chendt <18902722133@163.com> Date: Fri, 28 Oct 2022 09:26:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/README.md b/doc/README.md index 138b868..f74b118 100644 --- a/doc/README.md +++ b/doc/README.md @@ -90,10 +90,12 @@ cnpm i 修改文件`.env.production`(生产环境)/ `.env.development`(开发环境) 里面的`VUE_APP_BASE_API`为api接口请求地址, `VUE_APP_RESOURCES_URL`为静态资源文件url +注意!!如果启动uni项目或者小程序,默认后台api服务端口号为8086, +如果启动后台项目,默认后台admin服务端口号为8085,请对照仔细填写后再启动,如遇401状态码,仔细检查端口号是否配置正确! ```json // api接口请求地址 - VUE_APP_BASE_API = 'http://192.168.1.120:8002' + VUE_APP_BASE_API = 'http://192.168.1.120:8086' // 静态资源文件url VUE_APP_RESOURCES_URL = 'https://img.mall4j.com/' ```