Skip to content

Commit

Permalink
refactor(attachment): change storageMode property type from string to…
Browse files Browse the repository at this point in the history
… int
  • Loading branch information
zds-s committed Oct 17, 2024
1 parent f84f9b0 commit 1f1e09d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Schema/AttachmentSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ final class AttachmentSchema implements \JsonSerializable
public ?int $id;

#[Property(property: 'storage_mode', title: '存储模式 (1 本地 2 阿里云 3 七牛云 4 腾讯云)', type: 'int')]
public ?string $storageMode;
public ?int $storageMode;

#[Property(property: 'origin_name', title: '原文件名', type: 'string')]
public ?string $originName;
Expand Down

0 comments on commit 1f1e09d

Please sign in to comment.