Skip to content

Commit

Permalink
传transtoken可直接返回数据,无须指定cache
Browse files Browse the repository at this point in the history
  • Loading branch information
brjunsuc committed May 13, 2021
1 parent ffc3d9c commit 0e03912
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Src/Api/Site/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ public function get()
if (empty($this->siteInfo)) {
throw new \RuntimeException('缺少站点信息参数');
}
if (empty($this->cache)) {
throw new \RuntimeException('需要指定存储Cache');
}
$data = $this->siteInfo->toArray();
return parent::post($data);
}
Expand Down

0 comments on commit 0e03912

Please sign in to comment.