Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
红
红星美凯龙管理在线APP IOS
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
红星美凯龙管理在线APP IOS
Commits
ce8966f0
Commit
ce8966f0
authored
8 years ago
by
admin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复崩溃
parent
d9c870ab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
UserInterfaceState.xcuserstate
...userdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
Url.h
redstar/Classes/Macro/Url.h
+2
-2
TaskGroup.m
...unction/WordOfMouth/Inspect/InspectTask/Model/TaskGroup.m
+12
-0
No files found.
redstar.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
View file @
ce8966f0
No preview for this file type
This diff is collapsed.
Click to expand it.
redstar/Classes/Macro/Url.h
View file @
ce8966f0
...
@@ -11,10 +11,10 @@
...
@@ -11,10 +11,10 @@
// url 测试环境
// url 测试环境
// #define kRedStarURL @"http://218.244.151.129:7580/"
// #define kRedStarURL @"http://218.244.151.129:7580/"
#define kRedStarURL @"http://219.235.234.225:7580/"
//
#define kRedStarURL @"http://219.235.234.225:7580/"
// 最新正式环境
// 最新正式环境
//
#define kRedStarURL @"http://219.235.234.212:7580/"
#define kRedStarURL @"http://219.235.234.212:7580/"
// 检查更新
// 检查更新
#define kCheckUpdateURL @"redstar-server/rest/ipapk?type=ipa"
#define kCheckUpdateURL @"redstar-server/rest/ipapk?type=ipa"
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/WordOfMouth/Inspect/InspectTask/Model/TaskGroup.m
View file @
ce8966f0
...
@@ -31,4 +31,16 @@
...
@@ -31,4 +31,16 @@
return
self
;
return
self
;
}
}
-
(
void
)
setValuesForKeysWithDictionary
:(
NSDictionary
<
NSString
*
,
id
>
*
)
keyedValues
{
Class
cls
=
self
.
class
;
for
(
NSString
*
key
in
keyedValues
.
allKeys
)
{
NSString
*
varName
=
[
NSString
stringWithFormat
:
@"_%@"
,
key
];
const
char
*
c_key
=
[
varName
cStringUsingEncoding
:
NSUTF8StringEncoding
];
Ivar
var
=
class_getInstanceVariable
(
cls
,
c_key
);
if
(
var
)
{
[
self
setValue
:[
keyedValues
objectForKey
:
key
]
forKey
:
key
];
}
}
}
@end
@end
This diff is collapsed.
Click to expand it.
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