摘要:
redis = new Redis(); empty($config) or $this->connect($config); } // 连接redis服务器 public function connect($config = array()) { if (!empty($config)) { $this-... 阅读全文
摘要:
var account = $('input[name="account"').val(); var re = /^[0-9]+.?[0-9]*$/; if (!re.test(account)) { $('#alert_bd').text('账号为数字!'); $('#my-alert').modal(); $('input[name="account"').val('')... 阅读全文