09 2017 档案
摘要:自定义 public function index(Request $request) { $list = DB::table('auth_group')->where('status','!=','-1')->get()->toArray(); //dd($list); $perPage = 3;
阅读全文
摘要:laravel5.5 1、laravel 查询数据库默认返回对象,如何改成 返回值为数组 答:在 App\Providers\EventServiceProvider 文件中 第一步: use Illuminate\Database\Events\StatementPrepared; 第二步: //
阅读全文
摘要:<script> $(document).ready(function(e) { var counter = 0; if (window.history && window.history.pushState) { $(window).on('popstate', function () { win
阅读全文
摘要:// 时间为当前是日期 $date = strtotime(date('Y-m-d',time())); //dd($date); //UNIX_TIMESTAMP('2006-11-04 12:23:00'); $where = "DATE_FORMAT(FROM_UNIXTIME(create_
阅读全文
摘要://json 强制转换为array $arr[$key]['checkpro'] = json_decode($val['checkpro'],JSON_FORCE_ARRAY); $arr[$key]['messpro'] = json_decode($val['messpro'],JSON_FO
阅读全文

浙公网安备 33010602011771号