jimu-decompiled/sources/com/ubt/jimu/transport/request/BaseParam.java
2025-05-13 19:24:51 +02:00

61 lines
1.6 KiB
Java

package com.ubt.jimu.transport.request;
import com.ubt.jimu.JimuApplication;
import com.ubt.jimu.base.http.ApiConstants;
import com.ubt.jimu.utils.EncryptUtils;
/* loaded from: classes2.dex */
public abstract class BaseParam {
static final String ENCODE_KEY = "UBTech832%1293*6";
private String appSource;
private String appType;
private String requestKey;
private String requestTime;
private String serviceVersion;
private String systemArea;
private String systemLanguage;
public BaseParam() {
long currentTimeMillis = System.currentTimeMillis();
this.appSource = "Jimu";
this.appType = "2";
this.systemArea = JimuApplication.l().c();
this.systemLanguage = JimuApplication.l().g();
this.serviceVersion = ApiConstants.getAppVersion();
this.requestTime = String.valueOf(currentTimeMillis);
this.requestKey = EncryptUtils.a(this.requestTime + "UBTech832%1293*6", 32);
}
public static String getEncodeKey() {
return "UBTech832%1293*6";
}
public String getAppSource() {
return this.appSource;
}
public String getAppType() {
return this.appType;
}
public String getRequestKey() {
return this.requestKey;
}
public String getRequestTime() {
return this.requestTime;
}
public String getServiceVersion() {
return this.serviceVersion;
}
public String getSystemArea() {
return this.systemArea;
}
public String getSystemLanguage() {
return this.systemLanguage;
}
}