Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
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
mobile-group
galaxy-iOS
Commits
2009cefb
Commit
2009cefb
authored
Sep 13, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS
into develop
parents
6d7b5b14
6eed8516
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
14 deletions
+20
-14
Podfile
galaxy/Podfile
+1
-1
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+4
-4
YHButlerServiceViewModel.swift
...lerServiceManager(银河管家)/VM/YHButlerServiceViewModel.swift
+10
-5
YHButlerServiceManager.swift
...s/ButlerServiceManager(银河管家)/YHButlerServiceManager.swift
+2
-2
YHHKPlanItemView.swift
...tService(服务中心)/MyDocuments(我的文书)/V/YHHKPlanItemView.swift
+3
-2
No files found.
galaxy/Podfile
View file @
2009cefb
...
@@ -72,7 +72,7 @@ target 'galaxy' do
...
@@ -72,7 +72,7 @@ target 'galaxy' do
#导航栏、手势
#导航栏、手势
pod
'GKNavigationBarSwift'
,
'1.6.5'
pod
'GKNavigationBarSwift'
,
'1.6.5'
#crash统计
#crash统计
pod
'Bugly'
,
'2.
5.93
'
pod
'Bugly'
,
'2.
6.1
'
#神策数据分析
#神策数据分析
pod
'SensorsAnalyticsSDK'
,
'4.6.0'
pod
'SensorsAnalyticsSDK'
,
'4.6.0'
#主流APP分类切换滚动视图
#主流APP分类切换滚动视图
...
...
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
2009cefb
...
@@ -5132,7 +5132,7 @@
...
@@ -5132,7 +5132,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyTestEnv.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyTestEnv.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
3
;
CURRENT_PROJECT_VERSION
=
4
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -5274,7 +5274,7 @@
...
@@ -5274,7 +5274,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxy.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxy.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
3
;
CURRENT_PROJECT_VERSION
=
4
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -5479,7 +5479,7 @@
...
@@ -5479,7 +5479,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyDebug.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxyDebug.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
3
;
CURRENT_PROJECT_VERSION
=
4
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -5526,7 +5526,7 @@
...
@@ -5526,7 +5526,7 @@
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxy.entitlements
;
CODE_SIGN_ENTITLEMENTS
=
galaxy/galaxy.entitlements
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_STYLE
=
Automatic
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
3
;
CURRENT_PROJECT_VERSION
=
4
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
DEVELOPMENT_TEAM
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
...
galaxy/galaxy/Classes/Modules/ButlerServiceManager(银河管家)/VM/YHButlerServiceViewModel.swift
View file @
2009cefb
...
@@ -15,12 +15,17 @@ class YHButlerServiceViewModel {
...
@@ -15,12 +15,17 @@ class YHButlerServiceViewModel {
let
params
:
[
String
:
Any
]
=
[
"yh_id"
:
id
]
let
params
:
[
String
:
Any
]
=
[
"yh_id"
:
id
]
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
QiYu
.
userInfomation
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
QiYu
.
userInfomation
let
_
=
YHNetRequest
.
getRequest
(
url
:
strUrl
,
params
:
params
)
{
[
weak
self
]
json
,
code
in
let
_
=
YHNetRequest
.
getRequest
(
url
:
strUrl
,
params
:
params
)
{
[
weak
self
]
json
,
code
in
guard
let
data
=
json
.
data
,
let
jsonData
=
try
?
JSONSerialization
.
data
(
withJSONObject
:
data
,
options
:
[]),
let
dataString
=
jsonData
.
string
(
encoding
:
.
utf8
)
else
{
if
json
.
code
==
200
{
callBackBlock
(
nil
,
nil
,
YHErrorModel
())
guard
let
data
=
json
.
data
as?
[
Any
],
let
dataString
=
data
.
yh_toJSONString
()
else
{
return
callBackBlock
(
nil
,
nil
,
YHErrorModel
())
return
}
let
avatar
=
self
?
.
getAvatarFromJsonObject
(
data
)
callBackBlock
(
dataString
,
avatar
,
nil
)
}
else
{
let
err
:
YHErrorModel
=
YHErrorModel
(
errorCode
:
Int32
(
json
.
code
),
errorMsg
:
json
.
msg
)
callBackBlock
(
nil
,
nil
,
err
)
}
}
let
avatar
=
self
?
.
getAvatarFromJsonObject
(
data
)
callBackBlock
(
dataString
,
avatar
,
nil
)
}
failBlock
:
{
err
in
}
failBlock
:
{
err
in
callBackBlock
(
nil
,
nil
,
err
)
callBackBlock
(
nil
,
nil
,
err
)
}
}
...
...
galaxy/galaxy/Classes/Modules/ButlerServiceManager(银河管家)/YHButlerServiceManager.swift
View file @
2009cefb
...
@@ -103,6 +103,7 @@ extension YHButlerServiceManager {
...
@@ -103,6 +103,7 @@ extension YHButlerServiceManager {
customActionConfig
?
.
pullRoamMessage
=
true
customActionConfig
?
.
pullRoamMessage
=
true
// 拉取漫游消息条数,默认20条,最大100条
// 拉取漫游消息条数,默认20条,最大100条
customActionConfig
?
.
roamMessageLimit
=
100
customActionConfig
?
.
roamMessageLimit
=
100
customActionConfig
?
.
linkClickBlock
=
{
linkAddress
in
customActionConfig
?
.
linkClickBlock
=
{
linkAddress
in
guard
let
linkAddress
=
linkAddress
,
(
linkAddress
.
isValidHttpUrl
||
linkAddress
.
isValidHttpsUrl
||
linkAddress
.
isValidFileUrl
),
let
url
=
URL
(
string
:
linkAddress
)
else
{
guard
let
linkAddress
=
linkAddress
,
(
linkAddress
.
isValidHttpUrl
||
linkAddress
.
isValidHttpsUrl
||
linkAddress
.
isValidFileUrl
),
let
url
=
URL
(
string
:
linkAddress
)
else
{
return
QYLinkClickActionPolicy
.
open
return
QYLinkClickActionPolicy
.
open
...
@@ -112,7 +113,6 @@ extension YHButlerServiceManager {
...
@@ -112,7 +113,6 @@ extension YHButlerServiceManager {
safariViewController
.
modalPresentationStyle
=
.
fullScreen
safariViewController
.
modalPresentationStyle
=
.
fullScreen
UIViewController
.
current
?
.
present
(
safariViewController
,
animated
:
true
,
completion
:
nil
)
UIViewController
.
current
?
.
present
(
safariViewController
,
animated
:
true
,
completion
:
nil
)
return
QYLinkClickActionPolicy
.
cancel
return
QYLinkClickActionPolicy
.
cancel
}
}
}
}
}
}
...
@@ -125,7 +125,7 @@ extension YHButlerServiceManager {
...
@@ -125,7 +125,7 @@ extension YHButlerServiceManager {
func
isUatAllowed
()
->
Bool
{
func
isUatAllowed
()
->
Bool
{
let
allowed
=
YHUatHelper
.
shared
.
getUatModuleStatusBy
(
module
:
.
QiYu_Service
)
==
1
let
allowed
=
YHUatHelper
.
shared
.
getUatModuleStatusBy
(
module
:
.
QiYu_Service
)
==
1
//TODO: for test Alex
//TODO: for test Alex
return
allowed
||
true
return
allowed
}
}
/// 初始化SDK用户信息
/// 初始化SDK用户信息
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyDocuments(我的文书)/V/YHHKPlanItemView.swift
View file @
2009cefb
...
@@ -408,8 +408,9 @@ extension YHHKPlanItemView : UITextViewDelegate {
...
@@ -408,8 +408,9 @@ extension YHHKPlanItemView : UITextViewDelegate {
return
true
return
true
}
}
let
newLength
=
calcTextLength
(
string
:
textView
.
text
)
let
tempTxt
=
textView
.
text
+
text
return
newLength
<=
maxNumbler
-
1
let
newLength
=
calcTextLength
(
string
:
tempTxt
)
return
newLength
<=
maxNumbler
}
}
func
textViewDidChange
(
_
textView
:
UITextView
)
{
func
textViewDidChange
(
_
textView
:
UITextView
)
{
...
...
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