摘要: 插入数据时用参数进行判断,插入哪条数据(type也是传入参数) 阅读全文
posted @ 2017-06-23 11:49 灬花生酱 阅读(275) 评论(0) 推荐(0) 编辑
摘要: String[] birth = 生日.split("年"); Integer year = Calendar.getInstance().get(Calendar.YEAR);//得出年龄 Integer age = year-Integer.parseInt(birth[0]); 阅读全文
posted @ 2017-06-23 10:05 灬花生酱 阅读(166) 评论(0) 推荐(0) 编辑
摘要: //判断时间距今天还多少天 public String getBzTime(String bzrq) throws Exception{ Date myDate = new Date(); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); ... 阅读全文
posted @ 2017-06-23 10:01 灬花生酱 阅读(599) 评论(0) 推荐(0) 编辑
摘要: 根据2点间的经纬度判断距离 阅读全文
posted @ 2017-06-23 09:51 灬花生酱 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 插入模拟测试数据 address longitude latitude 1 115.966291 28.684432 115.959871 28.669313 115.930901 28.700844 120.251551 30.165675 115.906261 28.666856 115.873 阅读全文
posted @ 2017-06-23 09:45 灬花生酱 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 只需要填入购买的APPKEY,然后直接调用方法JuheDemo.info(user_name, anchor_card);传入姓名和身份证号,根据获取的返回参数进行拆分,如res=1说明正确。 //进行实名认证 String result=JuheDemo.info(user_name, ancho 阅读全文
posted @ 2017-06-23 09:23 灬花生酱 阅读(3325) 评论(0) 推荐(1) 编辑