feat: 假单后台管理接口(按俱乐部+商品类型 CRUD)
新增 fake-grab-order-list/manage/avatar 接口,权限 2200a;支持增删改价格介绍头像等;假单展示使用自定义头像。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -170,7 +170,7 @@ def _load_fake_rows_in_saved_order(club_id, leixing_id):
|
||||
|
||||
def _format_fake_row(row, anchor_dt=None):
|
||||
"""字段与 DashouDingdanHuoquView 真实单列表保持一致。"""
|
||||
avatar = DEFAULT_DISPATCHER_AVATAR
|
||||
avatar = (getattr(row, 'DispatcherAvatar', None) or '').strip() or DEFAULT_DISPATCHER_AVATAR
|
||||
platform = int(row.Platform or 1)
|
||||
oid = row.OrderID
|
||||
price = float(row.Amount or 0)
|
||||
|
||||
Reference in New Issue
Block a user