| | |
| | | |
| | | public static String PLATFORM_MP_WX = "mp-weixin";//小程序平台 |
| | | public static String PLATFORM_WEBPAD = "web-pad";//PAD端 |
| | | public static String CODE_SUCCESS = "200";//接口成功返回码 |
| | | public static Integer CODE_SUCCESS = 200;//接口成功返回码 |
| | | public static String HEADER_USERTYPE = "userType";//userType在HEADER中的名字 |
| | | public static String HEADER_TOKEN = "token";//token |
| | | public static String DEFAULT_PID = "1";//默认省市区pid=1表示取全中国 |
| | | |
| | | /** |
| | | * 分类code |
| | | * 一級code(志说装修 zb_deco 产品 product_intro 资讯product_info 全屋案例 whole_case) |
| | | * 耳机級code(志说装修: 全屋设计 zb_deco_qwsj 厨房设计 zb_deco_cfsj 收纳设计 zb_deco_snsj 家的iD zb_deco_jdid) |
| | | */ |
| | | public interface CatalogCode{ |
| | | String ZHISHUO_ZHUANGXIU ="zb_deco"; |
| | | String CHANPING ="product_intro"; |
| | | String ZIXUN ="product_info"; |
| | | String QW_CASE ="whole_case"; |
| | | String QW_SHEJI ="zb_deco_qwsj"; |
| | | String CHUFANGSHEJI ="zb_deco_cfsj"; |
| | | String SHOUNASHEJI ="zb_deco_snsj"; |
| | | String JIADE_ID ="zb_deco_jdid"; |
| | | } |
| | | public interface IntegerUrl{ |
| | | 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_LIST_URL ="/behavior/getFavorite"; |
| | | String LIKE_LIST_URL ="/behavior/getLike"; |
| | | String AREA_LIST_URL ="/base/admin/bAreaRegion/getChildren"; |
| | | String BIND_CUSTOMER_FAVORITES_URL ="/behavior/api/bindCustomerFavorites"; |
| | | String CUSTOMER_FAVORITES_LIST_URL ="/behavior/api/customerFavorites"; |
| | | String BEHAVIOR_LIST_URL ="/behavior/api/customerBehaviors"; |
| | | } |
| | | public interface IntegerName{ |
| | | String USER_UPDATE_NAME ="用户信息同步"; |
| | | String USER_GET_TOKEN_NAME ="用户登陆"; |
| | | String USER_LOGOUT_NAME ="注销用户"; |
| | | String CATALOG_LIST_NAME ="获取分类和分类下的标签"; |
| | | String CATALOG_LIST_NAME ="根据一级code获取下级分类信息"; |
| | | String TAG_LIST_NAME ="根据分类code获取标签信息"; |
| | | String CONTENT_LIST_NAME ="获取内容列表分页"; |
| | | String CONTENT_INFO_NAME ="获取内容详情"; |
| | | String COLLECT_DO_NAME ="内容收藏"; |
| | |
| | | String COLLECT_LIST_NAME ="获取我的收藏列表分页"; |
| | | String LIKE_LIST_NAME ="获取我的喜欢列表分页"; |
| | | String AREA_LIST_NAME ="获取省市区集合"; |
| | | String BIND_CUSTOMER_FAVORITES_NAME ="绑定客户喜欢"; |
| | | String CUSTOMER_FAVORITES_LIST_NAME ="获取客户喜欢"; |
| | | String BEHAVIOR_LIST_NAME ="获取行为轨迹"; |
| | | } |
| | | } |