first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
import Header from '../components/header';
import Tabbar from '../components/tabbar';
import Page from '../components/page';
import Item from '../components/item';
import Vant from 'vant';
import 'vant/lib/index.css';
export default {
devBaseUrl: "http://127.0.0.1:3030",
testBaseUrl: "http://127.0.0.1:3000/api/json/test",
prodBaseUrl: "http://127.0.0.1:3000/api/json/prod",
aliOss: {
host: 'https://losta.oss-cn-shanghai.aliyuncs.com',
},
apiList: {
add: '/user/add',
login: '/user/login',
push: '/home/push',
token: '/home/token',
tab: "/home/tab",
notice: "/home/notice",//首页
info: "/home/info",//详情
Statistics:"/user/Statistics",
edit:"/user/edit",
search:"/home/search",
history:"/user/history",//历史记录
changeStatus:"/user/changeStatus",//接口状态
},
vueComponents: [ Header, Tabbar, Page, Item ],
vuePlugs: [ Vant ],
checkEnvironment() {
switch (process.env.NODE_ENV) {
case "development":
return this.devBaseUrl
break;
case "test":
return this.testBaseUrl
break;
case "production":
return this.prodBaseUrl
break;
}
}
}