liukangdong
2024-09-29 b2d360d9113b6955287108ca9e90d76a1f3c1419
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
package com.doumee.biz.zbom.model.zhongtai;
 
public class ZTConstants {
 
    public static  String PLATFORM_MP_WX = "mp-weixin";//小程序平台
    public static  String PLATFORM_WEBPAD = "web-pad";//PAD端
    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
     * 一級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";
        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_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/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";
        String CUSTOMER_BINDING_USERS ="/customer/api/bind";
 
 
    }
    public interface IntegerName{
        String USER_UPDATE_NAME ="用户信息同步";
        String USER_GET_TOKEN_NAME  ="用户登陆";
        String USER_LOGOUT_NAME  ="注销用户";
        String CATALOG_LIST_NAME  ="根据一级code获取下级分类信息";
        String TAG_LIST_NAME  ="根据分类code获取标签信息";
        String CONTENT_LIST_NAME  ="获取内容列表分页";
        String CONTENT_INFO_NAME  ="获取内容详情";
        String COLLECT_DO_NAME  ="内容收藏";
        String VIEW_DO_NAME  ="内容浏览";
        String SHARE_DO_NAME  ="内容分享";
        String LIKE_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  ="获取行为轨迹";
 
        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 ="批量绑定喜欢给客户";
        String CUSTOMER_BINDING_USERS_NAME ="客户绑定导购";
    }
}