This commit is contained in:
liufumingren 2026-05-13 17:00:52 +08:00
parent 59260695e2
commit 6b26b15ca9
3 changed files with 10 additions and 0 deletions

3
env.js Normal file
View File

@ -0,0 +1,3 @@
export const BASE_URL = 'https://ye4s.wms.gztbyc.com/' //后台根域名 https://demo.shopro.top
export const API_URL = `${BASE_URL}/api/` //后台接口域名
export const IMG_URL = 'https://ye4s.file.gzxunren.com' //全局网络图片地址变量,css背景图片地址变量在uni.scss

7
src/core/index.js Normal file
View File

@ -0,0 +1,7 @@
// 挂载变量
import {
BASE_URL,
API_URL,
IMG_URL
} from '../../env.js';

0
src/core/store/index.js Normal file
View File