'require', 'loca' => 'require', 'is_show' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'loca' => '位置', 'is_show' => '显示状态', ]; /** * @notes 添加场景 * @return DecorateSwiperValidate * @author BD * @date 2024/03/16 17:34 */ public function sceneAdd() { return $this->only(['loca','is_show']); } /** * @notes 编辑场景 * @return DecorateSwiperValidate * @author BD * @date 2024/03/16 17:34 */ public function sceneEdit() { return $this->only(['id','loca','is_show']); } /** * @notes 删除场景 * @return DecorateSwiperValidate * @author BD * @date 2024/03/16 17:34 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return DecorateSwiperValidate * @author BD * @date 2024/03/16 17:34 */ public function sceneDetail() { return $this->only(['id']); } }