<?php
 namespace App\Http\Controllers\Main; use App\Http\Controllers\BaseController; use TechOnline\Laravel\Http\Request; use TechSoft\Laravel\Data\DataUtil; use TechSoft\Laravel\Data\SelectDialogHandle; use TechSoft\Laravel\Member\Interfaces\MemberLoginCheck; class DataController extends BaseController implements MemberLoginCheck { public function imageSelectDialog(SelectDialogHandle $selectDialogHandle, $action = null) { if (!empty($action)) { Request::instance()->merge(['action' => $action]); } return $selectDialogHandle->executeCustom('image', 'member_upload', 'member_upload_category', $this->memberUserId(), DataUtil::getOSSOption()); } }