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
9bbcf108
Commit
9bbcf108
authored
Jul 10, 2021
by
shiyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开启加密打测试包
parent
793b32c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
PublishCouponsActivity.kt
...henghuoquan/commodity/ui/coupon/PublishCouponsActivity.kt
+3
-3
config.gradle
config/config.gradle
+3
-3
No files found.
Components/commodity/src/main/java/com/yidian/shenghuoquan/commodity/ui/coupon/PublishCouponsActivity.kt
View file @
9bbcf108
...
...
@@ -51,9 +51,9 @@ class PublishCouponsActivity : BaseMvvmActivity<CommodityActivityPublishCouponsB
}
else
{
"xbrid_coupon_publish?life_account_id=$lifeAccountId"
}
webView
.
loadUrl
(
webUrl
)
Timber
.
e
(
"请求地址: $webUrl"
)
//
webView.loadUrl("http://10.60.102.66:8080")
//
webView.loadUrl(webUrl)
//
Timber.e("请求地址: $webUrl")
webView
.
loadUrl
(
"http://10.60.102.66:8080"
)
webView
.
webChromeClient
=
object
:
WebChromeClient
()
{
override
fun
onProgressChanged
(
view
:
WebView
?,
newProgress
:
Int
)
{
super
.
onProgressChanged
(
view
,
newProgress
)
...
...
config/config.gradle
View file @
9bbcf108
...
...
@@ -5,7 +5,7 @@ ext {
versionCode
:
100
,
versionName
:
"1.0.0"
,
serviceVersion
:
'"000100"'
,
// 上线前需要和服务端确认并更新
isEncrypt
:
'
fals
e'
,
// 上线时改成true开启加密
isEncrypt
:
'
tru
e'
,
// 上线时改成true开启加密
isEncryptDebugKey
:
'true'
,
// 上线前需要使用正式加密key 置为false
isUmengRelease
:
'false'
,
// 上线时改成true,使用上线版本的友盟配置
isApplication
:
false
,
...
...
@@ -14,10 +14,10 @@ ext {
buildParams
=
[
debug
:
[
API_URL:
'"http://bp-dev.go2yd.com"'
,
// API_URL: '"http://bp-test.go2yd.com"',
],
release:
[
API_URL:
'"https://bp.go2yd.com"'
,
API_URL:
'"http://bp-test.go2yd.com"'
,
// API_URL: '"https://bp.go2yd.com"',
]
]
}
...
...
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