- 新增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
142 B
Plaintext
3 lines
142 B
Plaintext
# 客户归属删除 - 暂无实现(归属关系永久保留)
|
|
return {'status': 'error', 'message': 'Customer binding cannot be deleted'}
|