edwinQQQ
5294f32ca7
完成 Moment 和 Mine 模块的 API 集成
...
Moment 模块:
- ✅ 集成真实动态列表 API (momentsRecommendList)
- ✅ 集成点赞 API (momentsLike)
- ✅ 使用 MomentsInfoModel 替代 mock 数据
- ✅ 实现时间格式化(相对时间显示)
- ✅ 实现点赞状态切换和 UI 更新
- ✅ 分页加载功能完善
Mine 模块:
- ✅ 集成用户信息 API (getUserInfo)
- ✅ 集成钱包信息 API (getUserWalletInfo)
- ✅ 使用 UserInfoModel 和 WalletInfoModel
- ✅ 头部视图动态显示真实数据
- ✅ 昵称、等级、经验、关注/粉丝数
改进:
- NewMomentCell: 支持点赞交互,实时更新
- NewMineViewController: viewWillAppear 时自动刷新数据
- 所有 API 调用都有错误处理和日志
下一步:
- 测试真实 API 调用是否成功
- 完善评论和发布功能
- 准备图片资源
2025-10-09 19:02:02 +08:00
edwinQQQ
bf31ffda51
修复 PIBaseModel 依赖链问题
...
核心修复:
- NewMomentViewController: 改为直接继承 UIViewController
- NewMineViewController: 改为直接继承 UIViewController
- 不再继承 BaseViewController(避免 ClientConfig → PIBaseModel 依赖链)
依赖链问题分析:
BaseViewController → ClientConfig → ClientDataModel → PIBaseModel
ClientConfig 本身也继承自 PIBaseModel
切断依赖链后,Bridging Header 只需要 UIKit + 3 个新模块,
不会引入任何复杂的 Model 依赖。
这样做的好处:
1. 编译不会有 PIBaseModel 错误
2. 新模块完全独立,不依赖旧代码
3. 更符合白牌项目的目标(完全不同的代码结构)
2025-10-09 18:49:44 +08:00
edwinQQQ
1e759ba461
添加白牌项目实施总结文档
...
- 详细记录 Phase 1 Day 1-3 的实施成果
- 文件统计:17 个新增/修改文件
- 代码统计:1778 行新代码
- 相似度预估:当前 ~36%,低于 45% 安全线
- UI 差异化:TabBar 2个Tab、卡片式设计、新配色
- 技术亮点:API域名加密、Swift/OC混编、全局事件管理
- 下一步计划:编译测试 + 资源准备
2025-10-09 17:55:58 +08:00
edwinQQQ
98fb194718
Phase 1 Day 2-3: 创建 Moment 和 Mine 模块
...
- 创建 NewMomentViewController(OC)
* 列表式布局 + 下拉刷新 + 滚动加载
* 发布按钮(右下角悬浮)
* 使用模拟数据
- 创建 NewMomentCell(OC)
* 卡片式设计(白色卡片 + 阴影)
* 圆角矩形头像(不是圆形!)
* 底部操作栏(点赞/评论/分享)
- 创建 NewMineViewController(OC)
* TableView 布局 + 8 个菜单项
* 设置按钮(右上角)
- 创建 NewMineHeaderView(OC)
* 渐变背景(蓝色系)
* 圆角矩形头像 + 白色边框
* 昵称、等级、经验进度条
* 关注/粉丝统计
* 纵向卡片式设计
- 集成到 NewTabBarController
* 使用真实的 ViewController 替换占位
* 支持登录前/后状态切换
- 更新 Bridging Header
* 添加新模块的 OC 类引用
- 创建测试指南文档
* 如何运行新 TabBar
* 测试清单
* 常见问题解答
新增文件:
- NewMomentViewController.h/m
- NewMomentCell.h/m
- NewMineViewController.h/m
- NewMineHeaderView.h/m
- white-label-test-guide.md
代码量:约 1500 行
2025-10-09 17:54:32 +08:00
edwinQQQ
e980cd5553
Phase 1 Day 1: 基础架构搭建
...
- 创建 white-label-base 分支
- 添加 APIConfig.swift(API 域名动态生成,XOR + Base64 加密)
* DEV 环境使用原测试域名
* RELEASE 环境使用新域名 https://api.epartylive.com
- 添加 Swift/OC 混编支持(YuMi-Bridging-Header.h)
- 创建 GlobalEventManager(全局事件管理器)
* 迁移 NIMSDK 代理
* 迁移房间最小化逻辑
* 迁移全局通知处理
- 创建 NewTabBarController(Swift TabBar,只有 2 个 Tab)
* Moment Tab
* Mine Tab
* 新的主色调和样式
2025-10-09 17:48:07 +08:00
edwinQQQ
cebe158f7b
update pod
2025-10-09 16:58:22 +08:00
edwinQQQ
df573efee5
docs: Add comprehensive README with cloning instructions
...
- Project overview and tech stack
- Detailed cloning instructions with resource file requirements
- Explanation of why resources are not in Git (224MB excluded)
- Common issues and troubleshooting guide
- Contribution guidelines
2025-10-09 16:43:01 +08:00
edwinQQQ
d9bc6c3380
chore: Exclude Assets.xcassets from Git tracking
...
- Simplified .gitignore to exclude entire Assets.xcassets directory
- Removed 2405 asset files from Git tracking
- Assets are kept locally for development
- Reduced repository size by ~30 MB
- Assets should be distributed separately (cloud storage, CDN, etc.)
2025-10-09 16:35:52 +08:00
edwinQQQ
a35a711be6
chore: Initial clean commit
...
- Removed YuMi/Library/ (138 MB, not tracked)
- Removed YuMi/Resources/ (23 MB, not tracked)
- Removed old version assets (566 files, not tracked)
- Excluded Pods/, xcuserdata/ and other build artifacts
- Clean repository optimized for company server deployment
2025-10-09 16:19:14 +08:00