Skip to content

Commit

Permalink
清空缓存
Browse files Browse the repository at this point in the history
  • Loading branch information
gbzhurui authored and twinh committed Feb 21, 2017
1 parent a39e1dc commit e27213a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/AppRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function isExists($name)
*/
public function getIdByDomain($domain)
{
$this->cache->clear();
wei()->cache->clear();
return $this->cache->get('appDomain' . $domain, 86400, function () use ($domain) {
$app = wei()->appRecord()->select('name')->fetch(['domain' => $domain]);

Expand Down

0 comments on commit e27213a

Please sign in to comment.