摘要: 安装querylist 插件 laravel 定时采集: https://zhuanlan.zhihu.com/p/109741054 composer require jaeger/querylist 采集1: //爬虫网站路由 Route::get('/querylist/list','quer 阅读全文
posted @ 2021-07-28 19:42 王越666 阅读(231) 评论(0) 推荐(0)
摘要: 任意二维数组转换成一维数组 1 array_reduce函数法 2 array_walk_recursive函数法 3 array_map函数法 假设有下面一个二维数组: $user = array( '0' => array('id' => 100, 'username' => 'a1'), '1 阅读全文
posted @ 2021-07-28 15:13 王越666 阅读(1038) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-07-27 09:32 王越666 阅读(29) 评论(0) 推荐(0)
摘要: Jquery Ajax type的4种类型 Ajax type这个里面填什么呢?通常大家都会说get和post。那么还有2个是什么呢 $.ajax({ url: 'http://www.cnblogs.com/youku/', type: '', data: {} }); (默认: "GET") 请 阅读全文
posted @ 2021-07-27 08:51 王越666 阅读(173) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> </head> <body> <link rel="stylesheet" type="text/css" href="css/Bootstrap4.css"/> 阅读全文
posted @ 2021-07-24 21:54 王越666 阅读(45) 评论(0) 推荐(0)
摘要: //////////////////////资源路由 //商品资源路由恢复Route::get('/restore/{id}','goodController@restore');//商品资源路由添加,删除 ,展示Route::resource('good','goodController'); / 阅读全文
posted @ 2021-07-24 21:43 王越666 阅读(134) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-07-24 21:11 王越666 阅读(26) 评论(0) 推荐(0)
摘要: 、、、、、、、、、、、、、、、、、删除接口 、、、、、、、、、、、、、、、、、、、、数据恢复接口 、、、、、、、、、、、、、、、模型 ...............................................控制器 。。。。。。。。。。。。。。。。。路由 阅读全文
posted @ 2021-07-24 11:48 王越666 阅读(91) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-07-24 11:06 王越666 阅读(31) 评论(0) 推荐(0)
摘要: <?php if ($data['status']==1){ ?> <input type="radio" name="status" value="1" checked>正常 <input type="radio" name="status" value="2">异常 <?php }else{ ? 阅读全文
posted @ 2021-07-22 16:55 王越666 阅读(27) 评论(0) 推荐(0)