Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Sobot_module_Dev
Project
Overview
Details
Activity
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
sobot_android
Sobot_module_Dev
Commits
e52c69cf
Commit
e52c69cf
authored
Jul 09, 2024
by
郭倩芳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
common 发包,修改登录接口text
parent
4972db66
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sobot-common-publish-mavencentral.gradle
sobot_common/sobot-common-publish-mavencentral.gradle
+1
-1
SobotLoginTools.java
...src/main/java/com/sobot/common/login/SobotLoginTools.java
+1
-1
No files found.
sobot_common/sobot-common-publish-mavencentral.gradle
View file @
e52c69cf
...
@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
...
@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
ext
{
ext
{
PUBLISH_GROUP_ID
=
"com.sobot.library"
//项目包名
PUBLISH_GROUP_ID
=
"com.sobot.library"
//项目包名
PUBLISH_ARTIFACT_ID
=
'sobotcommon_x'
//项目名
PUBLISH_ARTIFACT_ID
=
'sobotcommon_x'
//项目名
PUBLISH_VERSION
=
'1.7.7.
2
'
//版本号
PUBLISH_VERSION
=
'1.7.7.
3
'
//版本号
}
}
...
...
sobot_common/src/main/java/com/sobot/common/login/SobotLoginTools.java
View file @
e52c69cf
...
@@ -95,7 +95,7 @@ public class SobotLoginTools {
...
@@ -95,7 +95,7 @@ public class SobotLoginTools {
public
void
setHostModel
(
HostModel
newHostModel
)
{
public
void
setHostModel
(
HostModel
newHostModel
)
{
HostManager
.
getInstance
().
deleteAll
();
HostManager
.
getInstance
().
deleteAll
();
if
(
newHostModel
!=
null
)
{
if
(
newHostModel
!=
null
)
{
if
((
newHostModel
.
getHost
().
contains
(
"
test-branche1"
))
||
(
newHostModel
.
getHost
().
contains
(
"api-c.sobot.com"
)
||
newHostModel
.
getHost
().
contains
(
"api-c.soboten.com"
))
&&
(!
newHostModel
.
getHost
().
contains
(
"api-c.sobot.com/text"
)
&&
!
newHostModel
.
getHost
().
contains
(
"api-c.soboten.com/text"
)))
{
if
((
newHostModel
.
getHost
().
contains
(
"
api-c"
))
&&
(!
newHostModel
.
getHost
().
contains
(
"api-c.sobot.com/text"
)
&&
!
newHostModel
.
getHost
().
contains
(
"api-c.soboten.com/text"
)))
{
if
(!
newHostModel
.
getHost
().
endsWith
(
"/"
))
{
if
(!
newHostModel
.
getHost
().
endsWith
(
"/"
))
{
newHostModel
.
setHost
(
newHostModel
.
getHost
()
+
"/text/"
);
newHostModel
.
setHost
(
newHostModel
.
getHost
()
+
"/text/"
);
}
else
{
}
else
{
...
...
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