完成充值功能整体开发。

This commit is contained in:
jianweie code
2023-03-27 02:43:50 +08:00
parent a44f9c8dd6
commit 565c72039d
24 changed files with 1988 additions and 49 deletions

View File

@@ -0,0 +1,13 @@
create table if not exists CoreCmsTopUpType
(
id int auto_increment comment '序列'
primary key,
title varchar(50) not null comment '标题',
defaultMoney int default 0 not null comment '充值金额',
giftMoney int default 0 not null comment '赠送金额',
giftPoint int default 0 not null comment '赠送积分',
sortId int default 1 not null comment '显示排序',
isEnable bit default b'1' not null comment '是否启用',
description varchar(100) charset utf8 null comment '说明'
)
comment '充值类型';

View File

@@ -0,0 +1,4 @@
INSERT INTO coreshop.CoreCmsTopUpType (id, title, defaultMoney, giftMoney, giftPoint, sortId, isEnable, description) VALUES (1, '冲100送10', 100, 10, 0, 3, true, '冲100送10');
INSERT INTO coreshop.CoreCmsTopUpType (id, title, defaultMoney, giftMoney, giftPoint, sortId, isEnable, description) VALUES (2, '冲10元送5元', 1, 5, 7, 4, true, '冲10元送5元');
INSERT INTO coreshop.CoreCmsTopUpType (id, title, defaultMoney, giftMoney, giftPoint, sortId, isEnable, description) VALUES (3, '冲500送50', 500, 50, 0, 2, true, '冲500送50');
INSERT INTO coreshop.CoreCmsTopUpType (id, title, defaultMoney, giftMoney, giftPoint, sortId, isEnable, description) VALUES (4, '冲1000送120', 1000, 120, 0, 1, true, '冲1000送120');