02 2021 档案
摘要:@ApiOperation("设备列表,此处不做分页,一个小区设备不会太多") @RequestMapping(value = "/devicePages") @ResponseBody public ApiResponse<List<Device>> userPages(@RequestParam
阅读全文
摘要:/** * 物业查看的用户列表 */ public function CustomerPageOfProperty() { // name: "" , page: 1 , phone: "" , size: 10 this->input_data['name']; $phone =
阅读全文
摘要:@Setter @Getter public class CustomerPagePojo { private Integer id; private String name; private String phone; private int auth; private String idcard
阅读全文
摘要:@Data @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) @Getter @Setter public class House implements Serializable { private static final
阅读全文
摘要:查看运行的项目 杀掉需要重启的项目 生成新的jar包,替换已有的jar包 (通过ftp,或者其他方式) 启动项目 nohup java -jar admin-controller.jar &
阅读全文
摘要:@Override public void logout() { httpSession.removeAttribute('xxx'); } 等同于php中的 header_remove('xxx');
阅读全文
摘要:// 初始化 wrapper = new QueryWrapper(); // 增加条件 wrapper.eq("building_id", building.getId()); wrapper.eq("role", 0); // 查出结果 List<UserCustomerVillage> res
阅读全文
摘要:{"userName":"admin","password":"121212"} 一定要加双引号
阅读全文
摘要:这个功能很实用。 本小区的人,自动进入。并可以记录下通行记录,以及老人进入情况。 还支持二维码进入,访客进入。 只要建好数据表,做好实名认证,做好数据记录就可以了。 <?php namespace Face\Func; /** * 响应类 * 局部使用 */ class Respond { priv
阅读全文
摘要:本质都是联网,然后发送指令。 提供接口地址和路径,机器定时调用。 然后发送反馈信息。 机器识别后,进行操作。 比如停车设备。 需要在设备中配置一下接口地址(ip+端口)。 <?php /** * 停车进出 */ namespace Car\Action; use Common\Util\RS485U
阅读全文
摘要:开启,并设置路由 <?php return array ( // 开启路由 'URL_ROUTER_ON' => true, 'URL_ROUTE_RULES'=>array( 'alf/serverConfig/time' => array('alf/serverConfig_time'), ),
阅读全文
摘要:{ "Response": { "barrier_control": { "action": "open" }, "trigger_data": { "action": "" }, "rs485_data": [{ "delay_time": 100, "data": "/gAAF5lz/QAPAQ
阅读全文