fix(force-recharge): 补充强充配置缺失的接口和数据库字段
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 6m19s
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 6m19s
- 订单管理:增加 payment_method 字段支持,合并代购订单逻辑 - 套餐系列分配:增加强充配置字段(enable_force_recharge、force_recharge_amount、force_recharge_trigger_type) - 数据库迁移:添加 force_recharge_trigger_type 字段 - 测试:更新订单服务测试用例 - OpenSpec:归档 fix-force-recharge-missing-interfaces 变更
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- 回滚: 删除强充触发类型字段
|
||||
|
||||
ALTER TABLE tb_shop_series_allocation DROP COLUMN force_recharge_trigger_type;
|
||||
6
migrations/000037_add_force_recharge_trigger_type.up.sql
Normal file
6
migrations/000037_add_force_recharge_trigger_type.up.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
-- 为 tb_shop_series_allocation 表添加强充触发类型字段
|
||||
-- 补充强充配置完整性
|
||||
|
||||
ALTER TABLE tb_shop_series_allocation ADD COLUMN force_recharge_trigger_type INT DEFAULT 2;
|
||||
|
||||
COMMENT ON COLUMN tb_shop_series_allocation.force_recharge_trigger_type IS '强充触发类型(1:单次充值, 2:累计充值)';
|
||||
Reference in New Issue
Block a user