Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
pidan
/
FuSiLive
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
bf1e61e0
authored
Apr 08, 2026
by
suolong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/7840付费房' of
http://git.yabolive.net:88/pidan/FuSiLive
into feature/7840付费房
parents
96373ac8
131a2c3a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
14 deletions
FuSiLive.xcworkspace/xcuserdata/server.xcuserdatad/UserInterfaceState.xcuserstate
FuSiLive/AppDelegate.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/AudienceListView/ContributeList/Model/FUSContributeListModel.m
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/UserGuideTipsView/FUSUserGuideTipsHelper.swift
FuSiLive.xcworkspace/xcuserdata/server.xcuserdatad/UserInterfaceState.xcuserstate
View file @
bf1e61e0
No preview for this file type
FuSiLive/AppDelegate.m
View file @
bf1e61e0
...
@@ -380,11 +380,18 @@ typedef NS_ENUM(NSInteger, FFOutsideJumpAPPType) {
...
@@ -380,11 +380,18 @@ typedef NS_ENUM(NSInteger, FFOutsideJumpAPPType) {
// 准备上报的材料
// 准备上报的材料
NSMutableDictionary
*
reqDataJSON
=
[[
NSMutableDictionary
alloc
]
initWithDictionary
:[
transmissionContent
copy
]];
NSMutableDictionary
*
reqDataJSON
=
[[
NSMutableDictionary
alloc
]
initWithDictionary
:[
transmissionContent
copy
]];
reqDataJSON
[
@"data"
][
@"title"
]
=
notificontent
.
title
?:
@""
;
id
dataValue
=
reqDataJSON
[
@"data"
];
NSMutableDictionary
*
dataDict
=
nil
;
if
([
reqDataJSON
[
@"data"
][
@"text"
]
stringValue
].
length
<=
0
)
{
if
(
dataValue
!=
nil
&&
[
dataValue
isKindOfClass
:[
NSDictionary
class
]])
{
reqDataJSON
[
@"data"
][
@"text"
]
=
notificontent
.
body
;
dataDict
=
[[
NSMutableDictionary
alloc
]
initWithDictionary
:(
NSDictionary
*
)
dataValue
];
}
else
{
dataDict
=
[[
NSMutableDictionary
alloc
]
init
];
}
}
reqDataJSON
[
@"data"
]
=
dataDict
;
dataDict
[
@"title"
]
=
notificontent
.
title
?:
@""
;
dataDict
[
@"text"
]
=
notificontent
.
body
?:
@""
;
if
(
isChatNotification
==
NO
)
{
if
(
isChatNotification
==
NO
)
{
// 个推打开的,增加一个media
// 个推打开的,增加一个media
...
@@ -393,7 +400,9 @@ typedef NS_ENUM(NSInteger, FFOutsideJumpAPPType) {
...
@@ -393,7 +400,9 @@ typedef NS_ENUM(NSInteger, FFOutsideJumpAPPType) {
if
(
grinfo
!=
nil
&&
[
grinfo
isKindOfClass
:[
NSArray
class
]]
&&
[
grinfo
count
]
>
0
)
{
if
(
grinfo
!=
nil
&&
[
grinfo
isKindOfClass
:[
NSArray
class
]]
&&
[
grinfo
count
]
>
0
)
{
NSDictionary
*
grinfoFirst
=
[
grinfo
firstObject
];
NSDictionary
*
grinfoFirst
=
[
grinfo
firstObject
];
NSString
*
grinfoUrl
=
[
grinfoFirst
[
@"url"
]
stringValue
];
NSString
*
grinfoUrl
=
[
grinfoFirst
[
@"url"
]
stringValue
];
reqDataJSON
[
@"data"
][
@"media"
]
=
grinfoUrl
;
if
(
grinfoUrl
.
length
>
0
)
{
dataDict
[
@"media"
]
=
grinfoUrl
;
}
}
}
}
}
// 2. 转换为 JSON Data
// 2. 转换为 JSON Data
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/AudienceListView/ContributeList/Model/FUSContributeListModel.m
View file @
bf1e61e0
...
@@ -35,8 +35,9 @@
...
@@ -35,8 +35,9 @@
-
(
void
)
fus_loadDataSucceed
:(
void
(
^
)(
FUSContributeListModel
*
listModel
,
NSArray
*
ranklist
))
succeed
-
(
void
)
fus_loadDataSucceed
:(
void
(
^
)(
FUSContributeListModel
*
listModel
,
NSArray
*
ranklist
))
succeed
failedHandle
:(
void
(
^
)(
NSString
*
msg
,
NSInteger
code
))
failedHandler
{
failedHandle
:(
void
(
^
)(
NSString
*
msg
,
NSInteger
code
))
failedHandler
{
NSString
*
roomId
=
FUSLiveHelper
.
shareInstance
.
roomInfoModel
.
roomId
?:
@""
;
NSDictionary
*
params
=
@{
NSDictionary
*
params
=
@{
@"roomId"
:
FUSLiveHelper
.
shareInstance
.
roomInfoModel
.
roomId
,
@"roomId"
:
roomId
,
@"type"
:
@
(
self
.
type
),
@"type"
:
@
(
self
.
type
),
@"page"
:
@
(
self
.
page
)
@"page"
:
@
(
self
.
page
)
};
};
...
@@ -44,9 +45,14 @@
...
@@ -44,9 +45,14 @@
self
.
page
=
[
dataDict
[
@"page"
]
integerValue
];
self
.
page
=
[
dataDict
[
@"page"
]
integerValue
];
NSMutableArray
*
rankList
=
[
NSMutableArray
array
];
NSMutableArray
*
rankList
=
[
NSMutableArray
array
];
for
(
NSDictionary
*
user
in
dataDict
[
@"ranklist"
])
{
NSArray
*
ranklistArray
=
[
dataDict
[
@"ranklist"
]
isKindOfClass
:
NSArray
.
class
]
?
dataDict
[
@"ranklist"
]
:
@[];
FUSContributeModel
*
model
=
[
FUSContributeModel
fus_modelWithDict
:
user
];
for
(
NSDictionary
*
user
in
ranklistArray
)
{
[
rankList
addObject
:
model
];
if
([
user
isKindOfClass
:
NSDictionary
.
class
])
{
FUSContributeModel
*
model
=
[
FUSContributeModel
fus_modelWithDict
:
user
];
if
(
model
)
{
[
rankList
addObject
:
model
];
}
}
}
}
if
(
self
.
page
==
1
)
{
if
(
self
.
page
==
1
)
{
...
...
Modules/FUSShowRoomModule/FUSShowRoomModule/Features/NewLive/Main/View/FunctionView/UserGuideTipsView/FUSUserGuideTipsHelper.swift
View file @
bf1e61e0
...
@@ -193,13 +193,17 @@ import RxCocoa
...
@@ -193,13 +193,17 @@ import RxCocoa
// 或者数据等于0之外的,都是true
// 或者数据等于0之外的,都是true
if
type
==
.
chatScreenButton
{
if
type
==
.
chatScreenButton
{
// 公屏按钮有次数
// 公屏按钮有次数
let
speechGuidance
=
FUSCacheDataShare
.
shareStore
()
.
settingInitDataModel
.
fus_speechGuidance
if
let
speechGuidance
=
FUSCacheDataShare
.
shareStore
()
.
settingInitDataModel
?
.
fus_speechGuidance
{
if
speechGuidance
!=
-
1
{
if
speechGuidance
!=
-
1
{
let
showTime
=
fus_getShowTimes
(
type
:
type
)
let
showTime
=
fus_getShowTimes
(
type
:
type
)
if
showTime
>=
speechGuidance
{
if
showTime
>=
speechGuidance
{
return
false
return
false
}
}
}
}
}
else
{
return
false
}
}
}
return
true
return
true
}
}
...
...
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