提交移动端个人信息接口

This commit is contained in:
zlwu committed 2025-08-09 08:15:24 +08:00
1 parent fa1a7bcf79
commit 8bd0d081ec
18 files changed
+2511 -233

No files matched your search

+20 -9
View File
@@ -5,10 +5,10 @@
"versionName": "1.0.0",
"versionCode": "100",
"transformPx": false,
"app-plus": { /* 5+App特有相关 */
"modules": { /* 模块配置 */},
"distribute": { /* 应用发布信息 */
"android": { /* android打包配置 */
"app-plus": {
"modules": {},
"distribute": {
"android": {
"permissions": [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
@@ -34,13 +34,13 @@
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
"ios": { /* ios打包配置 */},
"sdkConfigs": { /* SDK配置 */}
"ios": {},
"sdkConfigs": {}
},
"usingComponents": true
},
"quickapp": { /* 快应用特有相关 */},
"mp-weixin": { /* 小程序特有相关 */
"quickapp": {},
"mp-weixin": {
"usingComponents": true,
"appid": "",
"setting": {
@@ -62,7 +62,18 @@
"h5": {
"devServer": {
"https": false,
"disableHostCheck": true
"allowedHosts": "all",
"port": 8081,
"host": "0.0.0.0",
"proxy": {
"/api": {
"target": "http://localhost:8080",
"changeOrigin": true,
"pathRewrite": {
"^/api": ""
}
}
}
},
"publicPath": "./",
"router": {
+14 -6
View File
@@ -21,7 +21,7 @@
"path": "pages/task/myDocument",
"style": {
"navigationBarTitleText": "我发起的",
"navigationBarBackgroundColor": "#5d87ff",
"navigationBarBackgroundColor": "#0051d9",
"navigationBarTextStyle": "white"
}
},
@@ -29,7 +29,7 @@
"path": "pages/task/allTaskWaiting",
"style": {
"navigationBarTitleText": "我的待办",
"navigationBarBackgroundColor": "#5d87ff",
"navigationBarBackgroundColor": "#0051d9",
"navigationBarTextStyle": "white"
}
},
@@ -37,7 +37,7 @@
"path": "pages/task/taskFinish",
"style": {
"navigationBarTitleText": "我的已办",
"navigationBarBackgroundColor": "#5d87ff",
"navigationBarBackgroundColor": "#0051d9",
"navigationBarTextStyle": "white"
}
},
@@ -45,7 +45,15 @@
"path": "pages/task/taskCopyList",
"style": {
"navigationBarTitleText": "抄送我的",
"navigationBarBackgroundColor": "#5d87ff",
"navigationBarBackgroundColor": "#0051d9",
"navigationBarTextStyle": "white"
}
},
{
"path": "pages/xg/xsjcxx/xsjcxx/index",
"style": {
"navigationBarTitleText": "学生个人信息查看",
"navigationBarTitleText": "学生个人信息",
"navigationBarTextStyle": "white"
}
},
@@ -53,7 +61,7 @@
"path": "pages/xg/xsjcxx/xsqj/leaveEdit/index",
"style": {
"navigationBarTitleText": "请假申请",
"navigationBarBackgroundColor": "#5d87ff",
"navigationBarBackgroundColor": "#0051d9",
"navigationBarTextStyle": "white"
}
},
@@ -68,7 +76,7 @@
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "智慧校园",
"navigationBarBackgroundColor": "#5d87ff",
"navigationBarBackgroundColor": "#0051d9",
"backgroundColor": "#F8F8F8"
}
}
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -6,7 +6,7 @@
// 服务路由映射配置
const SERVICE_ROUTES = {
// 学工管理
'student:info': '/pages/student/info/index',
'student:info': '/pages/xg/xsjcxx/xsjcxx/index',
'student:dorm': '/pages/student/dorm/index',
'student:leave': '/pages/student/leave/index',
'student:psychology': '/pages/student/psychology/index',
+5 -24
View File
@@ -2,30 +2,11 @@
module.exports = {
transpileDependencies: ['uview-ui'],
// 开发服务器配置
devServer: {
port: 8081, // 使用不同端口避免与mobile工程冲突
host: '0.0.0.0',
open: true,
// 代理配置解决CORS问题 - 与mobile工程保持一致
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true,
pathRewrite: {
'^/api': '', // 移除/api前缀,直接转发到后端
},
onProxyReq: function (proxyReq, req, res) {
console.log(
'代理请求:',
req.method,
req.url,
'-> http://localhost:8080' + req.url.replace(/^\/api/, ''),
);
},
onError: function (err, req, res) {
console.error('代理错误:', err);
},
// 配置路径别名
configureWebpack: {
resolve: {
alias: {
'@': require('path').resolve(__dirname, 'src'),
},
},
},