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
Hide 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;
-
(
instancetype
)
init
{
if
(
self
=
[
super
init
])
{
self
.
appName
=
@""
;
self
.
channelId
=
@""
;
self
.
logEnabled
=
NO
;
self
.
userId
=
@""
;
self
.
netStatus
=
@""
;
self
.
currentCityId
=
@""
;
self
.
serverAPI
=
@""
;
self
.
greyType
=
@""
;
self
.
userType
=
[[
NSMutableDictionary
alloc
]
initWithCapacity
:
0
];
self
.
appVersion
=
[
PhobosUtil
getAppVersion
];
self
.
signingType
=
PhobosSigningTypeUndefined
;
_
appName
=
@""
;
_
channelId
=
@""
;
_
logEnabled
=
NO
;
_
userId
=
@""
;
_
netStatus
=
@""
;
_
currentCityId
=
@""
;
_
serverAPI
=
@""
;
_
greyType
=
@""
;
_userType
=
[[
NSMutableDictionary
alloc
]
init
];
_
appVersion
=
[
PhobosUtil
getAppVersion
];
_
signingType
=
PhobosSigningTypeUndefined
;
// self.immediatelySemaphore = dispatch_semaphore_create(1);
// self.normalSemaphore = dispatch_semaphore_create(1);
...
...
@@ -126,7 +126,7 @@ static dispatch_queue_t _normalQueue;
}
-
(
void
)
setUserType
:
(
NSMutableDictionary
*
)
userType
{
if
(
userType
==
nil
&&
userType
.
count
==
0
)
{
if
(
userType
==
nil
&&
userType
.
allKeys
.
count
==
0
)
{
return
;
}
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