update
This commit is contained in:
parent
cd38ff8212
commit
b3f6b12f14
@ -377,7 +377,7 @@ async def list_merchants(
|
|||||||
"category_name": m[1],
|
"category_name": m[1],
|
||||||
"user_phone": m[2],
|
"user_phone": m[2],
|
||||||
"user_nickname": m[3],
|
"user_nickname": m[3],
|
||||||
"gift_points_rate_text": f"赠送蜂蜜 {m[0].pay_gift_points_rate * 10}%",
|
"gift_points_rate_text": f"赠送积分 {m[0].pay_gift_points_rate * 10}%",
|
||||||
"featured_product": merchant_products.get(m[0].id),
|
"featured_product": merchant_products.get(m[0].id),
|
||||||
"distance": round(m[4]) if longitude is not None and latitude is not None else None
|
"distance": round(m[4]) if longitude is not None and latitude is not None else None
|
||||||
} for m in merchants]
|
} for m in merchants]
|
||||||
|
|||||||
@ -20,8 +20,6 @@ class Settings(BaseSettings):
|
|||||||
URL_WECOMBOT_WITHDRAWAL_APPLY : str = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=a559ed6c-0d75-4a42-b11d-7ab47c929ac5"
|
URL_WECOMBOT_WITHDRAWAL_APPLY : str = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=a559ed6c-0d75-4a42-b11d-7ab47c929ac5"
|
||||||
|
|
||||||
|
|
||||||
# 积分别名
|
|
||||||
POINT_ALIAS: str = "蜂蜜"
|
|
||||||
POINT_RATIO: float = 10.0 # 积分兑换比例
|
POINT_RATIO: float = 10.0 # 积分兑换比例
|
||||||
|
|
||||||
# 订单价格配置
|
# 订单价格配置
|
||||||
|
|||||||
BIN
jobs.sqlite
BIN
jobs.sqlite
Binary file not shown.
Loading…
Reference in New Issue
Block a user