Fork me on GitHub
摘要: 项目介绍 一款简单快速构建后台管理系统前后端的框架,基于 Spring Boot、 Spring Boot Jpa、 Spring Security、JWT、Redis、Elasticsearch、Vue.js、Element-UI等目前主流技术栈。 项目源码 前端源码 后端源码 Github Ra 阅读全文
posted @ 2021-02-24 14:46 Lancel0t 阅读(2678) 评论(6) 推荐(6) 编辑
摘要: 摘要 考虑我们为什么要选择.NET Core? 因为它面向的是高性能服务器开发,抛却了 AspNet 的臃肿组件,非常轻量,加上微软的跨平台战略,对 Docker 的亲和性,对于开发人员也非常友好,所以整体环境来说是健康发展的,未来技术决策时 .Net Core 也有很大的优势。那既然.NET Co 阅读全文
posted @ 2018-03-15 11:35 Lancel0t 阅读(1703) 评论(2) 推荐(13) 编辑
摘要: 前言 HI,有段时间没有更新了,主要因为第一年前事情比较多,有些事得忙着张罗下;第二呢,对个人网站进行了一次大范围的优化,主要是申请的云服务器资源有限,1m的网络带宽,带上图片展示的话,打开网站的平均速度会达到20s以上,用户的体验不是很好;经过这次优化,已将访问速度控制在1s左右,整体感觉速度和用 阅读全文
posted @ 2018-01-29 16:59 Lancel0t 阅读(2262) 评论(2) 推荐(4) 编辑
摘要: 前言 经过前面几章,我们的网站已经最基本的功能,接下来就是继续拓展其他的功能,这期一起来实现一个该网站流量分析的工具,统计出这个网站每天用户相关数据,不仅要满足了我们对流量统计数字的基本要求,并且用更简单的图形显示方式,让我们一目了然地获取页面热度、点击率信息等等。有了这个想法以后,那怎么实现呢,跟 阅读全文
posted @ 2018-01-10 15:35 Lancel0t 阅读(3231) 评论(8) 推荐(18) 编辑
摘要: 上章节我们已经定制好动态配置的菜单,用户登录网站的第一步就是进入首页内容,那我们先搭建一下我们的首页内容。想着自己的网站内容主要是个人博客类型,所以,首页就展示博主本人的一些基本信息吧,哈哈。当然,做成静态的界面很简单,直接将信息填进html中就行了,基本没有什么技术含量,那我们这里要做成可配置的: 阅读全文
posted @ 2018-01-04 17:35 Lancel0t 阅读(3763) 评论(5) 推荐(7) 编辑
摘要: 上一章,我们实现了用户的注册和登录,登录之后展示的是我们的主页,页面的左侧是多级的导航菜单,定位并展示用户需要访问的不同页面。目前导航菜单是写死的,考虑以后菜单管理的便捷性,我们这节实现下可视化配置菜单的功能,这样以后我们可以动态的配置导航菜单,不用再编译发布网站程序了。 增加后台管理模块 第1步, 阅读全文
posted @ 2017-12-28 16:40 Lancel0t 阅读(5971) 评论(15) 推荐(16) 编辑
摘要: 俗话说,磨刀不费砍柴工。为了更方便的进行项目管理,我们先将个人网站项目配置一下,满足以下2个目标: VS2017中支持Git存储库,绑定Github项目,实现本地VS程序与线上Github一键代码提交和同步; 搭建服务器FTP站点,VS2017中配置一键部署网站文件到服务器; 有了以上的配置,我们可 阅读全文
posted @ 2017-12-07 16:47 Lancel0t 阅读(5828) 评论(9) 推荐(14) 编辑
摘要: ASP.NET Core2.0发布有一阵子了,这是.NET 开源跨平台的一个重大里程碑, 也意味着比1.0版本要更加成熟。目前.net core具有开源、跨平台、灵活部署、模块化架构等等特性,吸引着一大批开发者。笔者也开始加入拥抱.net core大军,那就搭建一个个人网站吧! 首先申明的是,这应该 阅读全文
posted @ 2017-12-01 17:46 Lancel0t 阅读(14814) 评论(11) 推荐(17) 编辑
摘要: [TOC] 前言 开发环境 部署环境:阿里云ECS服务器 操作系统:CentOS 7.7 64位 IDEA 版本:2019.3.1 docker 版本:1.13.1 docker compose版本:1.25.0 spring cloud 版本:Hoxton.SR1 spring boot 版本:2 阅读全文
posted @ 2020-01-20 11:31 Lancel0t 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 简介 OpenAPI Open API 即开放 API,也称开放平台。 所谓的开放 API(OpenAPI)是服务型网站常见的一种应用,网站的服务商将自己的网站服务封装成一系列 API(Application Programming Interface,应用编程接口)开放出去,供第三方开发者使用,这 阅读全文
posted @ 2020-01-16 17:06 Lancel0t 阅读(2959) 评论(0) 推荐(0) 编辑
摘要: 引言 先给大家介绍2个概念:数据的切分(Sharding)根据其切分规则的类型,可以分为两种切分模式。 切分模式 一种是按照不同的表(或者Schema)来切分到不同的数据库(主机)之上,这种切可以称之为数据的 垂直(纵向)切分 ;另外一种则是根据表中的数据的逻辑关系,将同一个表中的数据按照某种条件拆 阅读全文
posted @ 2018-06-15 16:34 Lancel0t 阅读(3091) 评论(0) 推荐(5) 编辑
摘要: 描述 Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not pos 阅读全文
posted @ 2018-04-17 17:30 Lancel0t 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 引言 最近笔者负责ERP财务系统跟中粮集团财务公司的财务系统做对接,鉴于ERP系统中应付结算单结算量比较大,而且管理相对集中,ERP系统与中粮财务公司的支付平台系统对接,实现银企直联,将网银录入的环节、付款以后ERP确认环节自动化,节省人工操作环节带来的误差。 这样公司财务人员在我们的系统中做对外的 阅读全文
posted @ 2018-04-12 16:57 Lancel0t 阅读(1948) 评论(0) 推荐(0) 编辑
摘要: 描述 Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non zero elements. Note: 1.You m 阅读全文
posted @ 2018-04-09 10:09 Lancel0t 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 描述 Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for another array, y 阅读全文
posted @ 2018-04-09 10:00 Lancel0t 阅读(202) 评论(0) 推荐(1) 编辑
摘要: 描述 Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array w 阅读全文
posted @ 2018-04-09 09:58 Lancel0t 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 描述 Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three intege 阅读全文
posted @ 2018-04-08 10:30 Lancel0t 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 描述 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum 阅读全文
posted @ 2018-04-08 10:16 Lancel0t 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 描述 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have 阅读全文
posted @ 2018-04-08 10:09 Lancel0t 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 描述 Given an unsorted array of integers, find the length of the longest consecutive elements sequence. Your algorithm should run in O(n) complexity. 示例 阅读全文
posted @ 2018-03-30 17:20 Lancel0t 阅读(354) 评论(0) 推荐(1) 编辑
摘要: 描述 Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? 示例 <! more 算法分析 难度 :中 分析 :条件参考Remove Duplicates算法,只不过之前元素只允许重复1次,现 阅读全文
posted @ 2018-03-30 17:17 Lancel0t 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 描述 Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space 阅读全文
posted @ 2018-03-30 17:06 Lancel0t 阅读(245) 评论(0) 推荐(0) 编辑