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
d526fc42
Commit
d526fc42
authored
Oct 31, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// web添加阿里云日志
parent
c3e7ca4e
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
YHHomeHoldViewPageViewController.swift
...Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
+3
-1
YHJsApi.swift
...galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
+0
-0
YHLoginViewModel.swift
...alaxy/Classes/Modules/Login(登录)/VM/YHLoginViewModel.swift
+2
-2
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+1
-0
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
View file @
d526fc42
...
...
@@ -82,6 +82,8 @@ class YHHomeHoldViewPageViewController: YHBaseViewController {
}
checkHomeAlertView
()
getCurrentUserInfo
()
}
...
...
@@ -368,7 +370,7 @@ extension YHHomeHoldViewPageViewController {
if
!
YHLoginManager
.
shared
.
isLogin
()
{
return
}
guard
let
mobile
=
YHLoginManager
.
shared
.
userModel
?
.
mobile
else
{
if
let
mobile
=
YHLoginManager
.
shared
.
userModel
?
.
mobile
,
!
mobile
.
isEmpty
{
return
}
self
.
loginViewModel
.
getUserInfo
{
success
,
error
in
...
...
galaxy/galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
View file @
d526fc42
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/Login(登录)/VM/YHLoginViewModel.swift
View file @
d526fc42
...
...
@@ -211,8 +211,8 @@ extension YHLoginViewModel {
func
getUserInfo
(
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
User
.
verifyCode
let
_
=
YHNetRequest
.
pos
tRequest
(
url
:
strUrl
)
{[
weak
self
]
json
,
code
in
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
User
.
userInfo
let
_
=
YHNetRequest
.
ge
tRequest
(
url
:
strUrl
)
{[
weak
self
]
json
,
code
in
guard
self
!=
nil
else
{
return
}
//1. json字符串 转 对象
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
d526fc42
...
...
@@ -268,6 +268,7 @@ class YHAllApiName {
//获取验证
struct
User
{
static
let
verifyCode
=
"cuser/user/verify-code"
static
let
userInfo
=
"super-app/user/current-info"
}
//预览相关接口
...
...
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