'require', 'type' => 'require', 'statkey' => 'require', 'filename' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'type' => '1=日报,2=月报', 'statkey' => '查询key', 'filename' => '文件地址', ]; /** * @notes 添加场景 * @return LogDownloadValidate * @author likeadmin * @date 2024/04/12 11:05 */ public function sceneAdd() { return $this->only(['type','statkey','filename']); } /** * @notes 编辑场景 * @return LogDownloadValidate * @author likeadmin * @date 2024/04/12 11:05 */ public function sceneEdit() { return $this->only(['id','type','statkey','filename']); } /** * @notes 删除场景 * @return LogDownloadValidate * @author likeadmin * @date 2024/04/12 11:05 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return LogDownloadValidate * @author likeadmin * @date 2024/04/12 11:05 */ public function sceneDetail() { return $this->only(['id']); } }