LisonRead 本次搜索耗时 0.122 秒,为您找到 322 个相关结果.
  • 使用ik+MySQL的搜索引擎进行查询,ik用于分

    105 2021-07-24 《Mysql》
    使用ik+MySQL的搜索引擎进行查询,ik用于分词,mysql利用match和against函数进行模糊查询,mysql FULLTEXT: $where['part_id'] = ['=', ':part_id']; $bind['part_id'] = [$this->part_id, \PDO::PARAM_STR]; ...
  • ThinkPHP5和ThinkPHP6的区别1.安

    105 2021-12-13 《Thinkphp》
    ThinkPHP5和ThinkPHP6的区别 1.安装方式 thinkphp6只能通过composer安装 composer config -g repo.packagist composer https://mirrors.aliyun.com/composer # 设置composer为阿里云镜像,解决国内使用composer慢的问题compos...
  • Thinkphp临时表 $Modelss=M()

    105 2018-08-16 《Thinkphp》
    Thinkphp临时表 $Modelss = M(); $sql_create = " CREATE TEMPORARY TABLE tmp_table2(id INTEGER NOT NULL,     customer_id INTEGER NOT NULL,     mobile INTEGER NOT NULL)"; $Modelss->e...
  • thinkphp的chunk的数据分批处理/块处理

    105 2024-06-27 《Thinkphp》
    thinkphp的chunk的数据分批处理/块处理/闭包/闭合函数批量处理 $processedCount = 0; $maxCount = 1000; // 假设我们只处理前1000条记录 $userDb = \think\facade\Db::name('admin_user'); $userDb->where...
  • php加密解密工具及开源方案GitHub--lis

    104 2022-08-27 《PHP》
    GitHub—- lihancong/tonyenc: 高性能、跨平台的 PHP7 代码加密扩展:https://github.com/lihancong/tonyenc 在作者源码基础上稍作修改使其支持了PHP7.4至PHP8.1;码云地址:https://gitee.com/lfveeker/tonyenc https://github.com...
  • PHP中的 抽象类(abstract class)

    103 2021-12-05 《PHP》
    PHP中的 抽象类(abstract class )和 接口(interface) // 接口 interface interaa // 抽象类 // abstract class interaa {     public function test (); //接口写法     // public functi...
  • Laravel UNION联合查询并分页: Uni

    103 2021-07-05 《Laravel》
    Laravel UNION联合查询并分页: Union:对两个结果集进行并集操作,不包括重复行,同时进行默认规则的排序; Union All:对两个结果集进行并集操作,包括重复行,不进行排序; $xk = DB::table('xiaokes')->select(['id','xk_name as name','xk_teacher_id as tid',...
  • PHP在命令行中实现输入字符,判断条件,输出结果/

    103 2024-04-29 《PHP》
    PHP在命令行中实现输入字符,判断条件,输出结果 // 判断数字字符 function isDigitCharacter($char) { // if (is_numeric($char)) { if (ctype_digit($char)) { return "yes"; } else { ...
  • 用fetch浏览器报CORS跨域请求解决前端部分f

    103 2023-04-29 《其它前端》
    用fetch浏览器报CORS跨域请求解决 前端部分 function getHistory() { // var caData = new FormData(); // caData.append('user_id', USER_ID); // console.log(99995,USER_ID) token = getCooki...
  • thinkphp助手函数think-Request-基于低代码框架

    103 2024-11-11 《Thinkphp》
    if (empty($dealUserArr)) { $requestParam = \think\Request::instance()->param(false); $dealUserArrMap = []; if (!empty($requestParam['maps']['filter'][0]['value']...