refactor(HomeFrame): 优化策略数据查询逻辑
- 重构 getStrategyStatus 和 getActivityProductList 方法,增加对 merchantId 的有效性检查。 - 在查询失败时,添加错误处理逻辑,确保数据状态的正确性。 - 移除不必要的 console.log 调试信息,提升代码整洁性。
Showing
1 changed file
with
55 additions
and
29 deletions
-
Please register or sign in to post a comment