修改 图片地址 url
This commit is contained in:
parent
c549a64292
commit
6f850eb28e
@ -133,7 +133,7 @@ async def get_user_orders(
|
||||
"update_time": order.MerchantOrderDB.update_time,
|
||||
# 商品信息
|
||||
"product_name": order.product_name,
|
||||
"product_image": order.product_image,
|
||||
"product_image": process_image(order.product_image).thumbnail(width=450, height=450).format(ImageFormat.WEBP).build(),
|
||||
"product_tags": order.product_tags,
|
||||
# 商家信息
|
||||
"merchant_name": order.merchant_name,
|
||||
@ -332,7 +332,7 @@ async def get_order_detail(
|
||||
"update_time": order.MerchantOrderDB.update_time,
|
||||
# 商品信息
|
||||
"product_name": order.product_name,
|
||||
"product_image": order.product_image,
|
||||
"product_image": process_image(order.product_image).thumbnail(width=450, height=450).format(ImageFormat.WEBP).build(),
|
||||
# 商家信息
|
||||
"merchant_name": order.merchant_name,
|
||||
"merchant_latitude": order.merchant_latitude,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user