This commit is contained in:
eric
2026-03-23 22:59:42 -05:00
parent 614f001986
commit 0528b1853a
8 changed files with 54 additions and 13 deletions

View File

@@ -3,9 +3,8 @@
* 与 join 报名支付分离,课程解锁用 VIP 状态
*/
/** 前 2 章试看,无需支付 */
export function isFreeTrial(moduleIndex: number, lessonIndex: number): boolean {
if (moduleIndex === 0 && lessonIndex < 2) return true;
/** 前 2 章试看(暂时关闭,全部需 VIP 解锁) */
export function isFreeTrial(_moduleIndex: number, _lessonIndex: number): boolean {
return false;
}