- 新增3个数据模型: discount_marketing, discount_promo_code, discount_customer_bind - 新增CRUD定义: marketing/promo_code/customer_bind 的list和api - 新增init/data.json: appcodes编码(促销码类型、绑定方式) - init.py: bind_customer支持customerid参数覆盖(注册场景) - 折扣校验放宽至 0 < discount <= 1
3 lines
167 B
Plaintext
3 lines
167 B
Plaintext
# 客户归属更新 - 暂无实现(首次绑定后不可变更)
|
|
return {'status': 'error', 'message': 'Customer binding cannot be updated after initial binding'}
|