'require', 'uid' => 'require', 'nickname' => 'require', 'phone' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'uid' => '配送员uid', 'nickname' => '配送员名称', 'phone' => '手机号码', ]; /** * @notes 添加场景 * @return DeliveryServiceValidate * @author admin * @date 2024/08/08 14:07 */ public function sceneAdd() { return $this->only(['uid','nickname','phone']); } /** * @notes 编辑场景 * @return DeliveryServiceValidate * @author admin * @date 2024/08/08 14:07 */ public function sceneEdit() { return $this->only(['id','uid','nickname','phone']); } /** * @notes 删除场景 * @return DeliveryServiceValidate * @author admin * @date 2024/08/08 14:07 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return DeliveryServiceValidate * @author admin * @date 2024/08/08 14:07 */ public function sceneDetail() { return $this->only(['id']); } }