去掉实名认证(educoder)

This commit is contained in:
caishi 2023-06-01 16:13:53 +08:00
parent 0fa7bdf5d0
commit bb63e9d16b
3 changed files with 56 additions and 27319 deletions

27339
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -241,15 +241,15 @@ const competitionDetails: FC<PageProps> = ({
} }
if (HeaderDetail?.is_authentication && !user?.userInfo?.authentication) { // if (HeaderDetail?.is_authentication && !user?.userInfo?.authentication) {
dispatch({ // dispatch({
type: 'shixunsDetail/setActionTabs', // type: 'shixunsDetail/setActionTabs',
payload: { // payload: {
key: 'Banner-Auth', // key: 'Banner-Auth',
}, // },
}) // })
return // return
} // }
if (HeaderDetail?.enroll_url) { if (HeaderDetail?.enroll_url) {
openNewWindow(HeaderDetail?.enroll_url); openNewWindow(HeaderDetail?.enroll_url);
return return

View File

@ -134,15 +134,15 @@ const competitionsIndexPage: FC<PageProps> = ({
if (!handleVerify(dispatch)) { if (!handleVerify(dispatch)) {
return; return;
} }
if (item?.is_authentication && !user?.userInfo?.authentication) { // if (item?.is_authentication && !user?.userInfo?.authentication) {
dispatch({ // dispatch({
type: 'shixunsDetail/setActionTabs', // type: 'shixunsDetail/setActionTabs',
payload: { // payload: {
key: 'Banner-Auth', // key: 'Banner-Auth',
}, // },
}); // });
return; // return;
} // }
if (url === 'ismodel') { if (url === 'ismodel') {
if (item.member_of_course === true) { if (item.member_of_course === true) {
openNewWindow(`/classrooms/${item.course_id}`); openNewWindow(`/classrooms/${item.course_id}`);