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
3c32753d
Commit
3c32753d
authored
Sep 23, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
还差 续签指引 url
parent
4b81e918
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
YHServiceOrderListViewController.swift
...entService(服务中心)/C/YHServiceOrderListViewController.swift
+20
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHServiceOrderListViewController.swift
View file @
3c32753d
...
...
@@ -316,6 +316,26 @@ extension YHServiceOrderListView : UITableViewDelegate,UITableViewDataSource {
guard
let
self
=
self
else
{
return
}
if
tag
==
1
{
//身份续签指引
printLog
(
"身份续签指引"
)
if
let
param
=
YHLoginManager
.
shared
.
userModel
?
.
token
,
param
.
count
>
5
{
printLog
(
param
)
var
token
:
String
=
param
//MARK: for test hjl 还需要完善
var
url
=
YHBaseUrlManager
.
shared
.
curH5URL
()
+
"superAppBridge.html#/report/program"
let
addtionString
=
String
.
randomAlphaNumericStringT
(
6
)
//随机6个字母或者数字
let
indexToInsert
=
token
.
index
(
token
.
startIndex
,
offsetBy
:
6
)
//插入位置,这里以第六个字符后面为例
token
.
insert
(
contentsOf
:
addtionString
,
at
:
indexToInsert
)
//superAppBridge.html#/report/program?token=&batchID=1&order_id=151190
url
=
url
+
"?param="
+
token
+
"&batchID=
\(
stepID
)
"
+
"&order_id=
\(
orderID
)
"
let
vc
=
YHH5WebViewVC
()
vc
.
navTitle
=
"身份续签指引"
vc
.
url
=
url
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
}
else
if
tag
==
2
{
//我的续签方案
printLog
(
"续签方案"
)
...
...
@@ -334,7 +354,6 @@ extension YHServiceOrderListView : UITableViewDelegate,UITableViewDataSource {
let
vc
=
YHH5WebViewVC
()
vc
.
navTitle
=
"我的续签方案"
vc
.
url
=
url
// vc.isFullScreenFlag = false
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
}
else
if
tag
==
3
{
...
...
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