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 @@
09248e45-85ae-423b-83b6-f3e6cfb3c50c

View File

@@ -0,0 +1,36 @@
export default {
// devBaseUrl: 'http://helpcodes.com:3030', // 开发阶段
devBaseUrl: 'http://192.168.31.100:3030', // 开发阶段
prodBaseUrl: 'http://192.168.31.100:3030', // 正式阶段
apiList: {
login: '/user/login', // 用户登录
add: '/user/add', // 用户注册
history: '/user/history', // 发布的历史
changeStatus: '/user/changeStatus', // 发布的历史
Statistics: '/user/Statistics', // 我的页面获取 失物招领 和 寻物启事 的数量
edit: '/user/edit', // 编辑用户信息
notice: '/home/notice', // 公告
push: '/home/push', // 发布
info: '/home/info', // 详情
tab: '/home/tab', // 广场的接口
search: '/home/search', // 搜索
token: '/home/token', /// 后去oss上传的配置信息
},
aliOss: {
host: 'https://losta.oss-cn-shanghai.aliyuncs.com',
},
CheckBaseUrl: function () {
switch (__wxConfig.envVersion) {
case "develop":
return this.devBaseUrl;
break;
case "release":
// return this.prodBaseUrl;
return this.devBaseUrl;
break;
default:
return this.devBaseUrl;
break;
}
}
}