'require', 'service_fee' => 'require', 'goods_status' => 'require', 'external_platform_id' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'service_fee' => '服务价格', 'goods_status' => '商品状态', 'external_platform_id' => '外部平台ID', ]; /** * @notes 添加场景 * @return ExternalPlatformGoodsValidate * @author likeadmin * @date 2025/03/21 19:09 */ public function sceneAdd() { return $this->only(['service_fee','goods_status','external_platform_id']); } /** * @notes 编辑场景 * @return ExternalPlatformGoodsValidate * @author likeadmin * @date 2025/03/21 19:09 */ public function sceneEdit() { return $this->only(['id','service_fee','goods_status','external_platform_id']); } /** * @notes 删除场景 * @return ExternalPlatformGoodsValidate * @author likeadmin * @date 2025/03/21 19:09 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return ExternalPlatformGoodsValidate * @author likeadmin * @date 2025/03/21 19:09 */ public function sceneDetail() { return $this->only(['id']); } }