240 发简信
IP属地:广东
  • 2025-06-07 thinkphp where or查询

    自定义记录sql日志:在config/log.php中定义新的channel 在app\AppService.php的boot方法中加入:

  • tp6隐藏index.php

    在public目录下 nginx.htaccess 文件 或者phpstudy的伪静态中添加

  • mysql统计并更新到领一张表 多条

    a表的数据需要统计 fid对应多个uidb表的 num字段是 对应a表的统计个数单条记录:update b set num = (select...

  • 2023-07-19 mybatis一对多

    <resultMap id="myOrdersVO" type="com.dream.pojo.vo.MyOrdersVO"> <result ...

  • mysql学习笔记

    sql: SET FOREIGN_KEY_CHECKS=0; -- Table structure for course DROP TABLE ...

  • 初始化springboot

    pom.xml application.yml log4j.properties

  • mybatis笔记

    基础 初始 导入maven包 创建数据库连接属性 这里面的连接一开始是配置在mybatis-config.xml中的,url中的&在xml中写的...