feat: branch image multi
This commit is contained in:
parent
102f0216f8
commit
9e745ee81c
2 changed files with 60 additions and 1 deletions
|
|
@ -44,6 +44,7 @@ export const fileLocation = {
|
|||
image: (branchId: string) => `branch/branch-img-${branchId}`,
|
||||
map: (branchId: string) => `branch/map-img-${branchId}`,
|
||||
bank: (branchId: string, bankId: string) => `branch/bank-qr-${branchId}-${bankId}`,
|
||||
img: (branchId: string, name?: string) => `user/img-${branchId}/${name || ""}`,
|
||||
},
|
||||
user: {
|
||||
profile: (userId: string, name?: string) => `user/profile-image-${userId}/${name || ""}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue