| | |
| | | String visitAppiontment= "/api/visitor/v2/appointment";//访客预约v2 |
| | | String visitAppiontmentMDJ= "/api/visitor/v1/appointment/registration";//访客预约免登记v2 |
| | | String visitCancel= "/api/visitor/v1/appointment/cancel";//取消访客预约 |
| | | String visitOut= "/api/visitor/v1/visitor/out";//签离访客预约 |
| | | String facePicture= "/api/resource/v1/person/picture";//提取用户人脸照片 |
| | | String privilegeGroup= "/api/visitor/v1/privilege/group";//查询访客权限组 |
| | | String eventSub= "/api/eventService/v1/eventSubscriptionByEventTypes";//事件订阅 |
| | |
| | | this.key = key; |
| | | } |
| | | |
| | | // 普通方法 |
| | | public static String getName(int index) { |
| | | for (Constants.UserType c : Constants.UserType.values()) { |
| | | if (c.getKey() == index) { |
| | | return c.getName(); |
| | | } |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | |
| | | // get set 方法 |
| | |
| | | this.key = key; |
| | | } |
| | | |
| | | // 普通方法 |
| | | public static String getName(int index) { |
| | | for (Constants.UserType c : Constants.UserType.values()) { |
| | | if (c.getKey() == index) { |
| | | return c.getName(); |
| | | } |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | |
| | | // get set 方法 |