file re-download fix
This commit is contained in:
parent
666325ed82
commit
691ccff49f
@ -14,8 +14,8 @@ android {
|
|||||||
applicationId "com.utsmm.kbz"
|
applicationId "com.utsmm.kbz"
|
||||||
minSdk 24
|
minSdk 24
|
||||||
targetSdk 33
|
targetSdk 33
|
||||||
versionCode 2
|
versionCode 3
|
||||||
versionName "1.01"
|
versionName "1.02"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -628,6 +628,7 @@ public class TMSSetupsImpl implements TMSSetups{
|
|||||||
}
|
}
|
||||||
// String url = tmsAddress+"/file/download?filePath="+data;
|
// String url = tmsAddress+"/file/download?filePath="+data;
|
||||||
String url = tmsAddress+"/api/v1/file/download?filePath="+data; //for local
|
String url = tmsAddress+"/api/v1/file/download?filePath="+data; //for local
|
||||||
|
|
||||||
DownloadUtil.downloadCertificateRx(url, "certificate_file", path -> {
|
DownloadUtil.downloadCertificateRx(url, "certificate_file", path -> {
|
||||||
if(path != null){
|
if(path != null){
|
||||||
SystemParamsOperation.getInstance().setCertFilePath(path);
|
SystemParamsOperation.getInstance().setCertFilePath(path);
|
||||||
|
|||||||
@ -385,8 +385,10 @@ public class NetworkModule {
|
|||||||
//
|
//
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
//@Reusable
|
||||||
|
//@KPayRefundRetrofit
|
||||||
@Provides
|
@Provides
|
||||||
@Reusable
|
|
||||||
@KPayRefundRetrofit
|
@KPayRefundRetrofit
|
||||||
public Retrofit provideKPayRefundRetrofit(@ApplicationContext Context context) {
|
public Retrofit provideKPayRefundRetrofit(@ApplicationContext Context context) {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user