数据表:ims_yz_activity_ranking_quota(活动排行榜--额度明细)。
| 字段 | 类型 | 默认值 | 约束 | 说明 |
|---|---|---|---|---|
id | integer | - | 非空、自增 | |
uniacid | integer | - | 非空 | |
uid | integer | 0 | 非空 | 会员ID |
before_quota | decimal | 0.00 | 非空 | 变动前额度 |
after_quota | decimal | 0.00 | 非空 | 变动后额度 |
shall_change_quota | decimal | 0.00 | 非空 | 应变动的额度 |
quota | decimal | 0.00 | 非空 | 实际变动的额度 |
quota_change_type | boolean | 1 | 非空 | 额度变动类型:1-增加,2扣除 |
type | boolean | 1 | 非空 | 变动类型:0-购买商品,1-转发宝,2-文章,3-手签,4-每日红包,5-口令红包 |
remark | text(65535) | - | - | 备注 |
quota_details | text(65535) | - | - | 额度明细(非购买商品的才有实际扣除明细) |
order_id | integer | 0 | 非空 | 订单ID(购买商品的才有订单ID) |
created_at | integer | 0 | 非空 | |
updated_at | integer | 0 | 非空 | |
deleted_at | integer | - | - |
