diff --git a/app/build.gradle b/app/build.gradle index 6361f37..50ce4ec 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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() diff --git a/app/src/main/java/xyz/fycz/myreader/common/URLCONST.java b/app/src/main/java/xyz/fycz/myreader/common/URLCONST.java index 887f46b..5f44660 100644 --- a/app/src/main/java/xyz/fycz/myreader/common/URLCONST.java +++ b/app/src/main/java/xyz/fycz/myreader/common/URLCONST.java @@ -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"); } }