04 2021 档案

摘要:public static function str_insert($str, $i, $substr) { for($j=0; $j<$i; $j++){ $startstr .= $str[$j]; } for ($j=$i; $j<strlen($str); $j++){ $laststr . 阅读全文
posted @ 2021-04-26 14:37 你的男孩 阅读(2327) 评论(0) 推荐(0) 编辑
摘要:public function actionChangePicsName() { $dir = "D:/beautifulserver/app/extends/头像"; $files1 = scandir($dir); unset($files1[0]); unset($files1[1]); $f 阅读全文
posted @ 2021-04-26 10:50 你的男孩 阅读(83) 评论(0) 推荐(0) 编辑
摘要:DynamicLabelModel::find() ->select(['id','label']) ->where("FIND_IN_SET(:id,scence_id)",['id'=>$params['scence_id']]) ->asArray() ->all(); 使用 FIND_IN_ 阅读全文
posted @ 2021-04-20 19:17 你的男孩 阅读(373) 评论(0) 推荐(0) 编辑
摘要:1、扩展安装 composer require lustre/php-dfa-sensitive 2、推荐的敏感词库 https://codeload.github.com/jkiss/sensitive-words/zip/refs/heads/master 3、使用: 把下载好的词库放到项目本地 阅读全文
posted @ 2021-04-14 19:16 你的男孩 阅读(1155) 评论(0) 推荐(0) 编辑

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