feat: 更新应用名称和页面路由结构

refactor: 重构用户信息管理和登录流程

fix: 修复头像上传和密码修改功能

style: 优化登录页面和主题设置界面

docs: 更新主题系统文档说明

chore: 移除无用配置文件和更新依赖项
This commit is contained in:
zhangtao
2025-08-13 01:35:24 +08:00
parent e013c0aad2
commit 82840e410f
30 changed files with 421 additions and 775 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ const FileAPI = {
*
* @param filePath
*/
upload(filePath: string): Promise<UploadFilePath> {
upload(filePath: string): Promise<UploadFileResult> {
return new Promise((resolve, reject) => {
uni.uploadFile({
url: this.uploadUrl,
@@ -29,7 +29,7 @@ const FileAPI = {
},
formData: {},
success: (response) => {
const resData = JSON.parse(response.data) as ApiResponse<UploadFilePath>;
const resData = JSON.parse(response.data) as ApiResponse<UploadFileResult>;
// 业务状态码 00000 表示成功
if (resData.code === ApiCode.SUCCESS) {
resolve(resData.data);