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,30 @@
var config = {
devBaseUrl: 'http://127.0.0.1:3000/api/json',
testBaseUrl: 'http://127.0.0.1:3000/api/json/test',
prodBaseUrl: 'http://127.0.0.1:3000/api/json/prod',
stage: 'dev', // dev test prod
checkBaseUrl: function () {
switch (this.stage) {
case "dev":
return this.devBaseUrl;
break;
case "test":
return this.testBaseUrl;
break;
case "prod":
return this.prodBaseUrl;
break;
}
},
// 项目中的所有接口短地址
apiList: {
mechanismList: "/mechanismList",
mechanism: '/mechanism',
classApi: "/class",
index: '/index',
classList: '/classList',
info: '/info'
}
}