package com.xjs.consts;

/**
 * api名称常量类
 *
 * @author xiejs
 * @create 2021-12-28
 */
public class ApiConst {

    //--------------------name_url------------------------------

    public static final String YOUDAO_FY = "有道翻译";

    public static final String BAIDU_FY = "百度翻译";

    public static final String ROLL_FY = "ROLL翻译";

    public static final String TIANXING_PYQ = "天行-朋友圈";

    public static final String TIANXING_WYY = "天行-网易云";

    public static final String TIANXING_JDTC = "天行-经典台词";

    public static final String TIANXING_MMMY = "天行-名人名言";

    public static final String TIANXING_TRAN_DICT = "天行-翻译字典";

    public static final String TIANXING_ONE_ENGLISH = "天行-英语一言";

    public static final String ROLL_A_WORD = "ROLL-每日一句";

    public static final String TIANXING_A_WORD = "天行-每日一句";

    public static final String TIANXING_TOPSEARCHALLNETWORK = "天行-全网热搜榜";

    public static final String TIANXING_TOPSEARCHWECHAT = "天行-微信热搜榜";

    public static final String TIANXING_TOPSEARCHBAIDU = "天行-百度热搜榜";

    public static final String TIANXING_TOPSEARCHWEIBO = "天行-微博热搜榜";

    public static final String TIANXING_TOPSEARCHDOUYIN = "天行-抖音热搜榜";

    public static final String ROLL_IP = "ROLL-IP信息";

    public static final String SPEED_TEST_IP = "测速网-IP信息";

    public static final String GAODE_WEATHER = "高德-天气预报";

    public static final String GAODE_AREA = "高德-区域编码";

    public static final String ROLL_HOLIDAYS = "ROLL-节假日";

    public static final String ROLL_MOBILE_BELONG = "ROLL-手机归属地";

    public static final String ROLL_NOW_WEATHER = "ROLL-实时天气";

    public static final String ROLL_FORECAST_WEATHER = "ROLL-预报天气";

    public static final String ROLL_GARBAGE_SORTING = "ROLL-垃圾分类";

    public static final String ROLL_BEAUTY_PICTURE = "ROLL-美女图片";

    public static final String ROLL_HISTORY_TODAY = "ROLL-历史今天";

    public static final String ROLL_SIMPLE_COMPLEX = "ROLL-简繁转换";

    public static final String ROLL_CHINESE_DICT = "ROLL-汉语字典";

    public static final String ROLL_IDCARD_QUERY = "ROLL-身份证查询";

    public static final String LQ_DOG_DIARY = "零七-舔狗日记";

    public static final String LQ_POISON_CHICKEN = "零七-毒鸡汤";

    public static final String LQ_A_WORD = "零七-一言";

    public static final String UOMG_EARTH_LOVE = "Uomg-土味情话";

    public static final String ALAPI_JOKE_ALL = "ALAPI-笑话大全";

    public static final String ROLL_JOKE = "ROLL-搞笑段子";

    public static final String BAIDU_ASSOCIATION = "百度联想";

    public static final String SOUGOU_ASSOCIATION = "搜狗联想";

    public static final String TIME= "网络时间";


    //-------------------url------------------------------

    public static final String BAIDU_FY_URL = "http://api.fanyi.baidu.com/api/trans/vip/translate";

    public static final String YOUDAO_FY_URL = "http://fanyi.youdao.com/translate";

    public static final String ROLL_FY_URL = "https://www.mxnzp.com/api/convert/translate";

    public static final String TIANXING_PYQ_URL = "http://api.tianapi.com/pyqwenan/index";

    public static final String TIANXING_WYY_URL = "http://api.tianapi.com/hotreview/index";

    public static final String TIANXING_JDTC_URL = "http://api.tianapi.com/dialogue/index";

    public static final String TIANXING_MMMY_URL = "http://api.tianapi.com/mingyan/index";

    public static final String TIANXING_TRAN_DICT_URL = "http://api.tianapi.com/enwords/index";

    public static final String TIANXING_ONE_ENGLISH_URL = "http://api.tianapi.com/ensentence/index";

    public static final String ROLL_A_WORD_URL = "https://www.mxnzp.com/api/daily_word/recommend";

    public static final String TIANXING_A_WORD_URL = "http://api.tianapi.com/everyday/index";

    public static final String TIANXING_TOPSEARCHALLNETWORK_URL = "http://api.tianapi.com/networkhot/index";

    public static final String TIANXING_TOPSEARCHWECHAT_URL = "http://api.tianapi.com/wxhottopic/index";

    public static final String TIANXING_TOPSEARCHBAIDU_URL = "http://api.tianapi.com/nethot/index";

    public static final String TIANXING_TOPSEARCHWEIBO_URL = "http://api.tianapi.com/weibohot/index";

    public static final String TIANXING_TOPSEARCHDOUYIN_URL = "http://api.tianapi.com/douyinhot/index";

    public static final String ROLL_IP_URL = "https://www.mxnzp.com/api/ip/aim_ip";

    public static final String SPEED_TEST_IP_URL = "https://api-v3-ipv6.speedtest.cn/ip";

    /**
     * 接口文档：https://lbs.amap.com/api/webservice/guide/api/weatherinfo
     */
    public static final String GAODE_WEATHER_URL = "https://restapi.amap.com/v3/weather/weatherInfo";

    /**
     * 接口文档：https://lbs.amap.com/api/webservice/guide/api/district
     */
    public static final String GAODE_AREA_URL = "https://restapi.amap.com/v3/config/district";

    /**
     * 接口文档：https://www.mxnzp.com/doc/detail?id=1
     */
    public static final String ROLL_HOLIDAYS_URL = "https://www.mxnzp.com/api/holiday/recent/list";

    /**
     * 接口文档：https://www.mxnzp.com/doc/detail?id=13
     */
    public static final String ROLL_MOBILE_BELONG_URL = "https://www.mxnzp.com/api/mobile_location/aim_mobile";

    /**
     * 接口文档：https://www.mxnzp.com/doc/detail?id=7
     */
    public static final String ROLL_WEATHER_URL = "https://www.mxnzp.com/api/weather";

    /**
     * 接口文档：https://www.mxnzp.com/doc/detail?id=14
     */
    public static final String ROLL_GARBAGE_SORTING_URL = "https://www.mxnzp.com/api/rubbish/type";

    /**
     * 接口文档：https://www.mxnzp.com/doc/detail?id=15
     */
    public static final String ROLL_BEAUTY_PICTURE_URL = "https://www.mxnzp.com/api/image/girl/list/random";

    /**
     * 接口文档：https://www.mxnzp.com/doc/detail?id=18
     */
    public static final String ROLL_HISTORY_TODAY_URL = "https://www.mxnzp.com/api/history/today";

    /**
     * 接口文档：https://www.mxnzp.com/doc/detail?id=20
     */
    public static final String ROLL_SIMPLE_COMPLEX_URL = "https://www.mxnzp.com/api/convert/zh";

    /**
     * 接口文档：https://www.mxnzp.com/doc/detail?id=22
     */
    public static final String ROLL_CHINESE_DICT_URL = "https://www.mxnzp.com/api/convert/dictionary";

    /**
     * 接口文档：https://www.mxnzp.com/doc/detail?id=28
     */
    public static final String ROLL_IDCARD_QUERY_URL = "https://www.mxnzp.com/api/idcard/search";

    /**
     * 接口文档：https://api.oick.cn/dog/
     */
    public static final String LQ_DOG_DIARY_URL = "https://api.oick.cn/dog/api.php";

    /**
     * 接口文档：https://api.oick.cn/dutang/
     */
    public static final String LQ_POISON_CHICKEN_URL = "https://api.oick.cn/dutang/api.php";

    /**
     * 接口文档：https://api.oick.cn/yiyan/
     */
    public static final String LQ_A_WORD_URL = "https://api.oick.cn/yiyan/api.php";

    /**
     * 接口文档：https://api.uomg.com/doc-rand.qinghua.html
     */
    public static final String UOMG_EARTH_LOVE_URL = "https://api.uomg.com/api/rand.qinghua";

    /**
     * 接口文档：https://www.alapi.cn/api/view/11
     */
    public static final String ALAPI_JOKE_ALL_URL = "http://v2.alapi.cn/api/joke/random";

    /**
     * 接口文档：https://www.mxnzp.com/doc/detail?id=5
     */
    public static final String ROLL_JOKE_URL = "https://www.mxnzp.com/api/jokes/list/random";

    /**
     * 百度智能联想语义API地址
     */
    public static final String BAIDU_ASSOCIATION_URL= "http://suggestion.baidu.com/su";

    /**
     * 搜狗智能联想语义API地址
     */
    public static final String SOUGOU__ASSOCIATION_URL= "http://w.sugg.sogou.com/sugg/ajaj_json.jsp";

    /**
     * 网络时间API地址
     */
    public static final String TIME_URL= "https://match.adsrvr.org/track/rid";


    //-----------------------api请求参数常量-----------------------------

    /**
     * 高德Extensions请求参数条件
     */
    public static final String GAODE_EXTENSIONS_ALL = "all";
    /**
     * 高德Extensions请求参数条件
     */
    public static final String GAODE_EXTENSIONS_BASE = "base";

    /**
     * 网络时间api请求参数
     */
    public static final String TTD_PID = "pubmatic";
    public static final String FMT = "json";


    //-----------------------api响应参数及名称-----------------------------------


    /**
     * roll平台返回值code成功参数
     */
    public static final Integer ROLL_CODE_SUCCESS = 1;
    /**
     * roll平台返回值code失败参数
     */
    public static final Integer ROLL_CODE_ERROR = 0;
    /**
     * speedtest平台返回值code成功参数
     */
    public static final Integer SPEED_TEST_CODE_SUCCESS = 0;


    /**
     * 高德返回值infocode
     */
    public static final String INFOCODE = "infocode";
    /**
     * 高德返回值infocode的值(成功值)
     */
    public static final String INFOCODE_VALUE = "10000";
    /**
     * 高德返回值lives名称(需要的天气参数) （实时天气数据）
     */
    public static final String LIVES = "lives";
    /**
     * 高德返回值forecasts名称（预报天气数据）
     */
    public static final String FORECASTS = "forecasts";


    //---------------------自定义相关请求响应常量----------------------------

    /**
     * 降级返回结果key
     */
    public static final String DEMOTE_ERROR = "error";


    //--------------------其他常量------------------------------

    public static final String LOCAL_IP = "127.0.0.1";


}
