Loading [MathJax]/jax/element/mml/optable/BasicLatin.js

随笔分类 -  开发查询问题

1
摘要:js中 {field: 'admin.nickname', title: __('设计师名称')}, Model public function admin(){ return $this->belongsTo(Admin::class,"admin_id",[],'LEFT')->setEager 阅读全文
posted @ 2022-05-15 12:00 phpwyl 阅读(67) 评论(0) 推荐(0)
摘要:#server { # listen 80; # server_name laravel.com.co; # return 301 https://laravel.com.co$request_uri; #} server { listen 80; listen [::]:80; server_na 阅读全文
posted @ 2021-11-30 14:40 phpwyl 阅读(151) 评论(0) 推荐(0)
摘要:Mac有一个设计原则,就是用户不需要看到的或者用户不希望看到的,都不会显示出来。但如果你想要修改其中某些文件,也是可以的,先需要显示所有的文件,可以在终端中输入命令行来实现。显示系统隐藏的文件 defaults write com.apple.finder AppleShowAllFiles -bo 阅读全文
posted @ 2021-11-29 21:20 phpwyl 阅读(1340) 评论(0) 推荐(0)
摘要:解决方案: 这个和网络问题有关。需要查询 raw.githubusercontent.com 的ip 并添加到本地的 hosts 阅读全文
posted @ 2021-11-24 12:09 phpwyl 阅读(284) 评论(0) 推荐(0)
摘要::class="{selects:source==1}" 根据变量添加class :style="{paddingTop: top}" :style="{backgroundImage: 'url('+reply.record_content+')'}" 阅读全文
posted @ 2020-10-28 17:57 phpwyl 阅读(88) 评论(0) 推荐(0)
摘要:js try catch 获取错误行数 阅读全文
posted @ 2020-10-12 11:04 phpwyl 阅读(2171) 评论(0) 推荐(0)
摘要:/** * curl 封装函数 * @param string url 请求地址 * @param string data 请求数据 * @param string type 请求方式 默认为GET * @return string */ function jbtm_curl(url, $d 阅读全文
posted @ 2020-05-25 12:03 phpwyl 阅读(424) 评论(0) 推荐(0)
摘要:<?php libxml_disable_entity_loader(true); notify_values = json_decode(json_encode(simplexml_load_string(xmlReturn, 'SimpleXMLElement', LIBXML_NOCDAT 阅读全文
posted @ 2020-04-14 11:00 phpwyl 阅读(325) 评论(0) 推荐(0)
摘要:/** * php 提取html中图片并替换 */ //要替换的内容 //提取图片路径的src的正则表达式 $match_str = '/(<img([^>]*)\s*src=(\'|\")([^\'\"]+)(\'|\")|url.*https:.*=png)/'; preg_match_ 阅读全文
posted @ 2020-01-15 14:08 phpwyl 阅读(503) 评论(0) 推荐(0)
摘要:public function getStr($str=false){ $poems="从,善,如,登,从,恶,如,崩,已,知,花,意,未,见,其,花,,,已,见,其,花,,,未,闻,花,名,如,果,能,不,长,大,就,好,了,啊,可,是,时,光,在,身,后,挡,住,退,路,或,许,前,路,永,夜, 阅读全文
posted @ 2019-12-25 11:55 phpwyl 阅读(235) 评论(0) 推荐(0)
摘要:function getMonthAndDay(date1,date2){ datestart= date('Y-m-d',strtotime(date1)); if(strtotime(datestart)>strtotime(date2)){ tmp=date2; $date2= 阅读全文
posted @ 2019-12-24 17:58 phpwyl 阅读(993) 评论(0) 推荐(0)
摘要:此错误是由配置错误、版本不匹配或引导安装损坏引起的。如果已经安装了引导程序和反应引导程序,则可以通过以下方式进行更改: npm install --save bootstrap@^4.0.0-alpha.6 react-bootstrap@^0.32.1 (检查package.json是否包含“bo 阅读全文
posted @ 2019-05-06 14:53 phpwyl 阅读(2411) 评论(1) 推荐(0)
摘要:public function items() { return $this->belongsToMany('App\Model\Cz\CzCourse', 'cz_picture_course', 'picture_id', 'course_id'); } //获取分类 public function getList() { ... 阅读全文
posted @ 2019-04-16 11:54 phpwyl 阅读(3733) 评论(0) 推荐(0)
摘要:money_reg = '/^[1-9]\d*|^[1-9]\d*.\d+[1-9]/';if(!preg_match(money_reg, money)){ $this->ajaxError('金额格式错误');} 阅读全文
posted @ 2018-12-26 11:08 phpwyl 阅读(4290) 评论(0) 推荐(0)
摘要:敏感字,敏感字检测,php敏感字,php敏感字检测 阅读全文
posted @ 2018-12-05 11:52 phpwyl 阅读(700) 评论(0) 推荐(0)
摘要:<?php public function getid($dy_url){ header=get_headers(dy_url); str = "/^.*?(\d+).*/"; preg_match(str,header[6],arr); return $arr[1]; } 阅读全文
posted @ 2018-11-12 15:30 phpwyl 阅读(2315) 评论(1) 推荐(0)
摘要:注意 当请求https的数据时,会要求证书,这时候,加上下面这两个参数,规避ssl的证书检查 阅读全文
posted @ 2018-11-12 15:28 phpwyl 阅读(1679) 评论(0) 推荐(0)
摘要:调用is_mobile 如果返回1则是手机端 如果返回0则是电脑端 阅读全文
posted @ 2018-06-07 16:42 phpwyl 阅读(1538) 评论(1) 推荐(1)
摘要:、、、、55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555 阅读全文
posted @ 2018-06-05 17:41 phpwyl 阅读(2264) 评论(0) 推荐(0)
摘要:php发送邮件 -------------------------------------------------------------------------------- "; link = fsockopen(smtp,25);//socket链接 if($link){ set_... 阅读全文
posted @ 2018-04-28 13:46 phpwyl 阅读(182) 评论(0) 推荐(0)

1
点击右上角即可分享
微信分享提示