fix2
This commit is contained in:
parent
ca90a96025
commit
d3aad97202
|
|
@ -93,10 +93,10 @@ class NetService private constructor() : INetService {
|
||||||
// .sslSocketFactory(getSSLSocketFactory(), CustomTrustManager())//信任所有证书
|
// .sslSocketFactory(getSSLSocketFactory(), CustomTrustManager())//信任所有证书
|
||||||
.sslSocketFactory(getSSLSocketFactory(), trustAllCerts[0] as X509TrustManager)
|
.sslSocketFactory(getSSLSocketFactory(), trustAllCerts[0] as X509TrustManager)
|
||||||
.hostnameVerifier(getHostnameVerifier()!!)
|
.hostnameVerifier(getHostnameVerifier()!!)
|
||||||
// if (BuildConfig.DEBUG) {
|
if (BuildConfig.DEBUG) {
|
||||||
// builder.addInterceptor(loggingInterceptor)
|
builder.addInterceptor(loggingInterceptor)
|
||||||
// }
|
}
|
||||||
builder.addInterceptor(loggingInterceptor)
|
// builder.addInterceptor(loggingInterceptor)
|
||||||
return builder.build()
|
return builder.build()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -157,25 +157,6 @@ subprojects {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
create("1111") {
|
|
||||||
isDefault = true
|
|
||||||
dimension = flavorDimensionList[0]
|
|
||||||
buildConfigField("boolean", "PREMIUM", "Boolean.parseBoolean(\"false\")")
|
|
||||||
buildConfigField("boolean", "is_back_cn", "false")
|
|
||||||
buildConfigField("boolean", "is_ym", "true")
|
|
||||||
buildConfigField("boolean", "is_tz", "false")
|
|
||||||
buildConfigField("boolean", "is_yunti", "false")
|
|
||||||
buildConfigField("String", "applicationId", "\"com.jsq.wufu\"")
|
|
||||||
buildConfigField("String", "service_url", "\"https://api.yijianlianjsq.com/\"")
|
|
||||||
buildConfigField("boolean", "is_free", "false")
|
|
||||||
buildConfigField("String", "productId", "\"1111\"")
|
|
||||||
manifestPlaceholders(
|
|
||||||
mapOf(
|
|
||||||
"APP_NAME" to "@string/wf",
|
|
||||||
"APP_ICON" to "@mipmap/oneclickconnection"
|
|
||||||
)
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
sourceSets {
|
sourceSets {
|
||||||
getByName("8888") {
|
getByName("8888") {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue