|
@@ -68,6 +68,12 @@ const CheckAccess = memo((props: { record: any, count: number, access: any }) =>
|
|
|
obj.current_record.status == 'WAIT_FOR_START') {
|
|
obj.current_record.status == 'WAIT_FOR_START') {
|
|
|
loseGain(props.access.fast_sleep)
|
|
loseGain(props.access.fast_sleep)
|
|
|
}
|
|
}
|
|
|
|
|
+ // else if ((preStatus == 'PROVISIONAL_QUALIFIED' || preStatus == 'QUALIFIED_UNTIL_EXPIRE') &&
|
|
|
|
|
+ // currentStatus == 'NOT_QUALIFIED' &&
|
|
|
|
|
+ // global.ring.current_record.scenario == 'FAST_SLEEP' &&
|
|
|
|
|
+ // obj.current_record.status == 'WAIT_FOR_START') {
|
|
|
|
|
+ // loseGain(props.access.fast_sleep)
|
|
|
|
|
+ // }
|
|
|
else if (currentStatus == 'PROVISIONAL_QUALIFIED') {
|
|
else if (currentStatus == 'PROVISIONAL_QUALIFIED') {
|
|
|
Taro.setStorage({ key: 'showedDisqualifiedAlert', data: false })
|
|
Taro.setStorage({ key: 'showedDisqualifiedAlert', data: false })
|
|
|
const { fast_expire, sleep_expire } = props.access.fast_sleep.current.qualification
|
|
const { fast_expire, sleep_expire } = props.access.fast_sleep.current.qualification
|
|
@@ -263,6 +269,12 @@ const CheckAccess = memo((props: { record: any, count: number, access: any }) =>
|
|
|
) {
|
|
) {
|
|
|
loseGain(acccessData);
|
|
loseGain(acccessData);
|
|
|
}
|
|
}
|
|
|
|
|
+ // else if ((preStatus == 'QUALIFIED_UNTIL_EXPIRE' || preStatus == 'PROVISIONAL_QUALIFIED')
|
|
|
|
|
+ // && currentStatus == 'NOT_QUALIFIED'
|
|
|
|
|
+ // && global.ring.current_record.scenario == 'FAST_SLEEP'
|
|
|
|
|
+ // ) {
|
|
|
|
|
+ // loseGain(acccessData);
|
|
|
|
|
+ // }
|
|
|
}
|
|
}
|
|
|
}, [])
|
|
}, [])
|
|
|
|
|
|