change thanks url

pull/21/head
fengyuecanzhu 3 years ago
parent 41078c2c46
commit ba4d40b5ce
  1. 2
      app/build.gradle
  2. 5
      app/src/main/java/xyz/fycz/myreader/common/URLCONST.java

@ -44,7 +44,7 @@ def getVersionName(){
def hun = (version / 100).toInteger()
def ten = (version / 10).toInteger() % 10
def one = version % 10
return hun + "." + ten + "." + one + "-beta"
return hun + "." + ten + "." + one
}
def versionN = getVersionName()

@ -23,12 +23,11 @@ public class URLCONST {
public static final String YOU_DAO_SEARCH = "http://m.youdao.com/dict?le=eng&q={key}";
public static final String FY_READER_URL = "https://fyreader." + getDefaultDomain();
public static final String USER_URL = "http://101.43.83.105:12123";
public static final String LOG_UPLOAD_URL = USER_URL + "/do/logUpload";
public static final String THANKS_URL = FY_READER_URL + "/thanks/";
public static final String THANKS_URL = USER_URL + "/thanks/";
public static final String AD_URL = USER_URL + "/do/ad";
public static final String DONATE = "https://gitee.com/fengyuecanzhu/Donate/raw/master";
@ -40,7 +39,7 @@ public class URLCONST {
public static final String QUOTATION = "https://v1.hitokoto.cn/?encode=json&charset=utf-8";
public static String getDefaultDomain() {
return SharedPreUtils.getInstance().getString("domain", "fycz.tk");
return SharedPreUtils.getInstance().getString("domain", "fycz.me");
}
}

Loading…
Cancel
Save