上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
该文被密码保护。 阅读全文
posted @ 2020-12-26 12:01 CanyingV 阅读(2) 评论(0) 推荐(0)
摘要: $lists = Orders::with(['goods:order_id,name']) //外键order_id必须有 ->select(['id','order_no']) ->paginate(10) ->toArray(); 阅读全文
posted @ 2020-12-05 17:40 CanyingV 阅读(119) 评论(0) 推荐(0)
摘要: \DB::enableQueryLog(); \DB::table('fa_wx_article') ->select('id','c_id','title','visit','add_time') ->get(); return \DB::getQueryLog(); [ { "query": " 阅读全文
posted @ 2020-12-05 17:05 CanyingV 阅读(101) 评论(0) 推荐(0)
摘要: 创建并进入容器 docker run -it centos /bin/bash 创建并后台运行 docker run -d centos /bin/bash 查看运行中的容器 docker ps 查看所有容器 docker ps -a 在容器中退出容器 1. exit 停止并退出容器 2. ctrl 阅读全文
posted @ 2020-12-02 14:07 CanyingV 阅读(36) 评论(0) 推荐(0)
摘要: public function is_point_in_polygon($point, $pts) { $N = count($pts); $boundOrVertex = true; //如果点位于多边形的顶点或边上,也算做点在多边形内,直接返回true $intersectCount = 0;/ 阅读全文
posted @ 2020-11-21 17:35 CanyingV 阅读(907) 评论(0) 推荐(0)
摘要: if(! function_exists('bdEncrypt')) { //GCJ-02(火星,高德)坐标转换成BD-09(百度)坐标 //@param $longitude 高德经度 //@param $latitude 高德纬度 function bdEncrypt($longitude,$l 阅读全文
posted @ 2020-11-21 17:30 CanyingV 阅读(361) 评论(0) 推荐(0)
摘要: 1.模型代码提示 composer require barryvdh/laravel-ide-helper 2.debug工具 composer require barryvdh/laravel-debugbar 阅读全文
posted @ 2020-11-19 14:39 CanyingV 阅读(83) 评论(0) 推荐(0)
摘要: public function curlrequest($url,$data,$method = 'GET',$type='json',$headers=[]) { try{ //初始化 $ch = curl_init(); $headers[] = "cache-control: no-cache 阅读全文
posted @ 2020-10-24 16:01 CanyingV 阅读(73) 评论(0) 推荐(0)
摘要: <iframe src="http://i.tianqi.com/index.php?c=code&id=7" ></iframe> 阅读全文
posted @ 2020-10-11 16:10 CanyingV 阅读(54) 评论(0) 推荐(0)
摘要: $.ajax({ url:"{:url('user')}", data:{"group_id":data.value}, type:'post', dataType:'json', success:function (res) { console.log(res); for(var i=0;i<re 阅读全文
posted @ 2020-09-16 08:59 CanyingV 阅读(92) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页