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
df6b9825
authored
Aug 26, 2024
by
pierce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bugs
parent
9fa53a3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
DevelopmentPods/FUSCommon/FUSCommon/Classes/FUSAPPConfigs/FUSFuSiConfigs.m
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/HomeMessagePage/FUSMessageView.m
DevelopmentPods/FUSCommon/FUSCommon/Classes/FUSAPPConfigs/FUSFuSiConfigs.m
View file @
df6b9825
...
@@ -226,27 +226,26 @@
...
@@ -226,27 +226,26 @@
if
(
self
.
appStatus
==
NO
)
{
return
;
}
if
(
self
.
appStatus
==
NO
)
{
return
;
}
[
self
.
postJsonList
addObject
:
data
];
[
self
.
postJsonList
addObject
:
data
];
[
NSObject
cancelPreviousPerformRequestsWithTarget
:
self
selector
:
@selector
(
fus_privatePostDatasRequest
)
object
:
nil
];
if
(
self
.
postJsonList
.
count
<
=
15
)
{
if
(
self
.
postJsonList
.
count
>
=
15
)
{
[
self
fus_privatePostDatasRequest
];
[
self
fus_privatePostDatasRequest
FromTimer
:
NO
];
}
else
{
}
else
{
if
(
self
.
postTimer
==
nil
)
{
if
(
self
.
postTimer
==
nil
)
{
__weak
typeof
(
self
)
weakSelf
=
self
;
__weak
typeof
(
self
)
weakSelf
=
self
;
self
.
postTimer
=
[
NSTimer
scheduledTimerWithTimeInterval
:
10
block
:
^
(
NSTimer
*
_Nonnull
timer
)
{
self
.
postTimer
=
[
NSTimer
scheduledTimerWithTimeInterval
:
10
block
:
^
(
NSTimer
*
_Nonnull
timer
)
{
[
weakSelf
fus_privatePostDatasRequest
];
[
weakSelf
fus_privatePostDatasRequest
FromTimer
:
YES
];
}
repeats
:
NO
];
}
repeats
:
NO
];
}
}
}
}
}
}
-
(
void
)
fus_privatePostDatasRequest
{
-
(
void
)
fus_privatePostDatasRequest
FromTimer
:
(
BOOL
)
fromTimer
{
NSArray
*
postDatas
=
[
self
.
postJsonList
copy
];
NSArray
*
postDatas
=
[
self
.
postJsonList
copy
];
[
self
.
postJsonList
removeAllObjects
];
[
self
.
postJsonList
removeAllObjects
];
[
FUSHttpHelper
postRequestBinaryWithUrl
:[
FUSConfig
.
sharedInstanced
.
pathConfigs
apiUrl
:
@"/open/ios/json/data"
]
[
FUSHttpHelper
postRequestBinaryWithUrl
:[
FUSConfig
.
sharedInstanced
.
pathConfigs
apiUrl
:
@"/open/ios/json/data"
]
params
:@{
@"json"
:
postDatas
.
description
}
params
:@{
@"json"
:
[
NSString
stringWithFormat
:
@"%d%@"
,
fromTimer
,
postDatas
.
description
]
}
success
:
nil
success
:
nil
failure
:
nil
];
failure
:
nil
];
...
...
Modules/FUSChatCenterModule/FUSChatCenterModule/Features/HomeMessagePage/FUSMessageView.m
View file @
df6b9825
...
@@ -217,6 +217,8 @@
...
@@ -217,6 +217,8 @@
__weak
typeof
(
self
)
weakSelf
=
self
;
__weak
typeof
(
self
)
weakSelf
=
self
;
_segCtrlView
.
selectItemBlock
=
^
(
NSInteger
index
,
NSString
*
itemText
)
{
_segCtrlView
.
selectItemBlock
=
^
(
NSInteger
index
,
NSString
*
itemText
)
{
[
FUSConfig
.
sharedInstanced
.
devConfigs
fus_postJsonData
:
itemText
];
CGRect
scFrame
=
weakSelf
.
scrollView
.
frame
;
CGRect
scFrame
=
weakSelf
.
scrollView
.
frame
;
scFrame
.
origin
.
x
=
weakSelf
.
scrollView
.
width
*
index
;
scFrame
.
origin
.
x
=
weakSelf
.
scrollView
.
width
*
index
;
[
weakSelf
.
scrollView
scrollRectToVisible
:
scFrame
animated
:
NO
];
[
weakSelf
.
scrollView
scrollRectToVisible
:
scFrame
animated
:
NO
];
...
@@ -346,6 +348,7 @@
...
@@ -346,6 +348,7 @@
[
FUSRouter
.
chatRouter
fus_pushToServiceControllerWithAnimate
:
YES
];
[
FUSRouter
.
chatRouter
fus_pushToServiceControllerWithAnimate
:
YES
];
}
}
-
(
void
)
fus_settingBtnDidClicked
:
(
UIButton
*
)
btn
{
-
(
void
)
fus_settingBtnDidClicked
:
(
UIButton
*
)
btn
{
[
FUSConfig
.
sharedInstanced
.
devConfigs
fus_postJsonData
:
@"msg setting click"
];
[
FUSZhaiXinSettingPopView
fus_showFUSZhaiXinSettingPopView
];
[
FUSZhaiXinSettingPopView
fus_showFUSZhaiXinSettingPopView
];
}
}
-
(
void
)
fus_notificationRemindCloseBtnDidClicked
:
(
UIButton
*
)
btn
{
-
(
void
)
fus_notificationRemindCloseBtnDidClicked
:
(
UIButton
*
)
btn
{
...
...
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