Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
I
IFS-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
张杰
IFS-iOS
Commits
e7f11098
Commit
e7f11098
authored
Apr 09, 2018
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
5f037245
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
7 deletions
+14
-7
project.pbxproj
IFS/IFS.xcodeproj/project.pbxproj
+6
-0
Urls.swift
IFS/IFS/Expand/Const/Urls.swift
+4
-4
LoginViewController.swift
IFS/IFS/Other/Login/Controller/LoginViewController.swift
+1
-0
Info.plist
IFS/IFS/Resource/Info.plist
+2
-2
Podfile.lock
IFS/Podfile.lock
+1
-1
No files found.
IFS/IFS.xcodeproj/project.pbxproj
View file @
e7f11098
...
...
@@ -1393,6 +1393,7 @@
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CLANG_ENABLE_MODULES
=
YES
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Automatic
;
DEVELOPMENT_TEAM
=
W54V2VB863
;
ENABLE_BITCODE
=
NO
;
...
...
@@ -1401,6 +1402,8 @@
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.gomore.IFS
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE
=
""
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
SWIFT_OBJC_BRIDGING_HEADER
=
"IFS/Resource/IFS-Bridging-Header.h"
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Onone"
;
SWIFT_VERSION
=
4.0
;
...
...
@@ -1415,6 +1418,7 @@
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CLANG_ENABLE_MODULES
=
YES
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Automatic
;
DEVELOPMENT_TEAM
=
W54V2VB863
;
ENABLE_BITCODE
=
NO
;
...
...
@@ -1423,6 +1427,8 @@
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.gomore.IFS
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE
=
""
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
SWIFT_OBJC_BRIDGING_HEADER
=
"IFS/Resource/IFS-Bridging-Header.h"
;
SWIFT_VERSION
=
4.0
;
TARGETED_DEVICE_FAMILY
=
"1,2"
;
...
...
IFS/IFS/Expand/Const/Urls.swift
View file @
e7f11098
...
...
@@ -14,12 +14,12 @@ import Foundation
//public let BaseAttachmentUrl: String = "http://192.168.1.176:9030"
//测试环境
//
public let BaseUrl: String = "http://222.180.250.18:7080/ifs-server/rest"
//
public let BaseAttachmentUrl: String = "http://222.180.250.18:7080"
public
let
BaseUrl
:
String
=
"http://222.180.250.18:7080/ifs-server/rest"
public
let
BaseAttachmentUrl
:
String
=
"http://222.180.250.18:7080"
//外网开发环境
public
let
BaseUrl
:
String
=
"http://dev.gomoretech.com/ifs-server/rest"
public
let
BaseAttachmentUrl
:
String
=
"http://dev.gomoretech.com"
//
public let BaseUrl: String = "http://dev.gomoretech.com/ifs-server/rest"
//
public let BaseAttachmentUrl: String = "http://dev.gomoretech.com"
/// 登录
public
let
loginUrl
:
String
=
"/user/login/%@"
...
...
IFS/IFS/Other/Login/Controller/LoginViewController.swift
View file @
e7f11098
...
...
@@ -71,6 +71,7 @@ class LoginViewController: UIViewController {
}
.
subscribe
(
onNext
:
{[
weak
self
]
(
boolValue
)
in
self
?
.
passwordLineView
.
backgroundColor
=
boolValue
?
kBlueColor
:
kGaryColor
})
.
disposed
(
by
:
disposeBag
)
Observable
.
combineLatest
(
userNameTextField
.
rx
.
text
.
orEmpty
,
passwordTextField
.
rx
.
text
.
orEmpty
)
.
map
{
(
arg
)
->
Bool
in
let
(
userName
,
passowrd
)
=
arg
return
userName
.
count
>
0
&&
passowrd
.
count
>
0
...
...
IFS/IFS/Resource/Info.plist
View file @
e7f11098
...
...
@@ -17,9 +17,9 @@
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.0.
3
<
/string
>
<
string
>
1.0.
4
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
1.0.
3
<
/string
>
<
string
>
1.0.
4
<
/string
>
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
tru
e
/
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
...
...
IFS/Podfile.lock
View file @
e7f11098
...
...
@@ -78,4 +78,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: 0eaafb4a7b07d07aea77b58f3cd8a90edc556faf
COCOAPODS: 1.3.
0
COCOAPODS: 1.3.
1
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