摘要: 使用json_encode("栏目中(英)文名称已存在")时,遇到返回乱码: {"code":400,"msg":"\u680f\u76ee\u4e2d\uff08\u82f1\uff09\u6587\u540d\u79f0\u5df2\u5b58\u5728"}后来发现时引号的问题,于是修改为js 阅读全文
posted @ 2024-04-26 11:02 哆啦啊梦 阅读(1) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_44064067/article/details/107643460 翻译 搜索 复制 阅读全文
posted @ 2024-04-25 17:49 哆啦啊梦 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1、设置为autoload自动加载,则需要初始化 $config['upload_path'] = './uploads/'; $config['allowed_types'] = 'mp4|avi|mpeg|mov|flv|rmvb'; $config['max_size'] = 204800; 阅读全文
posted @ 2024-04-25 16:57 哆啦啊梦 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 设置datatable的bAutoWidth属性为false,可关闭自动宽度 "bAutoWidth":false 翻译 搜索 复制 阅读全文
posted @ 2024-04-12 17:49 哆啦啊梦 阅读(7) 评论(0) 推荐(0) 编辑
摘要: $('#p').panel({ height: 50, href: 'http://www.163.com', //添加href属性,可以显示loading...标识 }); 翻译 搜索 复制 阅读全文
posted @ 2024-04-09 15:59 哆啦啊梦 阅读(2) 评论(0) 推荐(0) 编辑
摘要: $.messager.show({ title: '我的消息', msg: '消息将在5秒后关闭。', timeout: 1000, showType: 'slide', style: {} //添加style属性,并不赋值,弹出窗显示在屏幕中央,不添加style属性,弹出窗默认显示在右下角 }); 阅读全文
posted @ 2024-04-09 15:33 哆啦啊梦 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 环境:使用Smarty-3.1.14 报错:The each() function is deprecated. This message will be suppressed on further calls 问题:因为php7.2之后,each()方法被废除,倒退php版本即可 翻译 搜索 复制 阅读全文
posted @ 2024-03-30 20:06 哆啦啊梦 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 同一连接多个数据库切换,db_select($database_name) $this->db->db_select('aaa'); $res = $this->db->get('z_attr')->result_array(); insert_batch() insert_batch($table 阅读全文
posted @ 2024-03-28 17:30 哆啦啊梦 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 测试一天,一直报错,居然是微信开发工具导致的 引用: https://developers.weixin.qq.com/community/develop/doc/00084cba1905e0b0c0399ca5c56000?_at=1575601407106&jumpto=reply&commen 阅读全文
posted @ 2024-03-15 10:33 哆啦啊梦 阅读(9) 评论(0) 推荐(0) 编辑
摘要: /* | | Cache Directory Path | | | Leave this BLANK unless you would like to set something other than the default | application/cache/ directory. Use a 阅读全文
posted @ 2024-03-01 15:46 哆啦啊梦 阅读(3) 评论(0) 推荐(0) 编辑