package com.rv.home.rv.module;

import com.frame.rv.config.RvFrameConfig;

/**
 * Created :Auser
 * Date: 2019/5/9.
 * Desc:接口地址
 */

public class ApiConfig {


    //    public static  String HTTP_URL= RvFrameConfig.BASE_URL;
////    public static  String TEST_JSON=HTTP_URL+"wxarticle/chapters/json";
//    public static String  HTTP_URL_SEND_CODE=HTTP_URL+"auth/jwt/sendsms";//发送验证码
//    public static String  HTTP_URL_USER_REGISTER=HTTP_URL+"auth/jwt/register";//注册
//    public static String  HTTP_URL_SHOP_LIST=HTTP_URL+"branchCompany/search";//门店列表
//    public static String HTTP_URL_PWD_LOGIN=HTTP_URL+"auth/jwt/token";//密码登录
    public static String HTTP_URL_SEND_CODE = RvFrameConfig.AUTH_POST + "jwt/sendsms";//发送验证码
    public static String HTTP_URL_USER_REGISTER = RvFrameConfig.AUTH_POST + "jwt/register";//注册
    public static String HTTP_URL_SHOP_LIST = RvFrameConfig.VEHICLE_POST + "branchCompany/search";//门店列表
    public static String HTTP_URL_PWD_LOGIN = RvFrameConfig.AUTH_POST + "jwt/login";//验证码、密码登录
    public static String HTTP_URL_CHECK_PHONE = RvFrameConfig.AUTH_POST + "jwt/checkBindWechat";//检查手机号是否绑定
    public static String HTTP_URL_OTHER_LOGIN = RvFrameConfig.AUTH_POST + "jwt/wxlogin";//第三方登录
    public static String HTTP_URL_PWD_RESET = RvFrameConfig.AUTH_POST + "jwt/reset";//重置密码
    public static String HTTP_URL_OTHER_LOGIN_BIND = RvFrameConfig.AUTH_POST + "jwt/wxregister";//第三方登录绑定
    public static String HTTP_URL_CAR_TYPE_LIST = RvFrameConfig.VEHICLE_POST + "vehicleInfo/rent/usable-vehicle";//租车类型列表
    public static String HTTP_URL_CAR_ATTRIBUTE_LIST = RvFrameConfig.VEHICLE_CAR_POST + "cata/app/unauth/all";//租车属性列表
    public static String HTTP_URL_FILE_UPLOAD = RvFrameConfig.VEHICLE_UPLOAD + "file/app/unauth/upload";//文件上传
    public static String HTTP_URL_FILE_UPLOADS = RvFrameConfig.VEHICLE_UPLOAD + "file/app/unauth/uploadFiles";//多张图片上传
    public static String HTTP_URL_EDIT_DRIVING = RvFrameConfig.VEHICLE_CAR_POST + "user/license/update";//新增、编辑驾驶证
    public static String HTTP_URL_DRIVING_LIST = RvFrameConfig.VEHICLE_CAR_POST + "user/license/all";//驾驶证列表
    public static String HTTP_URL_DELETE_DRIVING = RvFrameConfig.VEHICLE_CAR_POST + "user/license/del";//删除驾驶员
    public static String HTTP_URL_CONFIRM_ORDER = RvFrameConfig.VEHICLE_ORDER + "orderRentVehicle/add";//确认订单
    public static String HTTP_URL_GET_ORDER_PRICE = RvFrameConfig.VEHICLE_ORDER + "orderRentVehicle/calculate-price";//获得订单价格
    public static String HTTP_URL_WEIXIN_PAY = RvFrameConfig.VEHICLE_UPLOAD + "pay/app/wx";//微信支付
    public static String HTTP_URL_ORDER_LIST = RvFrameConfig.VEHICLE_ORDER + "baseOrder/page";//订单列表
    public static String HTTP_URL_PAY_THE_CALLBACK = RvFrameConfig.VEHICLE_ORDER + "baseOrder/pay";//订单支付
    public static String HTTP_URL_CAR_TYPE_DETAIL = RvFrameConfig.HOST + "/h5/appHtml/view/detail.html";//租车类型详情页
    public static String HTTP_URL_CAR_TYPE_ORDERDETAIL = RvFrameConfig.HOST + "/h5/appHtml/view/orderDetail.html";//订单详情页
    public static String HTTP_URL_VIP_ORDERDETAIL = RvFrameConfig.HOST + "/h5/appHtml/view/vipOrderDetail.html?no=%s";
    public static String HTTP_URL_BASEORDER_CANCEL = RvFrameConfig.VEHICLE_ORDER + "baseOrder/cancel/";//重置密码
    public static String HTTP_URL_CAR_TYPE_TRAVELORDERDETAIL = RvFrameConfig.HOST + "/h5/appHtml/view/travelOrderDetail.html";//旅游订单详情页
    public static String HTTP_URL_CAR_TYPE_COSTDETAIL = RvFrameConfig.HOST + "/h5/appHtml/view/costDetail.html";//费用明细
    public static String HTTP_URL_APP_USER_INFO = RvFrameConfig.ADMIN_POST + "app/user/info";//获取用户信息
    public static String HTTP_URL_CERTIFICATE = RvFrameConfig.VEHICLE_UPLOAD + "certif/app/certificate";//实名认证
    public static String HTTP_URL_UPUSER_EDIT = RvFrameConfig.ADMIN_POST + "app/user/edit";//更新用户信息
    public static String HTTP_URL_GETTOURUSERLIST = RvFrameConfig.VEHICLE_TOURUSER + "tourUser/app/unauth/getTourUserList";//获得全部出游人信息
    public static String HTTP_URL_DELETEDRIVER = RvFrameConfig.VEHICLE_TOURUSER + "tourUser/app/del"; // 删除出游人
    public static String HTTP_URL_ADDANDUPDATE = RvFrameConfig.VEHICLE_TOURUSER + "tourUser/app/addAndUpdate";//添加和更新出游人信息
    public static String HTTP_URL_CAR_TYPE_NOTICE = RvFrameConfig.HOST + "/h5/appHtml/view/notice.html";//预定须知

    public static String HTTP_URL_COLLECTONLIST = RvFrameConfig.ADMIN_POST + "app/user/collect/page";//我的收藏列表

    public static String HTTP_URL_SCORE = RvFrameConfig.HOST + "/vehicle/vehicleUserScore/score";//订单评价保存

    public static String QUERY_HOT_LIST = RvFrameConfig.HOST + "/api/tour/tourTag/app/unauth/getTagList";   //热门游 路线 get

    public static String QUERY_HOT_GOODLIST = RvFrameConfig.HOST + "/api/app/home/app/unauth/goodList";   //推荐商品

    public static String HTTP_URL_MEMBER_LIST = RvFrameConfig.ADMIN_POST + "/member/app/unauth/level/list";  // 会员等级列表

    public static String HTTP_URL_MEMBER_CREATE_ORDER = RvFrameConfig.HOST + "/api/order/orderMember/add"; // 创建订单

    public static String COMMIT_ORDER_PAY = RvFrameConfig.HOST + "/api/order/baseOrder/pay";     //订单支付

    public static String HTTP_URL_VERSION_CHECK = "/api/app/version/app/unauth/info?version=%s"; // 检测版本

    public static String HTTP_URL_FIND_BANNERLIST = RvFrameConfig.HOST + "/api/app/banner/app/unauth/findBannerlist"; // banner图接口

    public static String HTTP_URL_EFFECTIVE_TIME = RvFrameConfig.VEHICLE_ORDER + "/baseOrder/app/unauth/getOrderParam"; // 获取订单失效时间

    public static String HTTP_URR_USER_POINT = RvFrameConfig.HOST + "/api/activity/integralUserTotal/getByUser";


    public static String HTTP_URL_POINT_LIST = RvFrameConfig.HOST + "/api/activity/integralRule/list?page=1&limit=100";

    public static String HTTP_URL_POINT_SIGN_RULER = RvFrameConfig.HOST + "/api/activity/integralRule/one?code=%s";

    public static String HTTP_URL_SIGN = RvFrameConfig.HOST + "/api/activity/integralSignRecord/add";
    public static String HTTP_URL_SIGN_LIST = RvFrameConfig.HOST + "/api/activity/integralUserRecord/getListByCode";

    public static String HTTP_URL_GET_ACT = RvFrameConfig.HOST + "/api/activity/activityPopup/app/unauth/getActivityPopup";

    public static String HTTP_URL_POST_ACT = RvFrameConfig.HOST + "/api/activity/activityPopup/app/unauth/setActivityPopup/%d";

    public static String HTTP_URL_PERSON_SHARE_INFO = RvFrameConfig.HOST + "/api/admin/team/promote";

    public static String HTTP_URL_INCOME_RECORD = RvFrameConfig.HOST + "/api/admin/sellingwater/page";

    public static String HTTP_URL_INVITE_LIST = RvFrameConfig.HOST + "/api/admin/relation/pages";

    public static String HTTP_URL_CONSUME_LIST = RvFrameConfig.HOST + "/api/admin/walletDetail/page";

    /**
     * 用户收益
     */
    public static String HTTP_URL_USER_PROFIT = RvFrameConfig.HOST + "/api/admin/app/user/profit";

    public static String HTTP_URL_SELECTED_ACTIVITIES = RvFrameConfig.HOST + "/api/activity/homeActivities/app/unauth/activity/findAll"; // 精选活动

    /**
     * 取消订单的退款价格计算
     */
    public static String HTTP_URL_PRICE_CALCULATE = RvFrameConfig.HOST + "/api/order/orderRefund/price/calculate/";

    /**
     * 通用文本请求
     */
    public static String HTTP_URL_UNAUTH_TYPES = RvFrameConfig.HOST + "/api/app/cofig/app/unauth/types/";

    public static String HTTP_URL_RELATION_BIND = RvFrameConfig.HOST + "/api/admin/relation/bind";

    public static String HTTP_URL_WALLETCATH_LIST = RvFrameConfig.HOST + "/api/admin/walletcath/page";
}
