11 2019 档案
摘要:FIND_IN_SET(str,strList) str 要查询的字符串 strList 字段名,参数以“,”分隔,如(1,2,6,8) 查询字段(strList)中包含的结果,返回结果null或记录。 CREATE TABLE `tb_test` ( `id` int(8) NOT NULL au
阅读全文
摘要:第一步: a.App/模块/ 下创建command文件夹 b.我这边是创建在crontab模块里面,在command文件夹下创建一个Task.php文件(具体名字自己根据需求定) c.复制下面的代码到Task.php <?php namespace app\crontab\command; use
阅读全文