Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
asset-app
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
asset-app
Commits
d75b3f1c
Commit
d75b3f1c
authored
Jan 11, 2024
by
youguoqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
甲方外网地址禁用,改走内网
parent
a5d56b9f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
9 deletions
+15
-9
app/build.gradle
+2
-2
app/src/main/java/com/stm/asset/base/ConfigKey.java
+1
-1
app/src/main/java/com/stm/asset/base/InterfaceKey.java
+11
-5
app/src/main/java/com/stm/asset/http/HttpUtil.java
+1
-1
No files found.
app/build.gradle
View file @
d75b3f1c
...
...
@@ -12,8 +12,8 @@ android {
applicationId
"com.stm.asset"
minSdkVersion
21
targetSdkVersion
28
versionCode
1
versionName
"1.
1
"
versionCode
2
versionName
"1.
2
"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled
true
}
...
...
app/src/main/java/com/stm/asset/base/ConfigKey.java
View file @
d75b3f1c
...
...
@@ -2,7 +2,7 @@ package com.stm.asset.base;
public
class
ConfigKey
{
public
final
static
String
GATEWAYIP
=
"
m
fms.citictrust.com.cn"
;
public
final
static
String
GATEWAYIP
=
"fms.citictrust.com.cn"
;
public
final
static
String
GATWAYPORT
=
""
;
// http://10.50.251.101 8848 测试地址
// https://mfms.citictrust.com.cn 生产地址
...
...
app/src/main/java/com/stm/asset/base/InterfaceKey.java
View file @
d75b3f1c
...
...
@@ -2,13 +2,19 @@ package com.stm.asset.base;
public
class
InterfaceKey
{
private
final
static
String
GETWAY
=
"GATEWAY/"
;
// private final static String GETWAY = "GATEWAY/";
//
// public final static String UNIONLOGINAPP = GETWAY + "app/login"; // 登录
// public final static String QURYPAGEHOMEUSERINFO = GETWAY + "app/quryPageHomeUserInfo"; // 获取用户信息
// public final static String SCANINVENTORY = GETWAY + "app/ams/scanInventory"; // 上传资产编号
public
final
static
String
UNIONLOGINAPP
=
GETWAY
+
"app/login"
;
// 登录
public
final
static
String
QURYPAGEHOMEUSERINFO
=
GETWAY
+
"app/quryPageHomeUserInfo"
;
// 获取用户信息
public
final
static
String
QUERYVERSIONAPP
=
GETWAY
+
"queryAppVersionApp"
;
// 查询版本号
public
final
static
String
SCANINVENTORY
=
GETWAY
+
"app/ams/scanInventory"
;
// 上传资产编号
private
final
static
String
GETWAY
=
"FMP/"
;
public
final
static
String
UNIONLOGINAPP
=
GETWAY
+
"login"
;
// 登录
public
final
static
String
QURYPAGEHOMEUSERINFO
=
GETWAY
+
"quryPageHomeUserInfo"
;
// 获取用户信息
public
final
static
String
SCANINVENTORY
=
GETWAY
+
"ams/scanInventory"
;
// 上传资产编号
public
final
static
String
QUERYVERSIONAPP
=
GETWAY
+
"queryAppVersionApp"
;
// 查询版本号
...
...
app/src/main/java/com/stm/asset/http/HttpUtil.java
View file @
d75b3f1c
...
...
@@ -197,7 +197,7 @@ public class HttpUtil {
}
sbd
.
append
(
"/"
);
sbd
.
append
(
interfaceName
);
sbd
.
append
(
".a
pp
"
);
sbd
.
append
(
".a
jax
"
);
return
sbd
.
toString
();
}
...
...
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