'require', 'label_name' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'label_id' => 'label_id', 'label_name' => '标签名称', ]; /** * @notes 添加场景 * @return UserLabelValidate * @author admin * @date 2024/06/17 17:02 */ public function sceneAdd() { return $this->only(['label_name']); } /** * @notes 编辑场景 * @return UserLabelValidate * @author admin * @date 2024/06/17 17:02 */ public function sceneEdit() { return $this->only(['label_id','label_name']); } /** * @notes 删除场景 * @return UserLabelValidate * @author admin * @date 2024/06/17 17:02 */ public function sceneDelete() { return $this->only(['label_id']); } /** * @notes 详情场景 * @return UserLabelValidate * @author admin * @date 2024/06/17 17:02 */ public function sceneDetail() { return $this->only(['label_id']); } }