Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
GMPhobos
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
GMPhobos
Commits
7a53dafb
Commit
7a53dafb
authored
Oct 14, 2019
by
井庆林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改user_type赋值
parent
1a276b7e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
Phobos.m
GMPhobos/Classes/Phobos.m
+12
-12
No files found.
GMPhobos/Classes/Phobos.m
View file @
7a53dafb
...
@@ -60,17 +60,17 @@ static dispatch_queue_t _normalQueue;
...
@@ -60,17 +60,17 @@ static dispatch_queue_t _normalQueue;
-
(
instancetype
)
init
{
-
(
instancetype
)
init
{
if
(
self
=
[
super
init
])
{
if
(
self
=
[
super
init
])
{
self
.
appName
=
@""
;
_
appName
=
@""
;
self
.
channelId
=
@""
;
_
channelId
=
@""
;
self
.
logEnabled
=
NO
;
_
logEnabled
=
NO
;
self
.
userId
=
@""
;
_
userId
=
@""
;
self
.
netStatus
=
@""
;
_
netStatus
=
@""
;
self
.
currentCityId
=
@""
;
_
currentCityId
=
@""
;
self
.
serverAPI
=
@""
;
_
serverAPI
=
@""
;
self
.
greyType
=
@""
;
_
greyType
=
@""
;
self
.
userType
=
[[
NSMutableDictionary
alloc
]
initWithCapacity
:
0
];
_userType
=
[[
NSMutableDictionary
alloc
]
init
];
self
.
appVersion
=
[
PhobosUtil
getAppVersion
];
_
appVersion
=
[
PhobosUtil
getAppVersion
];
self
.
signingType
=
PhobosSigningTypeUndefined
;
_
signingType
=
PhobosSigningTypeUndefined
;
// self.immediatelySemaphore = dispatch_semaphore_create(1);
// self.immediatelySemaphore = dispatch_semaphore_create(1);
// self.normalSemaphore = dispatch_semaphore_create(1);
// self.normalSemaphore = dispatch_semaphore_create(1);
...
@@ -126,7 +126,7 @@ static dispatch_queue_t _normalQueue;
...
@@ -126,7 +126,7 @@ static dispatch_queue_t _normalQueue;
}
}
-
(
void
)
setUserType
:
(
NSMutableDictionary
*
)
userType
{
-
(
void
)
setUserType
:
(
NSMutableDictionary
*
)
userType
{
if
(
userType
==
nil
&&
userType
.
count
==
0
)
{
if
(
userType
==
nil
&&
userType
.
allKeys
.
count
==
0
)
{
return
;
return
;
}
}
NSArray
*
newKeys
=
userType
.
allKeys
;
NSArray
*
newKeys
=
userType
.
allKeys
;
...
...
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