数据表:ims_yz_micro_shop_bonus_log(微店--日志表)。
| 字段 | 类型 | 默认值 | 约束 | 说明 |
|---|---|---|---|---|
id | integer unsigned | - | 非空、自增 | |
uniacid | integer | 0 | 非空 | 公众号id |
shop_id | integer | 0 | 非空 | 商品id |
member_id | integer | 0 | 非空 | 会员id |
bonus_money | decimal | 0.00 | 非空 | 奖金 |
bonus_ratio | decimal | 0.00 | 非空 | 奖金比率 |
level_id | integer | 0 | 非空 | 等级id |
order_id | integer | 0 | 非空 | 订单id |
order_sn | string(50) | 0 | 非空 | 订单编号 |
order_buyer | string(255) | 0 | 非空 | 订单买家 |
goods_id | integer | 0 | 非空 | 商品id |
goods_title | string(255) | 0 | 非空 | 商品标题 |
goods_price | decimal | 0.00 | - | 商品价格 |
goods_cost_price | decimal | 0.00 | 非空 | 商品成本价 |
goods_thumb | string(255) | 0 | 非空 | 商品图像 |
goods_total | integer | 0 | 非空 | 商品数量 |
pay_type | string(20) | 0 | 非空 | 支付类型 |
pay_sn | string(50) | - | - | 支付号 |
pay_time | integer | 0 | 非空 | 支付时间 |
complete_time | integer | 0 | 非空 | 完成时间 |
order_status | boolean | 0 | 非空 | 订单状态 |
apply_status | boolean | 0 | 非空 | 申请状态 |
apply_time | integer | 0 | 非空 | 申请时间 |
refund_time | integer | 0 | 非空 | 退款时间 |
is_lower | integer | 0 | 非空 | 下级 |
lower_level_shop_id | integer | 0 | 非空 | 下级商店id |
lower_level_member_id | integer | 0 | 非空 | 下级会员id |
lower_level_nickname | string(255) | 0 | 非空 | 下级等级昵称 |
lower_level_bonus_money | decimal | 0.00 | 非空 | 下级奖金 |
agent_bonus_ratio | decimal | 0.00 | 非空 | 代理奖金比例 |
created_at | integer | 0 | 非空 | |
updated_at | integer | 0 | 非空 | |
deleted_at | integer | 0 | 非空 |
