Browse Source

更新配置

master
453530270@qq.com 3 years ago
parent
commit
1db51a998a
  1. 5
      config.js
  2. 8
      core/app.js
  3. 2
      core/config/defaultConfig.js

5
config.js

@ -1,11 +1,12 @@
module.exports = {
// 系统名称
name: "萤火商城2.0",
name: "国家文化专网网络注册登录系统",
// 必填: 后端api地址, 斜杠/结尾, 参照下面格式
// 例如: https://www.你的域名.com/index.php?s=/api/
apiUrl: "https://www.你的域名.com/index.php?s=/api/",
// apiUrl: "https://www.你的域名.com/index.php?s=/api/",
apiUrl: "http://192.168.66.16:8089/index.php?s=/api/",
/**
* 是否启用商城设置缓存

8
core/app.js

@ -49,10 +49,10 @@ export const showToast = (msg, duration = 1500, mask = true) => {
*/
export const getTabBarLinks = () => {
const tabBarLinks = [
'pages/index/index',
'pages/category/index',
'pages/cart/index',
'pages/user/index'
// 'pages/index/index',
// 'pages/category/index',
// 'pages/cart/index',
// 'pages/user/index'
]
return tabBarLinks
}

2
core/config/defaultConfig.js

@ -3,7 +3,7 @@
export default {
// 系统名称
name: "萤火商城2.0",
name: "国家文化专网网络注册登录系统",
/**
* 后端api地址 (必填; 斜杠/结尾; 请确保能访问)

Loading…
Cancel
Save