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