| | |
| | | public static Integer CODE_SUCCESS = 200;//接口成功返回码 |
| | | public static String HEADER_USERTYPE = "userType";//userType在HEADER中的名字 |
| | | public static String HEADER_TOKEN = "token";//token |
| | | public static String HEADER_SYSUSER_TOKEN = "z-access-token";//token |
| | | public static String DEFAULT_PID = "1";//默认省市区pid=1表示取全中国 |
| | | |
| | | public static final String CUSTOMER = "CUSTOMER"; |
| | | public static final String BUSINESS = "BUSINESS"; |
| | | |
| | | |
| | | /** |
| | | * 分类code |
| | |
| | | String CHUFANGSHEJI ="zb_deco_cfsj"; |
| | | String SHOUNASHEJI ="zb_deco_snsj"; |
| | | String JIADE_ID ="zb_deco_jdid"; |
| | | String CAROUSEL_AD ="carousel_ad"; |
| | | String VIDEO_REC ="video_rec"; |
| | | String REAL_CASE ="real_case"; |
| | | } |
| | | |
| | | public interface ActionType{ |
| | | String COLLECT ="collect"; |
| | | String COLLECT_CANCEL ="collect_cancel"; |
| | | String LIKE ="like"; |
| | | String LIKE_CANCEL ="like_cancel"; |
| | | String VIEW ="view"; |
| | | String SHARE ="share"; |
| | | String DOWNLOAD ="download"; |
| | | } |
| | | |
| | | public interface IntegerUrl{ |
| | | String USER_UPDATE_URL ="customer/api/sync"; |
| | | String USER_UPDATE_URL ="/customer/api/sync"; |
| | | String USER_GET_TOKEN_URL ="/customer/api/login"; |
| | | String USER_LOGOUT_URL ="/customer/api/disable"; |
| | | String CATALOG_LIST_URL ="/content/api/catalog"; |
| | | String TAG_LIST_URL ="/content/api/tag"; |
| | | String CONTENT_LIST_URL ="/content/api/page"; |
| | | String CONTENT_INFO_URL ="/content/api/detail/"; |
| | | String COLLECT_DO_URL ="/content/api/collect"; |
| | | // String COLLECT_DO_URL ="/content/api/collect"; |
| | | String COLLECT_DO_URL ="/content/api/addAction"; |
| | | String VIEW_DO_URL ="/content/api/view"; |
| | | String SHARE_DO_URL ="/content/api/share"; |
| | | String LIKE_DO_URL ="/content/api/like"; |
| | | String COLLECT_LIST_URL ="/behavior/getFavorite"; |
| | | String LIKE_LIST_URL ="/behavior/getLike"; |
| | | String AREA_LIST_URL ="/base/admin/bAreaRegion/getChildren"; |
| | | String AREA_TREE_URL ="/base/admin/bAreaRegion/getTree"; |
| | | String AREA_ALL_URL ="/base/admin/bAreaRegion/getNotTree"; |
| | | String BIND_CUSTOMER_FAVORITES_URL ="/behavior/api/bindCustomerFavorites"; |
| | | String CUSTOMER_FAVORITES_LIST_URL ="/behavior/api/customerFavorites"; |
| | | String BEHAVIOR_LIST_URL ="/behavior/api/customerBehaviors"; |
| | | String CUSTOMER_CAROUSEL_IMAGE_URL ="/content/api/carouselAdList"; |
| | | String CUSTOMER_CAROUSEL_IMAGE_DETAIL_URL ="/content/api/carouselAdDetail"; |
| | | String USER_MOBILE_FASTLOGIN_URL ="/sysUser/mobileFastLogin"; |
| | | String VIDEO_PAGE_LIST_URL ="/content/api/videoRecPageList"; |
| | | String ZBDECO_PAGE_LIST_URL ="/content/api/zbDecoPageList"; |
| | | String PRODUCT_NEWS_PAGE_LIST_URL ="/content/api/productInfoPageList"; |
| | | String PRODUCT_NEWS_INFO_URL ="/content/api/productInfoDetail"; |
| | | String PRODUCT_PAGE_LIST_URL ="/content/api/productPageList"; |
| | | String PRODUCT_INFO_URL ="/content/api/productDetail"; |
| | | String WHOLECASE_PAGE_LIST_URL ="/content/api/wholeCasePageList"; |
| | | String WHOLECASE_INFO_URL ="/content/api/wholeCaseDetail"; |
| | | String REALCASE_PAGE_LIST_URL ="/content/api/realCasePageList"; |
| | | String REALCASE_INFO_URL ="/content/api/realCaseDetail"; |
| | | String FAVORITES_PAGE_URL ="/behavior/api/favoritesPageList"; |
| | | String BATCH_ADD_LIKE_URL ="/content/api/batchAddLike"; |
| | | |
| | | |
| | | } |
| | | public interface IntegerName{ |
| | | String USER_UPDATE_NAME ="用户信息同步"; |
| | |
| | | String BIND_CUSTOMER_FAVORITES_NAME ="绑定客户喜欢"; |
| | | String CUSTOMER_FAVORITES_LIST_NAME ="获取客户喜欢"; |
| | | String BEHAVIOR_LIST_NAME ="获取行为轨迹"; |
| | | |
| | | String CUSTOMER_CAROUSEL_IMAGE_NAME ="C端轮播图列表"; |
| | | String CUSTOMER_CAROUSEL_IMAGE_DETAIL_NAME ="C端轮播图详情"; |
| | | |
| | | String AREA_TREE_NAME ="全量省市区树形数据"; |
| | | String AREA_ALL_NAME ="全量省市区评级数据"; |
| | | String USER_MOBILE_FASTLOGIN_NAME ="B端用户手机号快捷登录"; |
| | | |
| | | String VIDEO_PAGE_LIST_NAME ="获取视频列表"; |
| | | String ZBDECO_PAGE_LIST_NAME ="获取志说装修列表"; |
| | | String PRODUCT_NEWS_PAGE_LIST_NAME ="获取产品咨询列表"; |
| | | String PRODUCT_NEWS_INFO_NAME ="获取产品咨询详情"; |
| | | String PRODUCT_PAGE_LIST_NAME ="获取产品列表"; |
| | | String PRODUCT_INFO_NAME ="获取产品详情"; |
| | | String WHOLECASE_PAGE_LIST_NAME ="获取全屋案例列表"; |
| | | String WHOLECASE_INFO_NAME ="获取全屋案例详情"; |
| | | String REALCASE_PAGE_LIST_NAME ="获取实景案例列表"; |
| | | String REALCASE_INFO_NAME ="获取实景案例详情"; |
| | | |
| | | String FAVORITES_NAME ="获取我的喜欢/收藏列表"; |
| | | |
| | | String BATCH_ADD_LIKE_NAME ="批量绑定喜欢给客户"; |
| | | } |
| | | } |