示例#1
0
 function reCalc()
 {
     $t = new transaction("");
     $all = $t->backUserSummary(osBackUserID());
     $this->balance = $all['Balance'];
     $this->paid = $all['Charge'];
     $this->adpay = $all['adPay'];
     $this->earned = $all['Earn'];
     $this->withdrawn = $all['Withdrawn'];
     $this->reimbursed = $all['Reimburse'];
 }