get($this->prefix . $state); } /** * @notes 设置扫码登录状态 * @param $state * @return false|mixed * @author 段誉 * @date 2022/10/20 18:31 */ public function setScanLoginState($state) { $this->set($this->prefix . $state, $state, 600); return $this->getScanLoginState($state); } /** * @notes 删除缓存 * @param $token * @return bool * @author 段誉 * @date 2022/9/16 10:13 */ public function deleteLoginState($state) { return $this->delete($this->prefix . $state); } }