Compare commits
2 Commits
98c94ec2d3
...
e4ea98f6e6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4ea98f6e6 | ||
|
|
042fe6307e |
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,3 +19,4 @@ local.properties
|
||||
/app/uat/release/*
|
||||
/app/uat
|
||||
/.idea
|
||||
/app/prod/release
|
||||
|
||||
@ -288,7 +288,7 @@ public class NetworkModule {
|
||||
}
|
||||
|
||||
// String baseUrl = tmsAddress.trim() + "/api/v1/"; //for on prim
|
||||
String baseUrl = tmsAddress.trim() + "/"; //for uat
|
||||
String baseUrl = tmsAddress.trim() + "/"; //for uat and prod
|
||||
|
||||
final Gson gson =
|
||||
new GsonBuilder().create();
|
||||
|
||||
@ -120,7 +120,7 @@ public class Repository {
|
||||
}
|
||||
public Observable<EReceiptResponse> sendReceipt(Object body){
|
||||
String apiSecret = BuildConfig.ERECEIPT_SECRET;
|
||||
LogUtil.d("kmk", "receipt secret =>" + apiSecret);
|
||||
// LogUtil.d("kmk", "receipt secret =>" + apiSecret);
|
||||
String timestamp = String.valueOf(System.currentTimeMillis());
|
||||
String bodyString = new Gson().toJson(body);
|
||||
String dataToHash = bodyString + apiSecret + timestamp;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user