上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 49 下一页
摘要: 在vue项目根目录下创建vue.config.js文件,如果不是在网站根目录下,设置publicPath。 module.exports = { publicPath: './', assetsDir: 'static', outputDir: 'dist' } 阅读全文
posted @ 2021-11-19 10:30 样子2018 阅读(362) 评论(0) 推荐(0) 编辑
摘要: npm install vue-router --save npm install vue-resource --save npm install vuex --save 一、代码 import Vue from 'vue' import App from './App.vue' import Vu 阅读全文
posted @ 2021-11-13 11:20 样子2018 阅读(33) 评论(0) 推荐(0) 编辑
摘要: /** * 判断是否是手机 * @return bool */ function is_mobile() { $agent = strtolower($_SERVER['HTTP_USER_AGENT']); $is_pc = (strpos($agent, 'windows nt')) ? tru 阅读全文
posted @ 2021-11-11 10:30 样子2018 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 一、效果图 阅读全文
posted @ 2021-09-27 10:55 样子2018 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 一、代码 public function export($month) { $year = date("Y", time()); //要导出的数据 $data =array(); $day_number = date("t", strtotime($year."-".$month)); vendor 阅读全文
posted @ 2021-09-27 09:32 样子2018 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 一、接口安全 所谓接口安全,就是你请求数据地址不能随便访问,可以做Token验证。 参考:https://www.cnblogs.com/yang-2018/p/14889519.html 二、数据安全 所谓数据安全,就是不能被别人抓包直接看到透明数据,可以在后端对数据加密,然后在小程序把数据解密出 阅读全文
posted @ 2021-09-14 09:21 样子2018 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 一、简单代码 $fileImage = 'https://域名/202109/11/134923278422.png'; $imgPathInfo =pathinfo($fileImage); $basename = $imgPathInfo['filename'].'png'; $filename 阅读全文
posted @ 2021-09-13 09:11 样子2018 阅读(583) 评论(0) 推荐(0) 编辑
摘要: 开发文档:https://open.work.weixin.qq.com/api/doc/90000/90135/90664 一、效果图 二、开发流程 1、创建应用 2、配置应用 三、简单代码 1、授权登录 2、回调 helper.php /** * GET 请求 * @param string $ 阅读全文
posted @ 2021-09-07 11:22 样子2018 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 一、效果图 二、代码 <div class="col-lg-12"> <div class="card"> <div class="card-header"> <h4>TreeGrid使用</h4> </div> <div class="card-body"> <div id="toolbar2" 阅读全文
posted @ 2021-08-12 14:23 样子2018 阅读(806) 评论(0) 推荐(0) 编辑
摘要: 一、代码 package utils; import java.util.ArrayList; import java.util.List; import entity.Auth; public class MenuUtil { private static List<Auth> tree = ne 阅读全文
posted @ 2021-08-12 08:44 样子2018 阅读(427) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 49 下一页