10 篇
建站知识总结与分享
搜索“require”
thinkphp5 validate根据另一个参数的值判断是否必填require
web 1 0
895 0 2024-01-18 ThinkPHP5.1
thinkphp5 validate根据另一个参数的值判断是否必填require 验证某个字段的值等于某个值的时候必须,例如: // 当account的值等于1的时候 password必须 'password'=>'requireIf:account,1' 还有一种情况是layui开关的形式 ...
Error in render: "Error: for nested data item, row-key is required." found in
web 0 0
1771 0 2023-06-25 Vue
Error in render: "Error: for nested data item, row-key is required."  found in 问题: vue elementUI 开发树形可折叠表格时报错:Error: for nested data item, row-key is required. ...
阿里云短信服务安装错误composer require alibabacloud/dysmsapi-20170525 2.0.23
web 0 0
1893 0 2023-04-24 其他
Your requirements could not be resolved to an installable set of packages. Installation failed, deleting ./composer.json. 开始还考虑删除composer.lock等文件,或网上的解决办法 htt...
vue项目,1:1 error The template requires child element vue/valid-template-root
taotaoit 1 0
2546 0 2022-11-25 Vue
vue项目,1:1  error  The template requires child element  vue/valid-template-root vue必须要有一个根节点,在<template></template>里面添加一对<div>标签就好了!!...
tp5.1 Warning: require(E:\phpstudy_pro\WWW\shangpinhui.cc\public/../thinkphp/base.php): failed to open stream: No such file or directory in
web 0 0
1522 0 2022-11-23 ThinkPHP5.1
从git仓库下载的thinkphp5.1的项目,运行报错: tp5.1 Warning: require(E:\phpstudy_pro\WWW\shangpinhui.cc\public/../thinkphp/base.php): failed to open stream: No such file or director...
Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4
web 0 0
1911 0 2022-03-14 jQuery
Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4 Bootstrap.js需要jQuery 1.9.1 版本或更高的版本(但是要低于版本4)。 我用得版本是v3.4.1,...
composer require onephp/wechat-php-sdk找不到资源包
taotaoit 0 0
1473 0 2022-02-16 其他
composer require onephp/wechat-php-sdk找不到资源包Could not find a version of package 可以去composer资源库中重新搜索资源 https://packagist.org/search/?query=wechat-php-sdk 搜...
composer命令 require和区别create-project
taotaoit 0 0
1807 0 2022-02-16 其他
composer命令 require和区别create-project 来源地址:https://www.cnblogs.com/liucysun/p/14536635.html 3、require 安装新的依赖包 require 命令一般用来安装新的依赖包,并将依赖写入当前目录的 composer.json 文件中。 ...
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". You are running 7.3.29
web 0 2
4936 0 2021-12-02 其他
问题: Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". You are running 7.3.29-1+ubuntu20.04.1+de...
解决宝塔Warning: require(): open_basedir restriction in effect
web 0 0
2322 0 2020-12-14 宝塔
处理完之后,一定要重启php服务 thinkphp部署在宝塔上,提示 Warning: require(): open_basedir restriction in effect 直接修改网站设置,网站目录里的防跨站攻击,取消打勾,重启网站就正常了。
关于本站

“最难不过坚持”

本人承接扒站仿站,php网站维护,病毒查杀,网站编辑,网站改版,html制作

有需要网站维护,改版,病毒查杀,网站编辑,网站备案,html制作等相关的工作可以联系我。
本人有多年相关工作经验,也可提供免费咨询,交个朋友。
有需要探讨问题的朋友,也可以加我微信,共同探讨!
微信:15011482830 QQ:408917339

8010146 2682 39
最新评论
https://jueru.net/
评 留言
:weixiao:
评 留言
:shuijiao: :weiqu: :zhenbang: :leng:
评 留言
:yiwen: :yiwen: :yiwen: :yiwen:
评 EasySass: could not generate CSS file. See Output panel for details.
这个业务逻辑多少都有点奇怪了,阅读浏览次数增值在新闻详情页的控制器方法里setInc,这怎么还写进模型事件里了。如果非要用onAfterRead也可以,把新闻文章的内容单独分出来一个news_content表,然后把它和news做关联,然后给news_content表的onAfterRead事件做增值处理,这样点进新闻页内查询到文章内容时才会触发它。
评 TP6模型事件-查询后onAfterRead不好用
文章标签更多
ThinkPHP (260)
Mysql (59)
DedeCms (33)
jQuery (74)
证件照 (1)
setInc (4)
setDec (4)
onclick (5)