上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 30 下一页
摘要: niushop后台 设置 -缓存管理 数据缓存 : 在方法里面直接写 use think\facade\Cache; Cache::clear(); //清除缓存 数据表缓存 if (is_dir('runtime/schema')) { //清除缓存 rmdirs("schema"); } 在操作 阅读全文
posted @ 2022-03-31 17:44 79524795 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 直接上代码 数组中: 值在前 。数组在后 if(in_array($sku_id,$attribute[0]['attr_value_list'])){ echo 'true'; } else{ echo 'false'; } 字符串中: 数组在前 值在后 if (strpos($attribute 阅读全文
posted @ 2022-03-30 19:52 79524795 阅读(189) 评论(0) 推荐(0) 编辑
摘要: niushop接口都会 继承一个父类 BaseApi去验证。把接口后面加上 ?app_type=pc 即可; 阅读全文
posted @ 2022-03-30 10:57 79524795 阅读(72) 评论(0) 推荐(0) 编辑
摘要: <div style='border-radius:15px;"> </div> 阅读全文
posted @ 2022-03-19 14:03 79524795 阅读(10) 评论(0) 推荐(0) 编辑
摘要: <div style="overflow:scroll"> </div> 阅读全文
posted @ 2022-03-19 10:17 79524795 阅读(41) 评论(0) 推荐(0) 编辑
摘要: $filearr = explode("upload2/",$filess[$f]); //把字符串 $filess[$f] 'public/upload/company/upload2/123123.png' 切割成两个.即成为了一个数组 .,切割成为了 $filearr[0] == 'publi 阅读全文
posted @ 2022-03-18 16:10 79524795 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 前端 <div class="layui-upload"> <button style="margin-left: 110px;" type="button" class="layui-btn layui-btn-normal" id="testList">选择文件</button> <div st 阅读全文
posted @ 2022-03-18 10:32 79524795 阅读(269) 评论(0) 推荐(0) 编辑
摘要: use think\Facade\Db; use think\Db; 阅读全文
posted @ 2022-03-14 17:37 79524795 阅读(20) 评论(0) 推荐(0) 编辑
摘要: style="border-radius:15px; position:fixed;z-index:9999;bottom:89%;right:68%;font-size: 17px;margin-top:50px;" 修改 bottom:89%;right:68%就是上下左右 阅读全文
posted @ 2022-03-14 14:55 79524795 阅读(78) 评论(0) 推荐(0) 编辑
摘要: Chart.js修改Y轴版 地址:https://kodo.79524795.vip/js/Chart.js Chart.js原版:地址:https://www.html5tricks.com/demo/chartjs/Chart.js 用原版的话,我这代码你没法用 传的数据 格式在最后。 <!DO 阅读全文
posted @ 2022-03-11 17:30 79524795 阅读(107) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 30 下一页