03 2022 档案

摘要:niushop后台 设置 -缓存管理 数据缓存 : 在方法里面直接写 use think\facade\Cache; Cache::clear(); //清除缓存 数据表缓存 if (is_dir('runtime/schema')) { //清除缓存 rmdirs("schema"); } 在操作 阅读全文
posted @ 2022-03-31 17:44 79524795 阅读(55) 评论(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 阅读(193) 评论(0) 推荐(0) 编辑
摘要:niushop接口都会 继承一个父类 BaseApi去验证。把接口后面加上 ?app_type=pc 即可; 阅读全文
posted @ 2022-03-30 10:57 79524795 阅读(73) 评论(0) 推荐(0) 编辑
摘要:<div style='border-radius:15px;"> </div> 阅读全文
posted @ 2022-03-19 14:03 79524795 阅读(14) 评论(0) 推荐(0) 编辑
摘要:<div style="overflow:scroll"> </div> 阅读全文
posted @ 2022-03-19 10:17 79524795 阅读(47) 评论(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 阅读(45) 评论(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 阅读(293) 评论(0) 推荐(0) 编辑
摘要:use think\Facade\Db; use think\Db; 阅读全文
posted @ 2022-03-14 17:37 79524795 阅读(26) 评论(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 阅读(89) 评论(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 阅读(116) 评论(0) 推荐(0) 编辑
摘要:<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= 阅读全文
posted @ 2022-03-08 11:52 79524795 阅读(24) 评论(0) 推荐(0) 编辑
摘要:选择框 要写一个form表单 ,在里面写选择框 才有效果 阅读全文
posted @ 2022-03-02 15:39 79524795 阅读(37) 评论(0) 推荐(0) 编辑
摘要:链接:https://pan.baidu.com/s/1tARNG20wubsGbGGoWTl2BA?pwd=th68 提取码:th68 关闭版本更新提示: 首选项 -> 设置 -> 添加这条"update_check": false, 阅读全文
posted @ 2022-03-01 14:00 79524795 阅读(454) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示