|
@@ -166,17 +166,19 @@ class LinkController extends Controller
|
|
|
public function queryReportLog(QueryReportRequest $request)
|
|
|
{
|
|
|
\Log::info('queryReportLog_qapp_account:'.$this->qapp_account.' request:'.json_encode($request->all()));
|
|
|
- request()->offsetSet('qapp_account', $this->qapp_account);
|
|
|
+ $params = $request->all();
|
|
|
+ $params['qapp_account'] = $this->qapp_account;
|
|
|
|
|
|
- $result = $this->service->findUserReportInfos($this->channel_id, $request->all());
|
|
|
+ $result = $this->service->findUserReportInfos($this->channel_id, $params);
|
|
|
return response()->pagination(new ReportOrderTramsformer, $result);
|
|
|
}
|
|
|
|
|
|
public function reportLogExport(QueryReportRequest $request)
|
|
|
{
|
|
|
- request()->offsetSet('qapp_account', $this->qapp_account);
|
|
|
+ $params = $request->all();
|
|
|
+ $params['qapp_account'] = $this->qapp_account;
|
|
|
|
|
|
- $result = $this->service->findUserReportInfos($this->channel_id, $request->all(), false);
|
|
|
+ $result = $this->service->findUserReportInfos($this->channel_id, $params, false);
|
|
|
$result = collectionTransform(new ReportOrderTramsformer, $result);
|
|
|
$headers = [
|
|
|
'订单号',
|