u
This commit is contained in:
@@ -180,7 +180,7 @@ export const article = {
|
||||
/**
|
||||
* POST /api/article/:sku/image
|
||||
* Body: raw AVIF bytes (Content-Type: image/avif, max 1000×1000, prepared client-side via WASM)
|
||||
* → 201 { article }
|
||||
* → 201 { image: { picId, sort, full, thumb, hash, thumbHash } }
|
||||
*/
|
||||
uploadImage(sku, file) {
|
||||
return httpBinary(`/api/article/${encodeURIComponent(sku)}/image`, {
|
||||
|
||||
Reference in New Issue
Block a user