'require', 'code' => 'require', 'kdn_code' => 'require', 'name' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'code' => '快递编码', 'kdn_code' => '快递简码', 'name' => '名称', ]; /** * @notes 添加场景 * @return ShopExpressValidate * @author likeadmin * @date 2024/08/04 11:07 */ public function sceneAdd() { return $this->only(['code','kdn_code','name']); } /** * @notes 编辑场景 * @return ShopExpressValidate * @author likeadmin * @date 2024/08/04 11:07 */ public function sceneEdit() { return $this->only(['code','kdn_code','name']); } /** * @notes 删除场景 * @return ShopExpressValidate * @author likeadmin * @date 2024/08/04 11:07 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return ShopGoodsValidate * @author likeadmin * @date 2024/08/04 11:07 */ public function sceneDetail() { return $this->only(['id']); } }