Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
iOSTeam
/
Majiabao
/
TealiveModule
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2c6e55f3
authored
Jun 20, 2024
by
pierce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审核期间隐藏任务体系
parent
b1ede13a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
Module/GDDataManager/GDDataManager/DataCenter/GDDataManager.swift
Module/GDPersonalModule/GDPersonalModule/Features/Main/View/GDMyPageController.swift
Module/GDDataManager/GDDataManager/DataCenter/GDDataManager.swift
View file @
2c6e55f3
...
...
@@ -421,7 +421,7 @@ public class GDDataManager: BaseViewModel {
if
self
.
newUserIntroSwitch
.
value
==
false
{
// 没有新人签到,直接拉取
self
.
getUserDailySignReward
()
self
.
dailySignSwitch
.
accept
(
tru
e
)
self
.
dailySignSwitch
.
accept
(
GDRouter
.
BaseBusinessRouter
?
.
isCurrentVersionVerified
.
value
==
fals
e
)
}
else
{
GDDataManagerHttpHelper
.
shared
.
getNewUserReward
()
.
subscribe
(
onSuccess
:
nil
,
onFailure
:
{
[
weak
self
]
error
in
guard
let
error
=
error
as?
GDMoyaError
else
{
...
...
@@ -430,7 +430,7 @@ public class GDDataManager: BaseViewModel {
if
error
.
code
==
-
6019
{
// 只有不是新人的时候才拉取日常签到
self
?
.
getUserDailySignReward
()
self
?
.
dailySignSwitch
.
accept
(
tru
e
)
self
?
.
dailySignSwitch
.
accept
(
GDRouter
.
BaseBusinessRouter
?
.
isCurrentVersionVerified
.
value
==
fals
e
)
}
else
{
self
?
.
dailySignSwitch
.
accept
(
false
)
}
...
...
Module/GDPersonalModule/GDPersonalModule/Features/Main/View/GDMyPageController.swift
View file @
2c6e55f3
...
...
@@ -426,7 +426,7 @@ class GDMyPageController: BaseViewController {
if
let
myPageFuncArr
=
GDRouter
.
DataRouter
?
.
myPageFuncArr
,
let
user
=
GDRouter
.
UserRouter
?
.
user
,
let
dailySignSwitch
=
GDRouter
.
DataRouter
?
.
dailySignSwitch
{
let
dailySignSwitch
=
GDRouter
.
DataRouter
?
.
dailySignSwitch
{
Observable
.
combineLatest
(
myPageFuncArr
.
map
{
$0
.
filter
{
$0
.
modulekey
==
kMyPageFunctionStore
||
$0
.
modulekey
==
kMyPageFunctionTurnplate
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment