2020年8月24日
摘要: function getParameter(el){ var obj={}; $(el).each(function(index,item){ // 判断元素的类型 if(item.type=="text" || item.type=="password" || item.type=="select 阅读全文
posted @ 2020-08-24 14:54 bandbandme 阅读(456) 评论(0) 推荐(0) 编辑
  2020年7月21日
摘要: 在excel中如何批量判断单元格是否含有指定字符 https://jingyan.baidu.com/article/a24b33cd2fe6e419ff002b6c.html 阅读全文
posted @ 2020-07-21 16:05 bandbandme 阅读(136) 评论(0) 推荐(0) 编辑
  2020年7月15日
摘要: PHP 设置正则 <?php namespace Main\Controller; use KIF\Cache\DisRedis; use KIF\Core\Request; /** * 涉及文件 * /export/manager/ybyl/main/config/route.inc.php * 阅读全文
posted @ 2020-07-15 19:10 bandbandme 阅读(309) 评论(0) 推荐(0) 编辑
  2020年7月13日
摘要: 来源: http://www.excelhome.net/lesson/animation/excel/1830.html 1、自动标出不及格分数假定需用红色字体显示60以下分数,蓝色字体显示60以上分数。按Ctrl+1,设置单元格格式→自定义,类型输入框中输入:[蓝色][>=60];[红色][<6 阅读全文
posted @ 2020-07-13 11:46 bandbandme 阅读(300) 评论(0) 推荐(0) 编辑
  2020年7月7日
摘要: 文章来源: https://www.jianshu.com/p/c39a2c72dc65?from=singlemessage 利用位置服务获取特定设备和用户之间的距离: 用户位置: 微信H5, 用微信api的方式获取用户当前所在位置, 获取到的是: WGS84 (地理坐标系统)方式的坐标 【目前基 阅读全文
posted @ 2020-07-07 19:06 bandbandme 阅读(3459) 评论(0) 推荐(0) 编辑
  2020年7月6日
摘要: // 增加内存, 不限执行时间ini_set("memory_limit", "1024M"); set_time_limit(0); 执行环境: php7 $fileds = [ 'id' => 'ID', 'wx_openid' => '微信openid', 'wx_name' => '微信昵称 阅读全文
posted @ 2020-07-06 17:06 bandbandme 阅读(2073) 评论(0) 推荐(0) 编辑
摘要: 查看索引mapping GET /ybyl_area_analysis/_mapping 删除索引 DELETE ybyl_award 新增映射 PUT /ybyl_award/_mapping { "properties": { "lbs_md5": { "type": "keyword" } } 阅读全文
posted @ 2020-07-06 17:01 bandbandme 阅读(335) 评论(0) 推荐(0) 编辑
  2020年5月24日
摘要: 命令别名 sudo vim ~/.bash_profile alias ll='ls -Alh' source ~/.bash_profile 阅读全文
posted @ 2020-05-24 10:01 bandbandme 阅读(301) 评论(0) 推荐(0) 编辑
  2020年5月13日
摘要: /** * 添加一个商品 * @param $data * @return array */ public function add_one($data) { $require = array('name', 'cid', 'sale_price', 'wholesale_price'); fore 阅读全文
posted @ 2020-05-13 17:21 bandbandme 阅读(123) 评论(0) 推荐(0) 编辑
  2020年5月8日
摘要: 'DB_DSN'=>'mysql:host=IP;port=3307;dbname=test;charset=utf8', $db = 10.15.208.206;port=3307 /*** 连接数据库*/public function connect($host, $user, $pass, $ 阅读全文
posted @ 2020-05-08 11:22 bandbandme 阅读(138) 评论(0) 推荐(0) 编辑