Booty Calls v1.2.156版本的 MD5 值为:919c7e4dc831ea1adbaf506a3cc1a198
以下内容为反编译后的 StoreWebApiEndpoint.java 源代码,内容仅作参考
package com.dmm.games.api.store;
public class StoreWebApiEndpoint {
private static Endpoint endpoint = Endpoint.PRODUCTION;
public static synchronized void setEndpoint(Endpoint endpoint2) {
synchronized (StoreWebApiEndpoint.class) {
endpoint = endpoint2;
}
}
public static synchronized String getBaseUrl() {
String str;
synchronized (StoreWebApiEndpoint.class) {
str = endpoint.url;
}
return str;
}
public enum Endpoint {
PRODUCTION("https://api.store.games.dmm.com"),
STAGING("https://api.stg-store.games.dmm.com"),
DEVELOP("https://api.dev-store.games.dmm.com");
private final String url;
Endpoint(String str) {
this.url = str;
}
}
}