Exemplo n.º 1
0
 public function actionExport()
 {
     $request = wanhunet::$app->request;
     $startTime = strtotime($request->get('start_time'));
     $endTime = strtotime($request->get('end_time'));
     $asset = $this->rechargeList($startTime, $endTime);
     Utils::exportExcel($asset, ['ID', '会员ID', '金额', '金额状态', '类型', '动作', '动作用户ID', '', '创建时间', '更新时间', '会员ID', '会员用户名', '用户手机号', '用户状态', '用户创建时间', '用户身份证号', '身份证名称', '用户身份证状态', '用户邮箱', '用户邮箱状态', '父级邀请码', '邀请码'], '充值记录导出' . date('Y.m.d'));
 }