Commit e2506b54 by 王召彬

test

parent ec4d62ae
...@@ -85,7 +85,9 @@ class Smscode ...@@ -85,7 +85,9 @@ class Smscode
public function check(int $mobile, int $smscode) public function check(int $mobile, int $smscode)
{ {
$key = $this->getKey($mobile); $key = $this->getKey($mobile);
var_dump($key);
$val = cache()->get($key); $val = cache()->get($key);
var_dump($val);
if ($val) { if ($val) {
list($vcode,, ) = explode(',', $val); list($vcode,, ) = explode(',', $val);
if ($vcode == $smscode) { if ($vcode == $smscode) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment