file re-download fix
This commit is contained in:
parent
666325ed82
commit
691ccff49f
@ -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"
|
||||
}
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -385,8 +385,10 @@ public class NetworkModule {
|
||||
//
|
||||
// }
|
||||
|
||||
|
||||
//@Reusable
|
||||
//@KPayRefundRetrofit
|
||||
@Provides
|
||||
@Reusable
|
||||
@KPayRefundRetrofit
|
||||
public Retrofit provideKPayRefundRetrofit(@ApplicationContext Context context) {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user