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
d0337af2
Commit
d0337af2
authored
Sep 06, 2024
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文件名更改
parent
27bae624
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+4
-4
YHButlerServiceViewModel.swift
...lerServiceManager(银河管家)/VM/YHButlerServiceViewModel.swift
+1
-1
YHButlerServiceManager.swift
...s/ButlerServiceManager(银河管家)/YHButlerServiceManager.swift
+2
-2
YHButlerServiceMessageHandler.swift
...rServiceManager(银河管家)/YHButlerServiceMessageHandler.swift
+3
-3
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
d0337af2
...
...
@@ -468,7 +468,7 @@
04B360F52C646844001EB053
/* YHPrincipleApprovedMailViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B360F42C646844001EB053
/* YHPrincipleApprovedMailViewController.swift */
;
};
04B360F72C646B4F001EB053
/* YHPrincipleEnvelopeModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B360F62C646B4F001EB053
/* YHPrincipleEnvelopeModel.swift */
;
};
04B4B8D52C89CE5E00ED82BC
/* YHButlerServiceMessage.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B4B8D42C89CE5E00ED82BC
/* YHButlerServiceMessage.swift */
;
};
04B4B8D72C8AE77C00ED82BC
/* YH
YHButlerServiceMessageHandler.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B4B8D62C8AE77C00ED82BC
/* YH
YHButlerServiceMessageHandler.swift */
;
};
04B4B8D72C8AE77C00ED82BC
/* YH
ButlerServiceMessageHandler.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B4B8D62C8AE77C00ED82BC
/*
YHButlerServiceMessageHandler.swift */
;
};
04B9EE5A2C06CC3100A4018D
/* YHCodeSueecssViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B9EE582C06CC3100A4018D
/* YHCodeSueecssViewController.swift */
;
};
04B9EE5B2C06CC3100A4018D
/* YHOtherLoginViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04B9EE592C06CC3100A4018D
/* YHOtherLoginViewController.swift */
;
};
04C693622B723AB8004C1758
/* YHMySettingViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04C693612B723AB8004C1758
/* YHMySettingViewController.swift */
;
};
...
...
@@ -1250,7 +1250,7 @@
04B360F42C646844001EB053
/* YHPrincipleApprovedMailViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPrincipleApprovedMailViewController.swift
;
sourceTree
=
"<group>"
;
};
04B360F62C646B4F001EB053
/* YHPrincipleEnvelopeModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPrincipleEnvelopeModel.swift
;
sourceTree
=
"<group>"
;
};
04B4B8D42C89CE5E00ED82BC
/* YHButlerServiceMessage.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHButlerServiceMessage.swift
;
sourceTree
=
"<group>"
;
};
04B4B8D62C8AE77C00ED82BC
/* YH
YHButlerServiceMessageHandler.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YH
YHButlerServiceMessageHandler.swift
;
sourceTree
=
"<group>"
;
};
04B4B8D62C8AE77C00ED82BC
/* YH
ButlerServiceMessageHandler.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHButlerServiceMessageHandler.swift
;
sourceTree
=
"<group>"
;
};
04B9EE582C06CC3100A4018D
/* YHCodeSueecssViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCodeSueecssViewController.swift
;
sourceTree
=
"<group>"
;
};
04B9EE592C06CC3100A4018D
/* YHOtherLoginViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHOtherLoginViewController.swift
;
sourceTree
=
"<group>"
;
};
04C693612B723AB8004C1758
/* YHMySettingViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHMySettingViewController.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -1584,7 +1584,7 @@
04B4B8D32C89CCE400ED82BC
/* M */
,
0414708C2C895A1800B7B688
/* VM */
,
0414708A2C88627B00B7B688
/* YHButlerServiceManager.swift */
,
04B4B8D62C8AE77C00ED82BC
/* YH
YH
ButlerServiceMessageHandler.swift */
,
04B4B8D62C8AE77C00ED82BC
/* YHButlerServiceMessageHandler.swift */
,
);
path
=
"ButlerServiceManager(银河管家)"
;
sourceTree
=
"<group>"
;
...
...
@@ -4386,7 +4386,7 @@
A58AC09D2BABD59600A30FA9
/* YHFileListModel.swift in Sources */
,
045EEEFF2B9F171A0022A143
/* YHSaveAndSubmitView.swift in Sources */
,
045EEF0E2B9F171A0022A143
/* YHBasicInfoFillView.swift in Sources */
,
04B4B8D72C8AE77C00ED82BC
/* YH
YH
ButlerServiceMessageHandler.swift in Sources */
,
04B4B8D72C8AE77C00ED82BC
/* YHButlerServiceMessageHandler.swift in Sources */
,
04AF514E2BEB585C00009E3A
/* YHVideoPlayerVC.swift in Sources */
,
04CE1ADA2C2AD91F001CB80A
/* YHActivityTravelitemView.swift in Sources */
,
045EEEA12B9F171A0022A143
/* YHWorkExperienceDetailModel.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/ButlerServiceManager(银河管家)/VM/YHButlerServiceViewModel.swift
View file @
d0337af2
...
...
@@ -10,7 +10,7 @@ import Foundation
class
YHButlerServiceViewModel
{
//获取透传个人信息
//
/
获取透传个人信息
func
getUserInfomation
(
_
id
:
String
,
callBackBlock
:
@escaping
(
_
dataString
:
String
?,
_
error
:
YHErrorModel
?)
->
())
{
let
params
:
[
String
:
Any
]
=
[
"yh_id"
:
id
]
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
QiYu
.
userInfomation
...
...
galaxy/galaxy/Classes/Modules/ButlerServiceManager(银河管家)/YHButlerServiceManager.swift
View file @
d0337af2
...
...
@@ -41,7 +41,7 @@ class YHButlerServiceManager: NSObject {
guard
let
message
=
getSessionList
()
.
first
else
{
return
nil
}
return
YH
YH
ButlerServiceMessageHandler
.
handleSessionMessage
(
sessionMessage
:
message
)
return
YHButlerServiceMessageHandler
.
handleSessionMessage
(
sessionMessage
:
message
)
}
func
updateUserInfo
(
userId
:
String
,
userData
:
String
,
completion
:
@escaping
(
Bool
)
->
Void
)
{
...
...
@@ -162,7 +162,7 @@ extension YHButlerServiceManager: QYConversationManagerDelegate {
guard
let
message
=
sessionList
.
first
else
{
return
}
lastMessage
=
YH
YH
ButlerServiceMessageHandler
.
handleSessionMessage
(
sessionMessage
:
message
)
lastMessage
=
YHButlerServiceMessageHandler
.
handleSessionMessage
(
sessionMessage
:
message
)
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
didQiYuReceiveNewMsgNotification
,
object
:
nil
)
}
...
...
galaxy/galaxy/Classes/Modules/ButlerServiceManager(银河管家)/YH
YH
ButlerServiceMessageHandler.swift
→
galaxy/galaxy/Classes/Modules/ButlerServiceManager(银河管家)/YHButlerServiceMessageHandler.swift
View file @
d0337af2
//
// YH
YH
ButlerServiceMessageHandler.swift
// YHButlerServiceMessageHandler.swift
// galaxy
//
// Created by alexzzw on 2024/9/6.
...
...
@@ -8,7 +8,7 @@
import
UIKit
class
YH
YH
ButlerServiceMessageHandler
:
NSObject
{
class
YHButlerServiceMessageHandler
:
NSObject
{
// MARK: - 七鱼消息处理
/// 七鱼消息转成银河需要的类型
...
...
@@ -25,7 +25,7 @@ class YHYHButlerServiceMessageHandler: NSObject {
}
}
extension
YH
YH
ButlerServiceMessageHandler
{
extension
YHButlerServiceMessageHandler
{
// MARK: - 私有方法
/// 消息内容简单处理
...
...
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