header('Content-type:text'); define("TOKEN", "weixin"); $wechatObj = new wechatCallbackapiTest(); if (isset($_GET['echostr'])) { $wechatObj->valid(); ... ...
分类:
其他好文 时间:
2017-12-01 20:40:50
阅读次数:
141
Validate if a given string is numeric. Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" => false"2e10" => true Note: It is intended for the ...
分类:
其他好文 时间:
2017-12-01 15:13:38
阅读次数:
224
iOS利用Application Loader打包提交到App Store时遇到错误:The filename 未命名.ipa in the package contains an invalid character(s). The valid characters are:A-Z,a-z,0-9, ...
分类:
移动开发 时间:
2017-11-30 00:40:17
阅读次数:
398
这是在使用maven打包方式启动springboot项目时出现的异常, 我的异常原因属于下面的情况: 此时maven指令行为:mvn spring-boot:run. 如果写成这样会导致最终的maven指令为:mvn mvn spring-boot:run. 所以需要注意修改为:spring-boo ...
分类:
其他好文 时间:
2017-11-29 19:54:41
阅读次数:
1656
链接 : "Here!" 思路 : 记录下所有 "?" , 出现的位置, 然后 $DFS$ 一下, 对于每个位置来说都可以填充 $9$ 种数值, 然后对于判断填充是否合法需要三个标记数组来辅助记录. $visR[i][num] = 1, 代表第 i 行num值已经出现过, visC[i][num] ...
分类:
其他好文 时间:
2017-11-29 19:49:41
阅读次数:
156
一、异常现象 用STS创建Spring boot 项目的时候,报出如下错误: 如下图: 二、原因 jar包下载的时候出错了,重新下载jar包即可解决问题 三、解决方法 删除对应目录(G:/Programme1/Maven/Repository/org/mockito/mockito-core/1.1 ...
分类:
其他好文 时间:
2017-11-28 19:45:08
阅读次数:
385
public function index(){ //判断是否为认证 if (isset($_GET['echostr'])) { //如果认证去验证 $this->valid(); }else{ //否则接收客户发送消息 $this->responseMsg();... ...
分类:
其他好文 时间:
2017-11-24 14:53:52
阅读次数:
207
Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), write a function to check whether these edges mak ...
分类:
其他好文 时间:
2017-11-23 19:50:44
阅读次数:
372
1. 题目: Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. For "(()", ...
分类:
其他好文 时间:
2017-11-20 19:09:40
阅读次数:
128
错误出现场景: hibernate+struts2整合时,hibernate+struts2+spring(SSH)框架整合时出现 解决方案:在我们使用hibernate框架与其他框架进行整合时,会遇到“不能在没有活动的事务中执行(org.hibernate.HibernateException: ...
分类:
数据库 时间:
2017-11-20 13:06:52
阅读次数:
163