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
664b963c
Commit
664b963c
authored
Apr 19, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除 不使用的代码
parent
ace427d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
16 deletions
+2
-16
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+0
-14
YHLoginViewModel.swift
...alaxy/Classes/Modules/Login(登录)/VM/YHLoginViewModel.swift
+2
-2
No files found.
galaxy/galaxy/AppDelegate.swift
View file @
664b963c
...
@@ -35,21 +35,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
...
@@ -35,21 +35,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
//4.本地用户信息加载
//4.本地用户信息加载
YHLoginManager
.
shared
.
loadLocalUserInfoData
()
YHLoginManager
.
shared
.
loadLocalUserInfoData
()
YHConfigManager
.
shared
.
loadConfigData
()
YHConfigManager
.
shared
.
loadConfigData
()
// YHAnalytics.analyticsStart(launchOptions: launchOptions)
// var i = 0
// for family: String in UIFont.familyNames {
// print("\(i)---项目字体---\(family)")
// for names: String in UIFont.fontNames(forFamilyName: family) {
// print("== \(names)")
// }
// i += 1
// }
return
true
return
true
}
}
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/VM/YHLoginViewModel.swift
View file @
664b963c
...
@@ -88,9 +88,9 @@ extension YHLoginViewModel {
...
@@ -88,9 +88,9 @@ extension YHLoginViewModel {
let
_
=
YHNetRequest
.
postRequest
(
url
:
strUrl
)
{
let
_
=
YHNetRequest
.
postRequest
(
url
:
strUrl
)
{
[
weak
self
]
json
,
code
in
[
weak
self
]
json
,
code
in
//1. json字符串 转 对象
//1. json字符串 转 对象
guard
let
self
=
self
else
{
return
}
guard
self
!=
nil
else
{
return
}
printLog
(
json
)
printLog
(
json
)
let
dic
=
json
.
data
_
=
json
.
data
if
json
.
code
==
200
{
if
json
.
code
==
200
{
callBackBlock
(
true
,
nil
)
callBackBlock
(
true
,
nil
)
...
...
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