mac
2023-11-28 31d32567ce92d2a3bc77865a6a1cec2635c9dc46
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
129
130
131
132
133
134
135
136
137
138
139
package com.hdl.linkpm.sdk.core.api;
 
import com.hdl.linkpm.sdk.user.HDLLinkPMUser;
 
/**
 * Created by jlchen on 12/3/21.
 * B端 用户相关的API接口
 */
public class HDLCloudProjectApi {
    /***************项目管理***************/
    //获取指定公司员工列表 支持名称模糊查询
    public static final String POST_DEBUGGER_GET = "/basis-footstone/mgmt/user/manage/getUserByCompanyIdAndUserName";
    //新增项目
    public static final String POST_PROJECT_CREATE = "/smart-footstone/mgmt/community/project/create";
    //删除项目
    public static final String POST_PROJECT_DELETE_BY_ID = "/smart-footstone/mgmt/community/project/deleteById";
    //获取项目列表
    public static final String POST_PROJECT_GET_PAGE = "/smart-footstone/mgmt/community/project/page";
    //获取二次调试
    public static final String POST_REDEBUG_GET_PAGE = "/smart-footstone/mgmt/community/project/getDebugInfoList";
    //编辑项目
    public static final String POST_PROJECT_UPDATE = "/smart-footstone/mgmt/community/project/update";
//    //分配调试人员
//    public static final String POST_PROJECT_ARRANGE_DEBUG_USER = "/smart-footstone/mgmt/community/project/arrangeDebugUser";
    //根据项目调试状态获取项目统计数据
    public static final String POST_PROJECT_GET_SUMMARY_LIST = "/smart-footstone/mgmt/community/project/getSummaryList";
    //根据项目ID获取项目信息
    public static final String POST_PROJECT_GET_INFO = "/smart-footstone/mgmt/community/project/getInfo";
    //分配业务人员后 修改为跟进中状态
    public static final String POST_PROJECT_ARRANGE_BUSINESS_USER = "/smart-footstone/mgmt/community/project/arrangeBusinessUser";
    //交付项目 所有房屋处于已交付状态才通过 否则提示尚未有未交付的房屋
    public static final String POST_PROJECT_DELIVERY_ROJECT = "/smart-footstone/mgmt/community/project/deliveryProject";
    //撤回交付的项目 已交付的项目变为待交付 针对酒店和地产项目
    public static final String POST_PROJECT_WITHDRAW_DELIVERY_PROJECT = "/smart-footstone/mgmt/community/project/withdrawDeliveryProject";
 
 
    /***************房屋管理***************/
    //查询房屋信息列表,分页查询 :根据查询条件,返回查询结果的房屋详细信息列表
    public static final String POST_PROJECT_GET_HOUSE_PAGE = "/smart-footstone/mgmt/community/houseExtend/getHousePage";
    //添加分配调试人员 :给房屋添加调试人员,调试人员账号必须存在,更新调试人员调试这个接口就好,会进行覆盖
    public static final String POST_HOUSE_DEBUGGER_ADD = "/smart-footstone/mgmt/community/houseExtend/add";
    //批量添加调试人员 :多个房屋同时分配给一个调试人员
    public static final String POST_HOUSE_DEBUGGER_BATCHADD = "/smart-footstone/mgmt/community/houseExtend/batchAdd";
    //批量更新调试状态
    public static final String POST_HOUSE_BATCH_UPDATE_STATUS = "/smart-footstone/mgmt/community/houseExtend/batchUpdateStatus";
 
 
    /***************数据上传云端***************/
    /**
     * 更新oid 全量
     */
    public static final String POST_HOUSE_DEVICE_FULL_UPDATE = "/home-wisdom/program/device/oid/add";
    /**
     * 功能全量更新
     */
    public static final String POST_HOUSE_FUNCTION_FULL_UPDATE  = "/home-wisdom/program/device/add";
    /**
     * 房间Uid全量更新
     */
    public static final String POST_HOUSE_ROOM_FULL_UPDATE = "/home-wisdom/program/room/add";
    /**
     * 场景全量更新
     */
    public static final String POST_HOUSE_SCENE_FULL_UPDATE  = "/home-wisdom/program/scene/sync";
    /**
     * 自动化全量更新
     */
    public static final String POST_HOUSE_LOGIC_FULL_UPDATE = "/home-wisdom/program/logic/sync";
    /**
     * 安防全量更新
     */
    public static final String POST_HOUSE_SECURITY_FULL_UPDATE = "/home-wisdom/program/security/sync";
    /**
     * 更改住宅名称
     */
    public static final String POST_HOUSENAME_UPDATE = "/home-wisdom/program/home/updateName";
    /**
     * 添加推送Token
     */
    public static final String POST_JPUSH_BIND = "/smart-footstone/app/push-information/add";
    /**
     * 删除推送Token
     */
    public static final String POST_JPUSH_UNBIND = "/smart-footstone/app/push-information/delete";
 
    /***************网关驱动***************/
    /**
     * 获取驱动分页列表
     */
    public static final String POST_GET_DRIVERLIST = "/smart-footstone/driver/driverList";
 
    /**
     * 获取驱动版本分页列表
     */
    public static final String POST_GET_VERSIONLIST = "/smart-footstone/driver/versionList";
 
    /**
     * 红外设备类型列表
     */
    public static final String POST_GET_IR_DEVICETYPELIST = "/smart-footstone/app/ir/device-type/list";
 
    /**
     * 查询红外设备类型的品牌列表
     */
    public static final String POST_GET_IR_DEVICEBRANDLIST = "/smart-footstone/app/ir/brand/list";
 
    /**
     * 查询红外设备类型的品牌红外码库列表
     */
    public static final String POST_GET_IR_DEVICECODELIST = "/smart-footstone/app/ir/code/list";
 
    /**
     * 添加驱动下载次数
     */
    public static final String POST_ADD_DOWNLOADCOUNT= "/smart-footstone/driver/addDownloadCount";
 
    /**
     * 添加固件下载次数
     */
    public static final String POST_ADD_FIRMWARE_DOWNLOADCOUNT= "/smart-footstone/firmware/firmwareVersion/updateDownload";
 
    /**
     * 添加三方下载次数
     */
    public static final String POST_ADD_THIRD_DOWNLOADCOUNT= "/iot-cloud/mgmt/third/firmware/version/downOverlay";
 
 
 
 
 
    /**
     * 获取完整的请求地址
     * @param api
     * @return
     */
    public static String getRequestUrl(String api){
        return HDLLinkPMUser.getInstance().getUserRegionUrl() + api;
    }
}