Compare commits
No commits in common. "e4ea98f6e6d7aec6063732d2df6df6fe040d3e0e" and "98c94ec2d305ff28ccff82448b41d86b91cea546" have entirely different histories.
e4ea98f6e6
...
98c94ec2d3
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,4 +19,3 @@ 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 and prod
|
||||
String baseUrl = tmsAddress.trim() + "/"; //for uat
|
||||
|
||||
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