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
464355a9
Commit
464355a9
authored
Oct 11, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码同步
parent
5b880bfd
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
31 additions
and
14 deletions
+31
-14
YHInvatationShareViewController.swift
...onWithGifts(邀请有礼)/C/YHInvatationShareViewController.swift
+4
-2
YHConsultantQRCodeView.swift
...y/Classes/Modules/Home(首页)/V/YHConsultantQRCodeView.swift
+4
-2
YHVisaPayTypeCell.swift
...icate(办证段)/VisaPayment(4电子签字缴费)/V/YHVisaPayTypeCell.swift
+7
-2
YHFileListViewController.swift
...ice(服务中心)/FileList(文件清单)/C/YHFileListViewController.swift
+4
-2
YHMyFileListViewController.swift
...e(服务中心)/FileList(文件清单)/C/YHMyFileListViewController.swift
+4
-2
YHResignGuidelinesExampleShareViewController.swift
...份指引)/C/YHResignGuidelinesExampleShareViewController.swift
+4
-2
YHLongtapPictureSheetView.swift
...dules/PictureReview(图片预览)/YHLongtapPictureSheetView.swift
+4
-2
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/InvitationWithGifts(邀请有礼)/C/YHInvatationShareViewController.swift
View file @
464355a9
...
...
@@ -156,12 +156,14 @@ extension YHInvatationShareViewController {
PHPhotoLibrary
.
requestAuthorization
{
status
in
if
status
==
.
authorized
{
// 保存图片到相册
UIImageWriteToSavedPhotosAlbum
(
image
,
nil
,
nil
,
nil
)
DispatchQueue
.
main
.
async
{
UIImageWriteToSavedPhotosAlbum
(
image
,
nil
,
nil
,
nil
)
YHHUD
.
flash
(
message
:
"保存成功"
)
}
}
else
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
DispatchQueue
.
main
.
async
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHConsultantQRCodeView.swift
View file @
464355a9
...
...
@@ -191,11 +191,13 @@ class YHConsultantQRCodeView: UIView {
PHPhotoLibrary
.
requestAuthorization
{
status
in
if
status
==
.
authorized
{
// 保存图片到相册
DispatchQueue
.
main
.
sync
{
DispatchQueue
.
main
.
a
sync
{
UIImageWriteToSavedPhotosAlbum
(
image
,
self
,
#selector(
self.image(image:didFinishSavingWithError:contextInfo:)
)
,
nil
)
}
}
else
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
DispatchQueue
.
main
.
async
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService(客服段)/Certificate(办证段)/VisaPayment(4电子签字缴费)/V/YHVisaPayTypeCell.swift
View file @
464355a9
...
...
@@ -101,9 +101,14 @@ private extension YHVisaPayTypeCell {
PHPhotoLibrary
.
requestAuthorization
{
status
in
if
status
==
.
authorized
{
// 保存UIImage对象到相册
UIImageWriteToSavedPhotosAlbum
(
image
,
self
,
#selector(
self.image(_:didFinishSavingWithError:contextInfo:)
)
,
nil
)
DispatchQueue
.
main
.
async
{
UIImageWriteToSavedPhotosAlbum
(
image
,
self
,
#selector(
self.image(_:didFinishSavingWithError:contextInfo:)
)
,
nil
)
}
}
else
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
DispatchQueue
.
main
.
async
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/FileList(文件清单)/C/YHFileListViewController.swift
View file @
464355a9
...
...
@@ -233,11 +233,13 @@ extension YHFileListViewController {
PHPhotoLibrary
.
requestAuthorization
{
status
in
if
status
==
.
authorized
{
// 保存图片到相册
DispatchQueue
.
main
.
sync
{
DispatchQueue
.
main
.
a
sync
{
UIImageWriteToSavedPhotosAlbum
(
image
,
self
,
#selector(
self.image(image:didFinishSavingWithError:contextInfo:)
)
,
nil
)
}
}
else
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
DispatchQueue
.
main
.
async
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/FileList(文件清单)/C/YHMyFileListViewController.swift
View file @
464355a9
...
...
@@ -489,11 +489,13 @@ extension YHMyFileListViewController {
PHPhotoLibrary
.
requestAuthorization
{
status
in
if
status
==
.
authorized
{
// 保存图片到相册
DispatchQueue
.
main
.
sync
{
DispatchQueue
.
main
.
a
sync
{
UIImageWriteToSavedPhotosAlbum
(
image
,
self
,
#selector(
self.image(image:didFinishSavingWithError:contextInfo:)
)
,
nil
)
}
}
else
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
DispatchQueue
.
main
.
async
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignGuidelines(续期身份指引)/C/YHResignGuidelinesExampleShareViewController.swift
View file @
464355a9
...
...
@@ -147,12 +147,14 @@ extension YHResignGuidelinesExampleShareViewController {
PHPhotoLibrary
.
requestAuthorization
{
status
in
if
status
==
.
authorized
{
// 保存图片到相册
UIImageWriteToSavedPhotosAlbum
(
image
,
nil
,
nil
,
nil
)
DispatchQueue
.
main
.
async
{
UIImageWriteToSavedPhotosAlbum
(
image
,
nil
,
nil
,
nil
)
YHHUD
.
flash
(
message
:
"保存成功"
)
}
}
else
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
DispatchQueue
.
main
.
async
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/PictureReview(图片预览)/YHLongtapPictureSheetView.swift
View file @
464355a9
...
...
@@ -254,12 +254,14 @@ private extension YHLongtapPictureSheetView {
PHPhotoLibrary
.
requestAuthorization
{
status
in
if
status
==
.
authorized
{
// 保存图片到相册
UIImageWriteToSavedPhotosAlbum
(
image
,
nil
,
nil
,
nil
)
DispatchQueue
.
main
.
async
{
UIImageWriteToSavedPhotosAlbum
(
image
,
nil
,
nil
,
nil
)
YHHUD
.
flash
(
message
:
"保存成功"
)
}
}
else
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
DispatchQueue
.
main
.
async
{
YHHUD
.
flash
(
message
:
"保存失败,请检查系统权限"
)
}
}
}
}
...
...
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