Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
万
万科
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
张杰
万科
Commits
b52e33a1
Commit
b52e33a1
authored
Jan 25, 2016
by
AvatarC
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://121.42.32.57/root/vanke
into master_01
Conflicts: vanke/Info.plist
parents
520ecbd7
a5fbccc5
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
2 deletions
+30
-2
Info.plist
vanke/Info.plist
+4
-0
VankeSettlementListAPI.m
vanke/controller/VankeSettlementListAPI.m
+4
-2
VankeUserLoginAPI.h
vanke/controller/VankeUserLoginAPI.h
+15
-0
VankeUserLoginAPI.m
vanke/controller/VankeUserLoginAPI.m
+7
-0
No files found.
vanke/Info.plist
View file @
b52e33a1
...
@@ -21,7 +21,11 @@
...
@@ -21,7 +21,11 @@
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
string
>
????
<
/string
>
<
string
>
????
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
<<<<<<
H
EAD
<string
>
1.0.6
<
/string
>
<string
>
1.0.6
<
/string
>
=======
<
string
>
1.0.8
<
/string
>
>>>>>>>
a5fbccc597e57fff22534cbca9b672a3fa39d8b8
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
tru
e
/
>
<
tru
e
/
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
...
...
vanke/controller/VankeSettlementListAPI.m
View file @
b52e33a1
...
@@ -37,8 +37,10 @@
...
@@ -37,8 +37,10 @@
}
}
if
([[
VankeCommonModel
sharedInstance
]
curUserIsTenant
])
{
if
([[
VankeCommonModel
sharedInstance
]
curUserIsTenant
])
{
User
*
curUser
=
[[
VankeCommonModel
sharedInstance
]
currentUser
];
LoginResponseData
*
loginData
=
[[
VankeCommonModel
sharedInstance
]
getLoginInfo
];
request
.
PARAM
(
@"tenantEquals"
,
curUser
.
code
);
if
(
nil
!=
loginData
.
tenant
)
{
request
.
PARAM
(
@"tenantEquals"
,
loginData
.
tenant
.
uuid
);
}
}
}
request
.
TIMEOUT
(
10
);
request
.
TIMEOUT
(
10
);
...
...
vanke/controller/VankeUserLoginAPI.h
View file @
b52e33a1
...
@@ -23,6 +23,18 @@
...
@@ -23,6 +23,18 @@
@end
@end
/** uuid code name */
@interface
UCN
:
BeeActiveObject
// 标识
@property
(
nonatomic
,
strong
)
NSString
*
uuid
;
// 代码
@property
(
nonatomic
,
strong
)
NSString
*
code
;
// 名称
@property
(
nonatomic
,
strong
)
NSString
*
name
;
@end
/** 用户 */
/** 用户 */
@interface
User
:
BeeActiveObject
@interface
User
:
BeeActiveObject
...
@@ -96,6 +108,9 @@ extern NSString *const USER_POSITION_TENANT; // 用户职位: 商户用户
...
@@ -96,6 +108,9 @@ extern NSString *const USER_POSITION_TENANT; // 用户职位: 商户用户
// 职位
// 职位
@property
(
nonatomic
,
strong
)
NSString
*
position
;
@property
(
nonatomic
,
strong
)
NSString
*
position
;
// 商铺
@property
(
nonatomic
,
strong
)
UCN
*
tenant
;
-
(
User
*
)
getUser
;
-
(
User
*
)
getUser
;
-
(
Enterpirse
*
)
getEnterprise
;
-
(
Enterpirse
*
)
getEnterprise
;
...
...
vanke/controller/VankeUserLoginAPI.m
View file @
b52e33a1
...
@@ -60,6 +60,12 @@
...
@@ -60,6 +60,12 @@
@end
@end
#pragma mark UCN
@implementation
UCN
@synthesize
uuid
;
@synthesize
code
;
@synthesize
name
;
@end
#pragma mark User
#pragma mark User
@implementation
User
@implementation
User
...
@@ -112,6 +118,7 @@ NSString *const USER_POSITION_TENANT = @"tenant"; // 用户职位: 商户用
...
@@ -112,6 +118,7 @@ NSString *const USER_POSITION_TENANT = @"tenant"; // 用户职位: 商户用
@synthesize
authenticode
;
@synthesize
authenticode
;
@synthesize
authorizedOrgs
;
@synthesize
authorizedOrgs
;
@synthesize
position
;
@synthesize
position
;
@synthesize
tenant
;
CONVERT_PROPERTY_CLASS
(
authorizedOrgs
,
AuthorizedOrg
)
CONVERT_PROPERTY_CLASS
(
authorizedOrgs
,
AuthorizedOrg
)
...
...
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