Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
D
Dolphins
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lmj
Dolphins
Commits
879343ed
Commit
879343ed
authored
Aug 01, 2020
by
lmj_521aiau@163.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.huolea.com:lmi/dolphins
# Conflicts: # .DS_Store
parents
9e42ed55
2ed73cf2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
3 deletions
+36
-3
UserInterfaceState.xcuserstate
...a/zhangguangyi.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
Breakpoints_v2.xcbkptlist
...gguangyi.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
+11
-0
ZJGuardViewController.m
Dolphins/Classes/Guard/Controller/ZJGuardViewController.m
+25
-3
No files found.
Dolphins.xcworkspace/xcuserdata/zhangguangyi.xcuserdatad/UserInterfaceState.xcuserstate
View file @
879343ed
No preview for this file type
Dolphins.xcworkspace/xcuserdata/zhangguangyi.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
View file @
879343ed
...
...
@@ -15,5 +15,16 @@
stopOnStyle =
"0"
>
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID =
"Xcode.Breakpoint.ExceptionBreakpoint"
>
<BreakpointContent
uuid =
"3D1E0B48-F25D-4803-B8BA-801A7D280BF8"
shouldBeEnabled =
"Yes"
ignoreCount =
"0"
continueAfterRunningActions =
"No"
scope =
"1"
stopOnStyle =
"0"
>
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
Dolphins/Classes/Guard/Controller/ZJGuardViewController.m
View file @
879343ed
...
...
@@ -41,7 +41,7 @@
_dataSource
=
[[
NSMutableArray
alloc
]
init
];
[
self
setUI
];
[
self
getFriendList
];
//
[self getFriendList];
}
-
(
void
)
setUI
{
...
...
@@ -77,8 +77,26 @@
-
(
void
)
requestRemindList
{
NSData
*
data
=
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"reminderTypeList"
];
id
response
=
[
NSKeyedUnarchiver
unarchiveObjectWithData
:
data
];
if
(
response
&&
[
response
isKindOfClass
:[
NSDictionary
class
]])
{
if
([
response
[
@"result"
][
@"data"
]
isKindOfClass
:[
NSArray
class
]])
{
[
self
.
dataSource
removeAllObjects
];
for
(
NSDictionary
*
dict
in
response
[
@"result"
][
@"data"
])
{
ZJChooseIcon
*
model
=
[
ZJChooseIcon
yy_modelWithJSON
:
dict
];
[
self
.
dataSource
addObject
:
model
];
}
ZJChooseIcon
*
model
=
[
ZJChooseIcon
yy_modelWithJSON
:@{
@"name"
:
@"添加提醒"
,
@"iconUrl"
:
@"remind_cell_Add"
}];
[
self
.
dataSource
addObject
:
model
];
}
}
[
self
.
collectView
reloadData
];
[[
TQNetworkTools
shared
]
getWithAction
:
reminderTypeList
parameters
:@{}
success
:^
(
id
_Nonnull
response
)
{
if
([
response
[
@"status"
]
intValue
]
==
200
)
{
NSData
*
data
=
[
NSKeyedArchiver
archivedDataWithRootObject
:
response
];
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
data
forKey
:
@"reminderTypeList"
];
[[
NSUserDefaults
standardUserDefaults
]
synchronize
];
[
self
.
dataSource
removeAllObjects
];
if
([
response
[
@"result"
][
@"data"
]
isKindOfClass
:[
NSArray
class
]])
{
for
(
NSDictionary
*
dict
in
response
[
@"result"
][
@"data"
])
{
...
...
@@ -244,8 +262,12 @@
[
collectionView
deselectItemAtIndexPath
:
indexPath
animated
:
YES
];
if
(
!
[
ZJUserInfoManager
shared
].
isLogin
)
{
UIViewController
*
vc
=
[[
NSClassFromString
(
@"ZJPhoneLoginViewController"
)
alloc
]
init
];
[
self
.
navigationController
pushViewController
:
vc
animated
:
YES
];
ZJOauthLoginConfig
*
config
=
[[
ZJOauthLoginConfig
alloc
]
initWithCurrentVC
:
self
];
[
config
loginVerify
:
^
(
id
_Nonnull
model
)
{
if
([
model
isKindOfClass
:[
ZJMineUserInfoModel
class
]]
)
{
[
self
requestRemindList
];
}
}];
return
;
}
...
...
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