Skip to content

Commit

Permalink
feat: 分享页API增加ID字段
Browse files Browse the repository at this point in the history
  • Loading branch information
pplulee committed May 8, 2023
1 parent dc333b3 commit d010ca7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controller/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ public function getSharepage($link, $password = ""): json
continue;
}
$accounts[] = [
'id' => $account->id,
'username' => $account->username,
'password' => $account->password,
'status' => $account->message == "正常" && ((time() - strtotime($account->last_check)) < (($account->check_interval + 2) * 60)),
Expand Down

0 comments on commit d010ca7

Please sign in to comment.