getInfo($condition); if(empty($info)) return $this->error(); $member_withdraw_total_money = $info['apply_money']; $stat_data = array( 'site_id' => $site_id, 'member_withdraw_count' => 1, 'member_withdraw_total_money' => $member_withdraw_total_money ); $stat_model = new Stat(); Log::write('addMemberWithdrawStat'.json_encode($stat_data)); $result = $stat_model->addShopStat($stat_data); return $result; } }