Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ShenghuoquanBusiness
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
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
bp
ShenghuoquanBusiness
Commits
adf78dbc
Commit
adf78dbc
authored
Jul 20, 2021
by
shiyl
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_commodity' into feature/dev_order
parents
b9400288
32d5d8cb
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
28 additions
and
28 deletions
+28
-28
commodity_item_commodity_audit_list.xml
...c/main/res/layout/commodity_item_commodity_audit_list.xml
+1
-1
commodity_item_commodity_offline_list.xml
...main/res/layout/commodity_item_commodity_offline_list.xml
+1
-1
commodity_item_commodity_online_list.xml
.../main/res/layout/commodity_item_commodity_online_list.xml
+1
-1
commodity_item_commodity_reject_list.xml
.../main/res/layout/commodity_item_commodity_reject_list.xml
+1
-1
MerchantAuthManagementActivity.kt
...n/newscontent/ui/center/MerchantAuthManagementActivity.kt
+3
-3
FeedbackActivity.kt
...n/shenghuoquan/newscontent/ui/setting/FeedbackActivity.kt
+0
-1
SystemSettingActivity.kt
...nghuoquan/newscontent/ui/setting/SystemSettingActivity.kt
+1
-0
config.gradle
config/config.gradle
+20
-20
No files found.
Components/commodity/src/main/res/layout/commodity_item_commodity_audit_list.xml
View file @
adf78dbc
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
android:id=
"@+id/tv_commodity_price_symbol"
android:id=
"@+id/tv_commodity_price_symbol"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"
¥
"
android:text=
"
¥
"
android:textColor=
"@color/color_F26E3D"
android:textColor=
"@color/color_F26E3D"
android:textSize=
"@dimen/sp12"
android:textSize=
"@dimen/sp12"
app:layout_constraintBaseline_toBaselineOf=
"@id/tv_commodity_price"
app:layout_constraintBaseline_toBaselineOf=
"@id/tv_commodity_price"
...
...
Components/commodity/src/main/res/layout/commodity_item_commodity_offline_list.xml
View file @
adf78dbc
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
android:id=
"@+id/tv_commodity_price_symbol"
android:id=
"@+id/tv_commodity_price_symbol"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"
¥
"
android:text=
"
¥
"
android:textColor=
"@color/color_F26E3D"
android:textColor=
"@color/color_F26E3D"
android:textSize=
"@dimen/sp12"
android:textSize=
"@dimen/sp12"
app:layout_constraintBaseline_toBaselineOf=
"@id/tv_commodity_price"
app:layout_constraintBaseline_toBaselineOf=
"@id/tv_commodity_price"
...
...
Components/commodity/src/main/res/layout/commodity_item_commodity_online_list.xml
View file @
adf78dbc
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
android:id=
"@+id/tv_commodity_price_symbol"
android:id=
"@+id/tv_commodity_price_symbol"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"
¥
"
android:text=
"
¥
"
android:textColor=
"@color/color_F26E3D"
android:textColor=
"@color/color_F26E3D"
android:textSize=
"@dimen/sp12"
android:textSize=
"@dimen/sp12"
app:layout_constraintBaseline_toBaselineOf=
"@id/tv_commodity_price"
app:layout_constraintBaseline_toBaselineOf=
"@id/tv_commodity_price"
...
...
Components/commodity/src/main/res/layout/commodity_item_commodity_reject_list.xml
View file @
adf78dbc
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
android:id=
"@+id/tv_commodity_price_symbol"
android:id=
"@+id/tv_commodity_price_symbol"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"
¥
"
android:text=
"
¥
"
android:textColor=
"@color/color_F26E3D"
android:textColor=
"@color/color_F26E3D"
android:textSize=
"@dimen/sp12"
android:textSize=
"@dimen/sp12"
app:layout_constraintBaseline_toBaselineOf=
"@id/tv_commodity_price"
app:layout_constraintBaseline_toBaselineOf=
"@id/tv_commodity_price"
...
...
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/center/MerchantAuthManagementActivity.kt
View file @
adf78dbc
...
@@ -57,7 +57,7 @@ class MerchantAuthManagementActivity : Activity(), XPageViewProtocol, IGetLifeAc
...
@@ -57,7 +57,7 @@ class MerchantAuthManagementActivity : Activity(), XPageViewProtocol, IGetLifeAc
XRouterPathConstants
.
LIFE_ACCOUNT_AUTH
,
XRouterPathConstants
.
LIFE_ACCOUNT_AUTH
,
hashMapOf
(
Pair
(
LifeAccountAuthActivity
.
EXTRA_PAGE_FROM
,
LifeAccountAuthActivity
.
FROM_AUTH
))
hashMapOf
(
Pair
(
LifeAccountAuthActivity
.
EXTRA_PAGE_FROM
,
LifeAccountAuthActivity
.
FROM_AUTH
))
)
)
XPageManager
.
pop
(
null
)
finish
(
)
}
}
Constant
.
LIFE_ACCOUNT_TAG_AUTH_REJECT
->
{
Constant
.
LIFE_ACCOUNT_TAG_AUTH_REJECT
->
{
// 认证驳回 请求企业认证信息
// 认证驳回 请求企业认证信息
...
@@ -78,7 +78,7 @@ class MerchantAuthManagementActivity : Activity(), XPageViewProtocol, IGetLifeAc
...
@@ -78,7 +78,7 @@ class MerchantAuthManagementActivity : Activity(), XPageViewProtocol, IGetLifeAc
override
fun
getLifeAccountInfoByIdSuccess
(
result
:
GetLifeAccountInfoByIdBean
.
Response
?)
{
override
fun
getLifeAccountInfoByIdSuccess
(
result
:
GetLifeAccountInfoByIdBean
.
Response
?)
{
// 跳转认证信息详情页
// 跳转认证信息详情页
XPageManager
.
push
(
XRouterPathConstants
.
MERCHANT_AUTH_INFO
,
hashMapOf
(
Pair
(
MerchantAuthInfoActivity
.
EXTRA_LIFE_ACCOUNT_INFO
,
result
)))
XPageManager
.
push
(
XRouterPathConstants
.
MERCHANT_AUTH_INFO
,
hashMapOf
(
Pair
(
MerchantAuthInfoActivity
.
EXTRA_LIFE_ACCOUNT_INFO
,
result
)))
XPageManager
.
pop
(
null
)
finish
(
)
}
}
override
fun
getLifeAccountInfoByIdFailure
(
message
:
String
?)
{
override
fun
getLifeAccountInfoByIdFailure
(
message
:
String
?)
{
...
@@ -95,7 +95,7 @@ class MerchantAuthManagementActivity : Activity(), XPageViewProtocol, IGetLifeAc
...
@@ -95,7 +95,7 @@ class MerchantAuthManagementActivity : Activity(), XPageViewProtocol, IGetLifeAc
Pair
(
LifeAccountEnterpriseAuthActivity
.
EXTRA_IS_AUTH_MODIFY
,
true
)
Pair
(
LifeAccountEnterpriseAuthActivity
.
EXTRA_IS_AUTH_MODIFY
,
true
)
)
)
)
)
XPageManager
.
pop
(
null
)
finish
(
)
}
}
override
fun
authMerchantCheckFailure
(
message
:
String
?)
{
override
fun
authMerchantCheckFailure
(
message
:
String
?)
{
...
...
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/setting/FeedbackActivity.kt
View file @
adf78dbc
...
@@ -42,7 +42,6 @@ class FeedbackActivity : BaseMvvmActivity<ActivityFeedbackBinding, FeedbackViewM
...
@@ -42,7 +42,6 @@ class FeedbackActivity : BaseMvvmActivity<ActivityFeedbackBinding, FeedbackViewM
private
fun
subscribeData
()
{
private
fun
subscribeData
()
{
vm
.
commitSuccessEvent
.
observe
(
this
,
{
vm
.
commitSuccessEvent
.
observe
(
this
,
{
ToastUtils
.
showShort
(
"提交成功"
)
ToastUtils
.
showShort
(
"提交成功"
)
// TODO: 7/17/21 排查XPageManager.pop(null)存在失效情况
finish
()
finish
()
})
})
vm
.
commitFailureEvent
.
observe
(
this
,
{
vm
.
commitFailureEvent
.
observe
(
this
,
{
...
...
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/setting/SystemSettingActivity.kt
View file @
adf78dbc
...
@@ -137,6 +137,7 @@ class SystemSettingActivity : BaseActivity<ActivitySystemSettingBinding>() {
...
@@ -137,6 +137,7 @@ class SystemSettingActivity : BaseActivity<ActivitySystemSettingBinding>() {
ApiService
.
userLogout
(
logoutCallBack
)
ApiService
.
userLogout
(
logoutCallBack
)
}
}
})
})
dialog
.
setLeftBtnColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
color_666666
))
dialog
.
setRightBtnColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
color_FFFF3A3A
))
dialog
.
setRightBtnColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
color_FFFF3A3A
))
dialog
.
show
()
dialog
.
show
()
}
}
...
...
config/config.gradle
View file @
adf78dbc
...
@@ -13,34 +13,34 @@ ext {
...
@@ -13,34 +13,34 @@ ext {
// TowerApiEnv : '0', // Tower Api环境 0:测试环境 1:内网-正式环境 2:外网-正式环境 3:内网外网-正式环境
// TowerApiEnv : '0', // Tower Api环境 0:测试环境 1:内网-正式环境 2:外网-正式环境 3:内网外网-正式环境
// XInsightEnv : '0' // 慧眼SDK环境 0:开发环境 1:测试环境 2:预生产环境 3:生产环境
// XInsightEnv : '0' // 慧眼SDK环境 0:开发环境 1:测试环境 2:预生产环境 3:生产环境
// ]
// ]
// 测试环境配置
// // 测试环境配置
android
=
[
applicationId
:
"com.shenghuoquan.business"
,
versionCode
:
101
,
versionName
:
"1.0.1"
,
serviceVersion
:
'"000100"'
,
// 上线前需要和服务端确认并更新
isEncrypt
:
'true'
,
// 上线时改成true开启加密
isEncryptDebugKey:
'true'
,
// 上线前需要使用正式加密key 置为false
isUmengRelease
:
'false'
,
// 上线时改成true,使用上线版本的友盟配置
isApplication
:
false
,
isUpgradeOnline
:
'false'
,
// 上线前需要开启版本升级线上环境 true 此开关同时影响app版本升级和xbrid版本升级
TowerApiEnv
:
'0'
,
// Tower Api环境 0:测试环境 1:内网-正式环境 2:外网-正式环境 3:内网外网-正式环境
XInsightEnv
:
'1'
// 慧眼SDK环境 0:开发环境 1:测试环境 2:预生产环境 3:生产环境
]
// // ⚠️⚠️ 上线环境配置
// android = [
// android = [
// applicationId : "com.shenghuoquan.business",
// applicationId : "com.shenghuoquan.business",
// versionCode : 101,
// versionCode : 101,
// versionName : "1.0.1",
// versionName : "1.0.1",
// serviceVersion : '"000100"', // 上线前需要和服务端确认并更新
// serviceVersion : '"000100"', // 上线前需要和服务端确认并更新
// isEncrypt : 'true', // 上线时改成true开启加密
// isEncrypt : 'true', // 上线时改成true开启加密
// isEncryptDebugKey: '
fals
e', // 上线前需要使用正式加密key 置为false
// isEncryptDebugKey: '
tru
e', // 上线前需要使用正式加密key 置为false
// isUmengRelease : '
tru
e', // 上线时改成true,使用上线版本的友盟配置
// isUmengRelease : '
fals
e', // 上线时改成true,使用上线版本的友盟配置
// isApplication : false,
// isApplication : false,
// isUpgradeOnline : '
tru
e', // 上线前需要开启版本升级线上环境 true 此开关同时影响app版本升级和xbrid版本升级
// isUpgradeOnline : '
fals
e', // 上线前需要开启版本升级线上环境 true 此开关同时影响app版本升级和xbrid版本升级
// TowerApiEnv : '
2
', // Tower Api环境 0:测试环境 1:内网-正式环境 2:外网-正式环境 3:内网外网-正式环境
// TowerApiEnv : '
0
', // Tower Api环境 0:测试环境 1:内网-正式环境 2:外网-正式环境 3:内网外网-正式环境
// XInsightEnv : '
3
' // 慧眼SDK环境 0:开发环境 1:测试环境 2:预生产环境 3:生产环境
// XInsightEnv : '
1
' // 慧眼SDK环境 0:开发环境 1:测试环境 2:预生产环境 3:生产环境
// ]
// ]
// ⚠️⚠️ 上线环境配置
android
=
[
applicationId
:
"com.shenghuoquan.business"
,
versionCode
:
101
,
versionName
:
"1.0.1"
,
serviceVersion
:
'"000100"'
,
// 上线前需要和服务端确认并更新
isEncrypt
:
'true'
,
// 上线时改成true开启加密
isEncryptDebugKey:
'false'
,
// 上线前需要使用正式加密key 置为false
isUmengRelease
:
'true'
,
// 上线时改成true,使用上线版本的友盟配置
isApplication
:
false
,
isUpgradeOnline
:
'true'
,
// 上线前需要开启版本升级线上环境 true 此开关同时影响app版本升级和xbrid版本升级
TowerApiEnv
:
'2'
,
// Tower Api环境 0:测试环境 1:内网-正式环境 2:外网-正式环境 3:内网外网-正式环境
XInsightEnv
:
'3'
// 慧眼SDK环境 0:开发环境 1:测试环境 2:预生产环境 3:生产环境
]
// 高德地图的key
// 高德地图的key
amap
=
[
amap
=
[
amap_debug_key
:
'0b8dd2229f4568b508e51865e402e04a'
,
amap_debug_key
:
'0b8dd2229f4568b508e51865e402e04a'
,
...
...
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