Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
polysoft-nafmii
/
polysoft-android
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a98a4193
authored
Sep 22, 2021
by
amateur
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
11f3a863
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
app/build.gradle
app/src/main/java/com/polysoft/nafmii/enums/ModulesEnum.java
app/build.gradle
View file @
a98a419
...
@@ -20,6 +20,7 @@ android {
...
@@ -20,6 +20,7 @@ android {
buildConfigField
"String"
,
"IMG_API"
,
"\"http://10.10.81.172/group1/\""
buildConfigField
"String"
,
"IMG_API"
,
"\"http://10.10.81.172/group1/\""
buildConfigField
"String"
,
"WX_APPID"
,
"\"wx06a3b88ecb27f0d8\""
buildConfigField
"String"
,
"WX_APPID"
,
"\"wx06a3b88ecb27f0d8\""
buildConfigField
"String"
,
"ONLINE_URL"
,
"\"http://10.10.81.189/h5/\""
buildConfigField
"String"
,
"ONLINE_URL"
,
"\"http://10.10.81.189/h5/\""
buildConfigField
"String"
,
"MODULE_LEARN"
,
"\"http://ycjytest.cfae.cn/sites/bank/mb/index.html\""
buildConfigField
"boolean"
,
"SHOW_INPUT"
,
"true"
buildConfigField
"boolean"
,
"SHOW_INPUT"
,
"true"
buildConfigField
"boolean"
,
"ONLINE"
,
"false"
buildConfigField
"boolean"
,
"ONLINE"
,
"false"
ndk
{
ndk
{
...
@@ -99,6 +100,7 @@ android {
...
@@ -99,6 +100,7 @@ android {
buildConfigField
"String"
,
"API_HOST"
,
"\"http://10.10.34.155/nafmii/app/\""
buildConfigField
"String"
,
"API_HOST"
,
"\"http://10.10.34.155/nafmii/app/\""
buildConfigField
"String"
,
"IMG_API"
,
"\"http://10.10.34.155/file/\""
buildConfigField
"String"
,
"IMG_API"
,
"\"http://10.10.34.155/file/\""
buildConfigField
"String"
,
"ONLINE_URL"
,
"\"http://10.10.34.155/h5/\""
buildConfigField
"String"
,
"ONLINE_URL"
,
"\"http://10.10.34.155/h5/\""
buildConfigField
"String"
,
"MODULE_LEARN"
,
"\"http://ycjytest.cfae.cn/sites/bank/mb/index.html\""
manifestPlaceholders
=
[
manifestPlaceholders
=
[
JPUSH_PKGNAME:
"com.whaty.nafmii.uat"
,
JPUSH_PKGNAME:
"com.whaty.nafmii.uat"
,
JPUSH_APPKEY
:
"ef86f246857d981193987dee"
,
//值来自开发者平台取得的AppKey
JPUSH_APPKEY
:
"ef86f246857d981193987dee"
,
//值来自开发者平台取得的AppKey
...
@@ -115,6 +117,7 @@ android {
...
@@ -115,6 +117,7 @@ android {
buildConfigField
"String"
,
"API_HOST"
,
"\"http://10.10.81.189/nafmii/app/\""
buildConfigField
"String"
,
"API_HOST"
,
"\"http://10.10.81.189/nafmii/app/\""
buildConfigField
"String"
,
"IMG_API"
,
"\"http://10.10.81.172/group1/\""
buildConfigField
"String"
,
"IMG_API"
,
"\"http://10.10.81.172/group1/\""
buildConfigField
"String"
,
"ONLINE_URL"
,
"\"http://10.10.81.189/h5/\""
buildConfigField
"String"
,
"ONLINE_URL"
,
"\"http://10.10.81.189/h5/\""
buildConfigField
"String"
,
"MODULE_LEARN"
,
"\"http://bank.lms.webtrn.cn/sites/bank/mb/index.html\""
manifestPlaceholders
=
[
manifestPlaceholders
=
[
JPUSH_PKGNAME:
"com.whaty.nafmii.dev"
,
JPUSH_PKGNAME:
"com.whaty.nafmii.dev"
,
JPUSH_APPKEY
:
"ef86f246857d981193987dee"
,
//值来自开发者平台取得的AppKey
JPUSH_APPKEY
:
"ef86f246857d981193987dee"
,
//值来自开发者平台取得的AppKey
...
...
app/src/main/java/com/polysoft/nafmii/enums/ModulesEnum.java
View file @
a98a419
package
com
.
polysoft
.
nafmii
.
enums
;
package
com
.
polysoft
.
nafmii
.
enums
;
import
com.whaty.nafmii.BuildConfig
;
public
enum
ModulesEnum
{
public
enum
ModulesEnum
{
HOME
(
"home"
,
"home"
,
"#/home"
),
HOME
(
"home"
,
"home"
,
"#/home"
),
MEMBER
(
"member"
,
"member"
,
"#/member/login"
),
MEMBER
(
"member"
,
"member"
,
"#/member/login"
),
// LEARN("learn", "learn", "http://debugtbs.qq.com"),
// LEARN("learn", "learn", "http://debugtbs.qq.com"),
LEARN
(
"learn"
,
"learn"
,
"http://bank.lms.webtrn.cn/sites/bank/mb/index.html"
),
LEARN
(
"learn"
,
"learn"
,
BuildConfig
.
MODULE_LEARN
),
MY
(
"my"
,
"my"
,
"#/user/center"
);
MY
(
"my"
,
"my"
,
"#/user/center"
);
public
final
String
name
;
public
final
String
name
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment