Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
HBHAndroid
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
1
Merge Requests
1
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
杨秀秀
HBHAndroid
Commits
a2686022
Commit
a2686022
authored
Jul 30, 2024
by
小费同学阿
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基础搭建
功能开发 1:bug 修复 企业端修复直接进入隐私条款点击无效问题
parent
4ac0d0f5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
12 deletions
+4
-12
build.gradle
hbhbcompany/build.gradle
+2
-2
HomeRequest.java
...java/com/xx/hbhbcompany/data/http/requst/HomeRequest.java
+1
-5
LoginRequest.kt
.../java/com/xx/hbhbcompany/data/http/requst/LoginRequest.kt
+1
-5
No files found.
hbhbcompany/build.gradle
View file @
a2686022
...
@@ -4,11 +4,11 @@ plugins {
...
@@ -4,11 +4,11 @@ plugins {
id
'kotlin-kapt'
id
'kotlin-kapt'
}
}
def
URL_DEBUG
=
"\"http://
49.232.201.130:8004
/\""
def
URL_DEBUG
=
"\"http://
103.131.168.155:7005/api
/\""
def
URL_RELEASE
=
"\"https://www.hbhapp.cn/api/\""
def
URL_RELEASE
=
"\"https://www.hbhapp.cn/api/\""
def
URL_DEBUG_H5
=
"\"http://
49.232.201.130
:7005\""
def
URL_DEBUG_H5
=
"\"http://
103.131.168.155
:7005\""
def
URL_RELEASE_H5
=
"\"https://www.hbhapp.cn\""
def
URL_RELEASE_H5
=
"\"https://www.hbhapp.cn\""
...
...
hbhbcompany/src/main/java/com/xx/hbhbcompany/data/http/requst/HomeRequest.java
View file @
a2686022
...
@@ -41,11 +41,7 @@ public class HomeRequest extends BaseRespons {
...
@@ -41,11 +41,7 @@ public class HomeRequest extends BaseRespons {
* */
* */
public
Observable
<
BaseResponse
<
List
<
String
>>>
getProtocols
()
{
public
Observable
<
BaseResponse
<
List
<
String
>>>
getProtocols
()
{
// 假设ApiParams和ApiService已经被正确设置和实现
// 假设ApiParams和ApiService已经被正确设置和实现
return
getApiService
().
getProtocols
(
new
ApiParams
<>().
setParams
(
Arrays
.
asList
(
"1"
,
return
getApiService
().
getProtocols
(
new
ApiParams
<>().
setParams
(
Arrays
.
asList
(
"6"
,
"7"
,
"8"
,
"9"
,
"10"
)));
"2"
,
"3"
,
"4"
,
"5"
)));
}
}
/**
/**
* 登陆入参
* 登陆入参
...
...
hbhbcompany/src/main/java/com/xx/hbhbcompany/data/http/requst/LoginRequest.kt
View file @
a2686022
...
@@ -72,11 +72,7 @@ class LoginRequest : BaseRespons() {
...
@@ -72,11 +72,7 @@ class LoginRequest : BaseRespons() {
return
apiService
.
getProtocols
(
return
apiService
.
getProtocols
(
ApiParams
<
Array
<
String
>>().
setParams
(
ApiParams
<
Array
<
String
>>().
setParams
(
arrayOf
(
arrayOf
(
"1"
,
"6"
,
"7"
,
"8"
,
"9"
,
"10"
"2"
,
"3"
,
"4"
,
"5"
)
)
)
)
)
)
...
...
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