03 2022 档案
摘要:niushop后台 设置 -缓存管理 数据缓存 : 在方法里面直接写 use think\facade\Cache; Cache::clear(); //清除缓存 数据表缓存 if (is_dir('runtime/schema')) { //清除缓存 rmdirs("schema"); } 在操作
阅读全文
摘要:直接上代码 数组中: 值在前 。数组在后 if(in_array($sku_id,$attribute[0]['attr_value_list'])){ echo 'true'; } else{ echo 'false'; } 字符串中: 数组在前 值在后 if (strpos($attribute
阅读全文
摘要:niushop接口都会 继承一个父类 BaseApi去验证。把接口后面加上 ?app_type=pc 即可;
阅读全文
摘要:<div style='border-radius:15px;"> </div>
阅读全文
摘要:<div style="overflow:scroll"> </div>
阅读全文
摘要:$filearr = explode("upload2/",$filess[$f]); //把字符串 $filess[$f] 'public/upload/company/upload2/123123.png' 切割成两个.即成为了一个数组 .,切割成为了 $filearr[0] == 'publi
阅读全文
摘要:前端 <div class="layui-upload"> <button style="margin-left: 110px;" type="button" class="layui-btn layui-btn-normal" id="testList">选择文件</button> <div st
阅读全文
摘要:use think\Facade\Db; use think\Db;
阅读全文
摘要:style="border-radius:15px; position:fixed;z-index:9999;bottom:89%;right:68%;font-size: 17px;margin-top:50px;" 修改 bottom:89%;right:68%就是上下左右
阅读全文
摘要:Chart.js修改Y轴版 地址:https://kodo.79524795.vip/js/Chart.js Chart.js原版:地址:https://www.html5tricks.com/demo/chartjs/Chart.js 用原版的话,我这代码你没法用 传的数据 格式在最后。 <!DO
阅读全文
摘要:<div style="position:fixed;z-index:9999;bottom:20%;right:10%;font-size: 17px;margin-top:50px;"> <a href="/info.php" ><img src="/defaultimg.jpg" style=
阅读全文
摘要:选择框 要写一个form表单 ,在里面写选择框 才有效果
阅读全文
摘要:链接:https://pan.baidu.com/s/1tARNG20wubsGbGGoWTl2BA?pwd=th68 提取码:th68 关闭版本更新提示: 首选项 -> 设置 -> 添加这条"update_check": false,
阅读全文