02 2024 档案

laravel model
摘要:$query = DB::table(self::$_table) ->when(!empty($params), function($query) use ($params){ foreach ($params as $column=>$val){ $query->where($column, $ 阅读全文

posted @ 2024-02-29 14:45 andydaopeng 阅读(19) 评论(0) 推荐(0)

php 生成小程序二维码
摘要:public function generate($code, $isShow) { // 构建二维码参数 $scene = 'C=' . $code.'&path=green'; $params = [ "scene" => $scene, 'page' => 'pages/login/regis 阅读全文

posted @ 2024-02-28 16:03 andydaopeng 阅读(123) 评论(0) 推荐(0)

facebook, twitter, linkedin等的分享功能
摘要:1. facebook分享 方法一:传入参数,此时标题获取的是页面title标签中的内容 <!DOCTYPE html> <html lang="en"> <head> <title>Document</title> </head> <body> <a href="https://www.faceb 阅读全文

posted @ 2024-02-27 18:33 andydaopeng 阅读(332) 评论(0) 推荐(0)

导航