Commit 37b340ad authored by hujun's avatar hujun

24

parent dacb3ac0
......@@ -52,7 +52,7 @@ class ClientService
if ($call_num) {
$this->redis->set(self::SAVE_CALL_NUM . $user_id, $call_num + 1);
} else {
$this->redis->set(self::SAVE_CALL_NUM . $user_id, 1, $this->day * 3600);
$this->redis->set(self::SAVE_CALL_NUM . $user_id, 1, $this->day * 3600 * 24);
}
}
......
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