/**
  * Get the overview of the score history
  *
  * <b>Request Type: </b>GET<br/>
  * <b>Request Endpoint: </b>http://{server-domain}/api/member/score/overview<br/>
  * <b>Summary: </b>This api is for the statistics of the score history.
  * <b>Response Example: </b>
  * <pre>
  * {"memberToday": 2, "scoreToday": 600, "scoreYesterday": 300}
  * </pre>
  */
 public function actionOverview()
 {
     $accountId = $this->getAccountId();
     //query the member count
     $memberCountToday = ScoreHistory::getMemberCountToDay($accountId);
     $totalScoreToday = ScoreHistory::getTotalScoreToday($accountId);
     $totalScoreYesterday = ScoreHistory::getTotalScoreYesterday($accountId);
     return ['memberToday' => $memberCountToday, 'scoreToday' => $totalScoreToday, 'scoreYesterday' => $totalScoreYesterday];
 }