mirror of
https://gitee.com/gz-yami/mall4j.git
synced 2026-03-22 09:17:16 +08:00
更新文档
This commit is contained in:
@@ -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/'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user