python 在安装支付宝sdk前 ,需要安装加密模块 pycrypto 2.6.1 执行命令: pip install pycrypto 如果是Windows系统,到这里可能安装出错了,可能出现的错误如下: error: command ‘cl.exe’ failed: No such file ...
分类:
编程语言 时间:
2020-06-19 12:23:31
阅读次数:
130
出错场景:多次调用ES统计方法,第二次时会报错。 解决办法:在AggregationBuilders.cardinality("tempField").field("countFiled"),中的"tempField"用一个随机字符串代替。 查询后取结果的时候,再用随机字符串取出。 ...
分类:
编程语言 时间:
2020-06-18 19:52:46
阅读次数:
185
1.首先注册github账号,登录,创建新仓库 ,点击+,点击new repository 2.得到如下页面,填写仓库名,自己随便写一个名字,下面的描述可写可不写,点击Initialize this repository with a README,然后创建: 3.下载git shell,网上给了很 ...
分类:
Web程序 时间:
2020-06-18 19:25:47
阅读次数:
64
Description HostAgent fails to establish SSH Connection to RedHat EL7 hostThe error reported when the agent attempts to connect to the host matches th ...
分类:
系统相关 时间:
2020-06-18 19:16:06
阅读次数:
459
实例: 报错:Cannot read property 'itemGroupList' of undefined" 解决方法:在itemGroupList上一层判断一下父级元素 <div v-if="table2.itemCat"> <div v-for="(itemgrounp,indexgrou ...
分类:
其他好文 时间:
2020-06-18 16:36:41
阅读次数:
68
package com.puxinwangxiao.mts.util; import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Cl ...
分类:
其他好文 时间:
2020-06-18 13:20:13
阅读次数:
73
有来了个新项目,idea导入之后就报错Cannot resolve plugin org.springframework.boot:spring-boot-maven-plugin 原因是新项目的配置中使用的是默认的maven配置文件和默认本地仓库地址, 改成自定义之后的就可以了,参考下图 ...
分类:
编程语言 时间:
2020-06-18 11:16:12
阅读次数:
709
本文通过设置Access-Control-Allow-Origin来实现跨域。 例如:客户端的域名是client.runoob.com,而请求的域名是server.runoob.com。 如果直接使用ajax访问,会有以下错误: XMLHttpRequest cannot load http://s ...
分类:
Web程序 时间:
2020-06-17 20:13:57
阅读次数:
69
1.$set 用法:this.$set(Object, key, value)或 Vue.$set(Object, key, value) 原理:当data数据中存在某个属性时,我们对他进行更改,页面会更新;但是如果data数据中没有某个属性值,我们对其更改,页面不会显示此属性;那是因为再vue初始 ...
分类:
其他好文 时间:
2020-06-17 18:30:50
阅读次数:
54
How to auto-generate a C# class file from a JSON string [closed] Visual Studio 2012 (with ASP.NET and Web Tools 2012.2 RC installed) supports this nat ...