You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.8 KiB
46 lines
1.8 KiB
package xyz.fycz.myreader.common;
|
|
|
|
import xyz.fycz.myreader.util.SharedPreUtils;
|
|
|
|
public class URLCONST {
|
|
|
|
public static final String OFFICIAL_WEB = "https://reader." + getDefaultDomain() + "/";
|
|
|
|
public static String LAN_ZOU_URL = "https://fycz.lanzoum.com";
|
|
|
|
public static String APP_DIR_URL = LAN_ZOU_URL + "/b00ngso7e";
|
|
|
|
public static final String SUB_SOURCE_URL = LAN_ZOU_URL + "/b00pfkkgh";
|
|
|
|
//字体下载
|
|
public static final String FONT_DOWNLOAD_URL = "https://novel." + getDefaultDomain() + "/app/fonts/";
|
|
|
|
public static final String APP_WEB_URL = "https://fyreader." + getDefaultDomain() + "/";
|
|
|
|
public static final String BAI_DU_SEARCH = "https://m.baidu.com/s?word={key}";
|
|
|
|
public static final String GOOGLE_SEARCH = "https://www.google.com/search?q={key}";
|
|
|
|
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 = USER_URL + "/thanks/";
|
|
public static final String AD_URL = USER_URL + "/do/ad";
|
|
|
|
public static final String DONATE = "https://fyreader.coding.net/p/img/d/img/git/raw/master/Donate";
|
|
|
|
public static final String WX_ZSM = DONATE + "/wx_zsm.png";
|
|
public static final String ZFB_SKM = DONATE + "/zfb_skm.jpg";
|
|
public static final String QQ_SKM = DONATE + "/qq_skm.png";
|
|
|
|
public static final String QUOTATION = "https://v1.hitokoto.cn/?encode=json&charset=utf-8";
|
|
|
|
public static String getDefaultDomain() {
|
|
return SharedPreUtils.getInstance().getString("domain", "fycz.me");
|
|
}
|
|
|
|
}
|
|
|
|
|