fix(authorization): 使用 benefitActive 属性替代不存在的 isBenefitActivated 方法
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
05c8e1d6aa
commit
21519c1a97
|
|
@ -2887,7 +2887,7 @@ export class AuthorizationApplicationService {
|
||||||
authorizationId: authorization.authorizationId.value,
|
authorizationId: authorization.authorizationId.value,
|
||||||
type: SelfApplyAuthorizationType.COMMUNITY,
|
type: SelfApplyAuthorizationType.COMMUNITY,
|
||||||
grantedAt: new Date(),
|
grantedAt: new Date(),
|
||||||
benefitsActivated: authorization.isBenefitActivated(),
|
benefitsActivated: authorization.benefitActive,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2929,7 +2929,7 @@ export class AuthorizationApplicationService {
|
||||||
authorizationId: authorization.authorizationId.value,
|
authorizationId: authorization.authorizationId.value,
|
||||||
type: SelfApplyAuthorizationType.CITY_TEAM,
|
type: SelfApplyAuthorizationType.CITY_TEAM,
|
||||||
grantedAt: new Date(),
|
grantedAt: new Date(),
|
||||||
benefitsActivated: authorization.isBenefitActivated(),
|
benefitsActivated: authorization.benefitActive,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2971,7 +2971,7 @@ export class AuthorizationApplicationService {
|
||||||
authorizationId: authorization.authorizationId.value,
|
authorizationId: authorization.authorizationId.value,
|
||||||
type: SelfApplyAuthorizationType.PROVINCE_TEAM,
|
type: SelfApplyAuthorizationType.PROVINCE_TEAM,
|
||||||
grantedAt: new Date(),
|
grantedAt: new Date(),
|
||||||
benefitsActivated: authorization.isBenefitActivated(),
|
benefitsActivated: authorization.benefitActive,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue