明月 明月
3年前
记录微信分享方法
1.安装weixinjssdk(目前使用的是1.6.0)2.新建一个js文件,在main.js中引入3.封装方法wxShare.sharefunction(appId,timestamp,nonceStr,signature,options,callBack)console.log('9999',appId,timestamp
Easter79 Easter79
3年前
SpringBoot整合Nacos服务发现+配置中心
【建立一个新的模块,使用springbootnacos,搭建完启动服务发现报了两个问题:1.Noactiveprofileset,fallingbacktodefaultprofiles:default2.Processfinishedwithexitcode1查了许多文章,都反应是pom文件中maven依赖冲突或
Stella981 Stella981
3年前
Nginx报错:Sorry, the page you are looking for is currently unavailable. Please try again later.
查看了进程,nginx,phpfpm都在运行,排除程序错误,那么就是配置的问题了.一个可能的错误,是由于配置中的 fastcgi\_pass配置错了错误的配置如下 server{listen80;server_namelocalhost;
Stella981 Stella981
3年前
SpringBoot与SpringCloud的版本对应详细版
大版本对应:SpringBootSpringCloud1.2.xAngel版本1.3.xBrixton版本1.4.xstripesCamden版本1.5.xDalston版本、Edgware版本2.0.xFinchley版本2.1.xGreenwich.SR2在实际开发过程中,我们需要更详
Wesley13 Wesley13
3年前
C++ 位运算函数
\_\_builtin\_parity(n)该函数是判断n的二进制中1的个数的奇偶性intn15;//二进制为1111intm7;//二进制为111cout<<__builti
Stella981 Stella981
3年前
Sass
嵌套规则(NestedRules)Sass允许将一套CSS样式嵌套进另一套样式中,内层的样式将它外层的选择器作为父选择器mainp{color:00ff00;width:97%;.redbox{
Wesley13 Wesley13
3年前
unigui+fastreport 打印【4】
1、建立一个uniForm,用于建立FastReport打印界面。在Form上增加uniFrame。和传统的的报表打印设计一样一样的。2、在beofeShow事情中:procedureTUniFrm_Report.UniFormBeforeShow(Sender:TObject);varrptFileName,ur
Stella981 Stella981
3年前
Linux用户的基本操作3 (组的基本管理,用户提权)
\toc\组的基本原理组账户信息保存在/etc/group和/etc/gshadow两个文件中./etc/group组账户信息root@zls~head2/etc/grouproot:x:0:bin:x:1:bin,daemon///etc
Stella981 Stella981
3年前
OncePerRequestFilter的作用
在spring中,filter都默认继承OncePerRequestFilter,但为什么要这样呢?OncePerRequestFilter顾名思义,他能够确保在一次请求只通过一次filter,而不需要重复执行。publicfinalvoiddoFilter(ServletRequestrequest,ServletResponse
Stella981 Stella981
3年前
Discuz X3.1 论坛修改的方法
!(http://static.oschina.net/uploads/space/2016/0120/131055_Yzo0_1444646.png)!(http://static.oschina.net/uploads/space/2016/0120/131056_khNy_1444646.jpg)本人在实际操作中遇到的一些问题。自己