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
d9013215
Commit
d9013215
authored
Apr 16, 2024
by
zhengnw@sobot.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net 1.2.5
parent
17c53741
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
8 deletions
+29
-8
SobotCommonConstant.java
...main/java/com/sobot/common/login/SobotCommonConstant.java
+9
-0
sobot-network-publish-mavencentral.gradle
sobot_network/sobot-network-publish-mavencentral.gradle
+1
-1
SobotBaseCode.java
...c/main/java/com/sobot/network/apiUtils/SobotBaseCode.java
+19
-0
SobotNetConstant.java
...ain/java/com/sobot/network/apiUtils/SobotNetConstant.java
+0
-7
No files found.
sobot_common/src/main/java/com/sobot/common/login/SobotCommonConstant.java
0 → 100644
View file @
d9013215
package
com
.
sobot
.
common
.
login
;
public
interface
SobotCommonConstant
{
String
SOBOT_TOKEN
=
"token"
;
//token标志,接口请求时,header必须带此参数
String
KEY_TEMP_ID
=
"temp-id"
;
//token标志,接口请求时,header必须带此参数
String
RESULT_SUCCESS_CODE
=
"000000"
;
String
RESULT_SUCCESS_CODE_SECOND
=
"1"
;
}
\ No newline at end of file
sobot_network/sobot-network-publish-mavencentral.gradle
View file @
d9013215
...
@@ -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
=
'net'
//项目名
PUBLISH_ARTIFACT_ID
=
'net'
//项目名
PUBLISH_VERSION
=
'1.2.
3
'
//版本号
PUBLISH_VERSION
=
'1.2.
5
'
//版本号
}
}
...
...
sobot_network/src/main/java/com/sobot/network/apiUtils/SobotBaseCode.java
View file @
d9013215
...
@@ -9,6 +9,8 @@ public class SobotBaseCode<T> implements Serializable {
...
@@ -9,6 +9,8 @@ public class SobotBaseCode<T> implements Serializable {
private
String
retMsg
;
private
String
retMsg
;
private
String
code
;
private
String
code
;
private
String
msg
;
private
String
msg
;
public
T
item
;
public
int
totalCount
;
public
String
getRetCode
()
{
public
String
getRetCode
()
{
return
retCode
;
return
retCode
;
...
@@ -49,4 +51,20 @@ public class SobotBaseCode<T> implements Serializable {
...
@@ -49,4 +51,20 @@ public class SobotBaseCode<T> implements Serializable {
public
void
setMsg
(
String
msg
)
{
public
void
setMsg
(
String
msg
)
{
this
.
msg
=
msg
;
this
.
msg
=
msg
;
}
}
public
T
getItem
()
{
return
item
;
}
public
void
setItem
(
T
item
)
{
this
.
item
=
item
;
}
public
int
getTotalCount
()
{
return
totalCount
;
}
public
void
setTotalCount
(
int
totalCount
)
{
this
.
totalCount
=
totalCount
;
}
}
}
\ No newline at end of file
sobot_network/src/main/java/com/sobot/network/apiUtils/SobotNetConstant.java
deleted
100644 → 0
View file @
17c53741
package
com
.
sobot
.
network
.
apiUtils
;
public
interface
SobotNetConstant
{
String
RESULT_SUCCESS_CODE
=
"000000"
;
String
RESULT_SUCCESS_CODE_SECOND
=
"1"
;
}
\ No newline at end of file
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