feat: 小程序连接服务器IP + 同步未提交开发

- miniprogram/config.js: BASE_URL 指向 http://192.227.237.8:3001
- 动作标题中文化(nameZh),搜索匹配 name/nameZh/nameEn
- 新增计划/收藏/我的 等页面与组件
- 后端 Docker 化(Dockerfile/.dockerignore)与翻译脚本
- .gitignore 补充 .DS_Store
This commit is contained in:
2026-07-22 14:05:30 +08:00
parent b3b58e66fb
commit 70ff806042
79 changed files with 2397 additions and 146070 deletions

View File

@@ -0,0 +1,13 @@
// 用户服务:映射 /api/auth/me 与 /api/users/me。
// request 自动携带 token页面无需手动处理鉴权头。
const { request } = require('../utils/request');
function getMe() {
return request({ url: '/api/auth/me', method: 'GET' });
}
function updateProfile(dto) {
return request({ url: '/api/users/me', method: 'PATCH', data: dto });
}
module.exports = { getMe, updateProfile };