file re-download fix

This commit is contained in:
MooN 2025-12-17 23:14:43 +06:30
parent 666325ed82
commit 691ccff49f
3 changed files with 6 additions and 3 deletions

View File

@ -14,8 +14,8 @@ android {
applicationId "com.utsmm.kbz"
minSdk 24
targetSdk 33
versionCode 2
versionName "1.01"
versionCode 3
versionName "1.02"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

View File

@ -628,6 +628,7 @@ public class TMSSetupsImpl implements TMSSetups{
}
// String url = tmsAddress+"/file/download?filePath="+data;
String url = tmsAddress+"/api/v1/file/download?filePath="+data; //for local
DownloadUtil.downloadCertificateRx(url, "certificate_file", path -> {
if(path != null){
SystemParamsOperation.getInstance().setCertFilePath(path);

View File

@ -385,8 +385,10 @@ public class NetworkModule {
//
// }
//@Reusable
//@KPayRefundRetrofit
@Provides
@Reusable
@KPayRefundRetrofit
public Retrofit provideKPayRefundRetrofit(@ApplicationContext Context context) {