Compare commits
11 Commits
8efaf2e92f
...
reviewCode
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0d4beedb1d | ||
|
|
225b8cabee | ||
|
|
c0acba8180 | ||
|
|
d53e286b7e | ||
|
|
b0fd44e8e1 | ||
|
|
2aa351e43c | ||
| a22f698620 | |||
| 9a4fb743a7 | |||
|
|
84b0c166f2 | ||
|
|
e4dfe062d5 | ||
|
|
849cf4c03e |
@@ -1,15 +0,0 @@
|
||||
alter table blade_user
|
||||
add register_date timestamp;
|
||||
|
||||
alter table blade_user
|
||||
add invitation_code varchar(32);
|
||||
|
||||
alter table blade_user
|
||||
add pid bigint;
|
||||
|
||||
create index blade_user_register_date_index
|
||||
on blade_user (is_deleted, register_date);
|
||||
|
||||
|
||||
create index bur_invitation_code_index
|
||||
on blade_user (is_deleted, invitation_code);
|
||||
@@ -1,8 +1,8 @@
|
||||
create table aliyun_certify
|
||||
(
|
||||
id bigint not null primary key,
|
||||
user_id bigint not null,
|
||||
user_phone bigint,
|
||||
id int8 not null primary key,
|
||||
user_id int8 not null,
|
||||
user_phone int8,
|
||||
name varchar(128) null,
|
||||
id_card varchar(128) null,
|
||||
certify_id varchar(64) null,
|
||||
42
doc/sql/createtable/app_banner_postgres.sql
Normal file
42
doc/sql/createtable/app_banner_postgres.sql
Normal file
@@ -0,0 +1,42 @@
|
||||
|
||||
-- 创建表
|
||||
CREATE TABLE app_banner
|
||||
(
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
cover_url VARCHAR(300) NULL,
|
||||
route VARCHAR(255) NULL,
|
||||
outside_url VARCHAR(300) NULL,
|
||||
sort INTEGER DEFAULT 1 NOT NULL,
|
||||
banner_type INTEGER NULL,
|
||||
remark VARCHAR(100) NULL,
|
||||
is_show INTEGER DEFAULT 0 NOT NULL,
|
||||
tag_name VARCHAR(255) NULL,
|
||||
create_user int8 NULL,
|
||||
create_dept int8 NULL,
|
||||
create_time TIMESTAMP NULL,
|
||||
update_user int8 NULL,
|
||||
update_time TIMESTAMP NULL,
|
||||
status INTEGER NULL,
|
||||
is_deleted INTEGER DEFAULT 0 NULL
|
||||
);
|
||||
|
||||
-- 添加表注释
|
||||
COMMENT ON TABLE app_banner IS '首页轮播图';
|
||||
|
||||
-- 添加列注释
|
||||
COMMENT ON COLUMN app_banner.id IS 'ID';
|
||||
COMMENT ON COLUMN app_banner.cover_url IS '轮播图地址';
|
||||
COMMENT ON COLUMN app_banner.route IS '路由';
|
||||
COMMENT ON COLUMN app_banner.outside_url IS '外链地址';
|
||||
COMMENT ON COLUMN app_banner.sort IS '排序';
|
||||
COMMENT ON COLUMN app_banner.banner_type IS '轮播图类型 1-主banner 2-商城banner';
|
||||
COMMENT ON COLUMN app_banner.remark IS '备注';
|
||||
COMMENT ON COLUMN app_banner.is_show IS '是否显示';
|
||||
COMMENT ON COLUMN app_banner.tag_name IS '标签名';
|
||||
COMMENT ON COLUMN app_banner.create_user IS '创建人';
|
||||
COMMENT ON COLUMN app_banner.create_dept IS '创建部门';
|
||||
COMMENT ON COLUMN app_banner.create_time IS '创建时间';
|
||||
COMMENT ON COLUMN app_banner.update_user IS '修改人';
|
||||
COMMENT ON COLUMN app_banner.update_time IS '修改时间';
|
||||
COMMENT ON COLUMN app_banner.status IS '状态';
|
||||
COMMENT ON COLUMN app_banner.is_deleted IS '是否已删除';
|
||||
@@ -1,6 +1,6 @@
|
||||
CREATE TABLE mall_spu
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
spu_sn VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
spu_name VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
main_img VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
@@ -55,7 +55,7 @@ CREATE TABLE ys_category
|
||||
(
|
||||
id INTEGER NOT NULL PRIMARY KEY,
|
||||
cname VARCHAR(100) DEFAULT '' NOT NULL,
|
||||
pid BIGINT DEFAULT 0 NOT NULL,
|
||||
pid int8 DEFAULT 0 NOT NULL,
|
||||
level INTEGER DEFAULT 0 NOT NULL,
|
||||
is_deleted INTEGER DEFAULT 0 NULL,
|
||||
create_time TIMESTAMP(6) NULL,
|
||||
@@ -63,7 +63,7 @@ CREATE TABLE ys_category
|
||||
update_time TIMESTAMP(6) NULL,
|
||||
update_user int8 NULL,
|
||||
status INTEGER NULL,
|
||||
create_dept BIGINT NULL
|
||||
create_dept int8 NULL
|
||||
);
|
||||
|
||||
CREATE SEQUENCE ys_category_id_seq START 1;
|
||||
@@ -86,10 +86,10 @@ COMMENT ON COLUMN ys_category.create_dept IS '创建部门';
|
||||
|
||||
CREATE TABLE mall_cart
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
user_id BIGINT DEFAULT 0 NOT NULL,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
user_id int8 DEFAULT 0 NOT NULL,
|
||||
title VARCHAR(200) DEFAULT '' NOT NULL,
|
||||
spu_id BIGINT DEFAULT 0 NOT NULL,
|
||||
spu_id int8 DEFAULT 0 NOT NULL,
|
||||
quantity INTEGER DEFAULT 0 NOT NULL,
|
||||
original_price DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
|
||||
main_img VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
@@ -126,9 +126,9 @@ CREATE INDEX idx_user_id ON mall_cart (user_id);
|
||||
|
||||
CREATE TABLE user_address
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
user_id BIGINT NULL,
|
||||
regions_info_id BIGINT NULL,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
user_id int8 NULL,
|
||||
regions_info_id int8 NULL,
|
||||
province VARCHAR(200) NULL,
|
||||
city VARCHAR(200) NULL,
|
||||
district VARCHAR(200) NULL,
|
||||
@@ -1,11 +1,11 @@
|
||||
CREATE TABLE user_order
|
||||
(
|
||||
id BIGINT DEFAULT 0 NOT NULL PRIMARY KEY,
|
||||
user_id BIGINT DEFAULT 0 NOT NULL,
|
||||
user_phone bigint,
|
||||
id int8 DEFAULT 0 NOT NULL PRIMARY KEY,
|
||||
user_id int8 DEFAULT 0 NOT NULL,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
order_type INTEGER DEFAULT 0 NOT NULL,
|
||||
order_id BIGINT DEFAULT 0 NOT NULL,
|
||||
order_id int8 DEFAULT 0 NOT NULL,
|
||||
title VARCHAR(256) DEFAULT '' NOT NULL,
|
||||
images VARCHAR(512) NULL,
|
||||
quantity INTEGER NULL,
|
||||
@@ -76,15 +76,15 @@ CREATE INDEX user_order_index ON user_order (user_id, order_type);
|
||||
|
||||
CREATE TABLE mall_summary_order
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
user_id BIGINT DEFAULT 0 NOT NULL,
|
||||
user_phone bigint,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
user_id int8 DEFAULT 0 NOT NULL,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
products_info text NULL,
|
||||
order_info text NULL,
|
||||
confirm_info text NULL,
|
||||
vendor_regions_id BIGINT NOT NULL,
|
||||
address_id BIGINT NOT NULL,
|
||||
vendor_regions_id int8 NOT NULL,
|
||||
address_id int8 NOT NULL,
|
||||
delivery_info text NULL,
|
||||
freight_amount DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
|
||||
cost_amount DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
|
||||
@@ -105,7 +105,7 @@ CREATE TABLE mall_summary_order
|
||||
is_recorded INTEGER DEFAULT 0 NULL,
|
||||
is_statistics INTEGER DEFAULT 0 NULL,
|
||||
remarks VARCHAR(200) DEFAULT '' NOT NULL,
|
||||
version BIGINT DEFAULT 0 NULL,
|
||||
version int8 DEFAULT 0 NULL,
|
||||
create_user int8 NULL,
|
||||
create_dept int8 NULL,
|
||||
create_time TIMESTAMP NULL,
|
||||
@@ -163,12 +163,12 @@ CREATE INDEX mso_statistics_index ON mall_summary_order (payment_status, is_stat
|
||||
|
||||
CREATE TABLE mall_detail_order
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
user_id BIGINT DEFAULT 0 NOT NULL,
|
||||
user_phone bigint,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
user_id int8 DEFAULT 0 NOT NULL,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
summary_order_id BIGINT DEFAULT 0 NOT NULL,
|
||||
spu_id BIGINT DEFAULT 0 NOT NULL,
|
||||
summary_order_id int8 DEFAULT 0 NOT NULL,
|
||||
spu_id int8 DEFAULT 0 NOT NULL,
|
||||
quantity INTEGER DEFAULT 0 NOT NULL,
|
||||
sku_snapshot text NULL,
|
||||
actual_cost_amount DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
|
||||
@@ -225,13 +225,13 @@ CREATE INDEX mdo_uid_index ON mall_detail_order (user_id);
|
||||
|
||||
CREATE TABLE mall_summary_order_after
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
user_id BIGINT DEFAULT -1 NOT NULL,
|
||||
user_phone bigint,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
user_id int8 DEFAULT -1 NOT NULL,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
summary_order_id BIGINT DEFAULT -1 NOT NULL,
|
||||
goods_id BIGINT DEFAULT -1 NOT NULL,
|
||||
sku_id BIGINT NOT NULL,
|
||||
summary_order_id int8 DEFAULT -1 NOT NULL,
|
||||
goods_id int8 DEFAULT -1 NOT NULL,
|
||||
sku_id int8 NOT NULL,
|
||||
goods_name VARCHAR(256) NOT NULL,
|
||||
third_plat_order_no VARCHAR(32) NOT NULL,
|
||||
third_plat_after_no VARCHAR(32) NOT NULL,
|
||||
@@ -1,8 +1,8 @@
|
||||
CREATE TABLE registration_order
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
spu_id BIGINT NULL,
|
||||
sku_id BIGINT NULL,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
spu_id int8 NULL,
|
||||
sku_id int8 NULL,
|
||||
title VARCHAR(100) NOT NULL,
|
||||
transaction_type INTEGER NOT NULL,
|
||||
thumbnail VARCHAR(500) NOT NULL,
|
||||
@@ -12,7 +12,7 @@ CREATE TABLE registration_order
|
||||
points DECIMAL(10, 2) NOT NULL,
|
||||
quantity INTEGER NOT NULL,
|
||||
remaining INTEGER NOT NULL,
|
||||
user_id BIGINT NOT NULL,
|
||||
user_id int8 NOT NULL,
|
||||
user_nickname VARCHAR(100) NULL,
|
||||
in_transaction INTEGER DEFAULT 0 NOT NULL,
|
||||
is_full_package INTEGER DEFAULT 0 NOT NULL,
|
||||
@@ -76,9 +76,9 @@ COMMENT ON COLUMN registration_order.is_priority IS '是否优先';
|
||||
|
||||
CREATE TABLE transaction_order
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
registration_id BIGINT NOT NULL,
|
||||
sku_id BIGINT NULL,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
registration_id int8 NOT NULL,
|
||||
sku_id int8 NULL,
|
||||
title VARCHAR(100) NOT NULL,
|
||||
transaction_type INTEGER NOT NULL,
|
||||
thumbnail VARCHAR(500) NOT NULL,
|
||||
@@ -87,7 +87,7 @@ CREATE TABLE transaction_order
|
||||
quantity INTEGER NOT NULL,
|
||||
total_amount DECIMAL(10, 2) NOT NULL,
|
||||
total_points DECIMAL(10, 2) NOT NULL,
|
||||
user_id BIGINT NOT NULL,
|
||||
user_id int8 NOT NULL,
|
||||
user_nickname VARCHAR(500) NULL,
|
||||
payment_voucher VARCHAR(500) NULL,
|
||||
delivery_voucher VARCHAR(500) NULL,
|
||||
@@ -97,7 +97,7 @@ CREATE TABLE transaction_order
|
||||
receiver_address VARCHAR(100) NULL,
|
||||
contact VARCHAR(100) NULL,
|
||||
contact_number VARCHAR(100) NULL,
|
||||
counterparty_order_id BIGINT DEFAULT 0 NOT NULL,
|
||||
counterparty_order_id int8 DEFAULT 0 NOT NULL,
|
||||
is_virtual INTEGER DEFAULT 0 NOT NULL,
|
||||
supplier_order_sn VARCHAR(100) NULL,
|
||||
expire_time TIMESTAMP NULL,
|
||||
@@ -146,16 +146,16 @@ COMMENT ON COLUMN transaction_order.is_deleted IS '是否已删除';
|
||||
|
||||
CREATE TABLE user_inventory
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
user_id BIGINT NOT NULL,
|
||||
sku_id BIGINT NOT NULL,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
user_id int8 NOT NULL,
|
||||
sku_id int8 NOT NULL,
|
||||
title VARCHAR(100) NOT NULL,
|
||||
thumbnail VARCHAR(500) NOT NULL,
|
||||
price DECIMAL(10, 2) NOT NULL,
|
||||
quantity INTEGER NOT NULL,
|
||||
is_virtual INTEGER DEFAULT 0 NOT NULL,
|
||||
attribute JSON NULL,
|
||||
version BIGINT DEFAULT 0 NOT NULL,
|
||||
version int8 DEFAULT 0 NOT NULL,
|
||||
create_user int8 NULL,
|
||||
create_dept int8 NULL,
|
||||
create_time TIMESTAMP(6) NULL,
|
||||
@@ -187,7 +187,7 @@ COMMENT ON COLUMN user_inventory.is_deleted IS '是否已删除';
|
||||
|
||||
CREATE TABLE calendar_non_working
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
off_date DATE NOT NULL,
|
||||
remark VARCHAR(200) NULL,
|
||||
create_user int8 NULL,
|
||||
@@ -215,8 +215,8 @@ COMMENT ON COLUMN calendar_non_working.is_deleted IS '是否已删除';
|
||||
|
||||
CREATE TABLE user_otc_info
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
user_id BIGINT NOT NULL,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
user_id int8 NOT NULL,
|
||||
alipay_account VARCHAR(200) NULL,
|
||||
wechat_account VARCHAR(200) NULL,
|
||||
alipay_qr_code VARCHAR(200) NULL,
|
||||
@@ -8,8 +8,8 @@ CREATE TABLE regions_info
|
||||
lat DECIMAL(10, 6) NULL,
|
||||
region_code VARCHAR(128) NULL,
|
||||
full_name VARCHAR(200) NULL,
|
||||
vendor_region_id BIGINT NULL,
|
||||
store_city_id BIGINT NULL,
|
||||
vendor_region_id int8 NULL,
|
||||
store_city_id int8 NULL,
|
||||
hotel_city_code VARCHAR(128) NULL,
|
||||
hotel_city_pinyin VARCHAR(128) NULL,
|
||||
hotel_city_initials VARCHAR(4) NULL,
|
||||
@@ -20,7 +20,7 @@ CREATE TABLE regions_info
|
||||
update_time TIMESTAMP(6) NULL,
|
||||
update_user int8 NULL,
|
||||
status INTEGER NULL,
|
||||
create_dept BIGINT NULL
|
||||
create_dept int8 NULL
|
||||
);
|
||||
|
||||
COMMENT ON TABLE regions_info IS '地区详情表';
|
||||
@@ -1,8 +1,8 @@
|
||||
CREATE TABLE user_daily_sign
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
user_id BIGINT NULL,
|
||||
user_phone bigint,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
user_id int8 NULL,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
statistics_date DATE NULL,
|
||||
sign_count INTEGER NULL,
|
||||
@@ -15,7 +15,7 @@ CREATE TABLE user_daily_sign
|
||||
update_time TIMESTAMP(6) NULL,
|
||||
update_user int8 NULL,
|
||||
status INTEGER NULL,
|
||||
create_dept BIGINT NULL
|
||||
create_dept int8 NULL
|
||||
);
|
||||
|
||||
COMMENT ON TABLE user_daily_sign IS '用户看广告记录表';
|
||||
@@ -48,7 +48,7 @@ CREATE INDEX uds_uid_index
|
||||
|
||||
CREATE TABLE ads
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
name VARCHAR(255) NULL,
|
||||
url VARCHAR(255) NULL,
|
||||
sort INTEGER DEFAULT 1,
|
||||
@@ -1,18 +1,18 @@
|
||||
create table user_genealogy
|
||||
(
|
||||
id bigint not null primary key,
|
||||
id int8 not null primary key,
|
||||
name varchar(128),
|
||||
phone bigint,
|
||||
phone int8,
|
||||
level integer default 1, --当前层数
|
||||
pid bigint,
|
||||
pid int8,
|
||||
p_name varchar(128),
|
||||
p_phone bigint,
|
||||
root_id bigint, --遍历当前树
|
||||
group_id bigint, --树内最近团队长的id
|
||||
genealogy_list bigint[], -- 往上所有父级
|
||||
p_phone int8,
|
||||
root_id int8, --遍历当前树
|
||||
group_id int8, --树内最近团队长的id
|
||||
genealogy_list int8[], -- 往上所有父级
|
||||
user_child_number int, --用户下线总人数
|
||||
user_direct_number int, --用户直推总人数
|
||||
user_direct_list bigint[], --直推列表
|
||||
user_direct_list int8[], --直推列表
|
||||
is_revoked integer default 0, --是否注销 0-否 1-是
|
||||
register_date date, -- 注册时间
|
||||
remark text,
|
||||
@@ -66,13 +66,13 @@ alter table user_genealogy
|
||||
|
||||
create table user_tree
|
||||
(
|
||||
id bigint not null primary key,
|
||||
id int8 not null primary key,
|
||||
name varchar(128),
|
||||
phone bigint,
|
||||
phone int8,
|
||||
level integer default 1,
|
||||
pid bigint,
|
||||
pid int8,
|
||||
p_name varchar(128),
|
||||
p_phone bigint,
|
||||
p_phone int8,
|
||||
p_level integer default 1,
|
||||
is_revoked integer default 0, --是否撤销 0-否 1-是
|
||||
is_sync_genealogy integer default 0, --是否同步族谱 0-否 1-是
|
||||
@@ -121,14 +121,14 @@ alter table user_tree
|
||||
|
||||
create table user_increase_day
|
||||
(
|
||||
id bigint not null primary key,
|
||||
id int8 not null primary key,
|
||||
name varchar(128),
|
||||
phone bigint,
|
||||
phone int8,
|
||||
current_level_id int, --用户当前等级
|
||||
current_level_name varchar(12), --用户当前等级
|
||||
pid bigint,
|
||||
pid int8,
|
||||
p_name varchar(128),
|
||||
p_phone bigint,
|
||||
p_phone int8,
|
||||
p_level integer default 1,
|
||||
is_real integer default 0, -- 是否实名用户 0-否 1-是
|
||||
real_date timestamp(6), -- 实名时间
|
||||
@@ -180,12 +180,12 @@ alter table user_increase_day
|
||||
|
||||
CREATE TABLE level_info
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
name VARCHAR(128) NULL,
|
||||
child_qty INTEGER NULL,
|
||||
performance DECIMAL(16, 4) NULL,
|
||||
performance_benefit DECIMAL(16, 4) NULL,
|
||||
next_level_id BIGINT, --晋升等级id
|
||||
next_level_id int8, --晋升等级id
|
||||
is_lowest int DEFAULT 0, --是否最低等级
|
||||
is_highest int DEFAULT 0, --是否最高等级
|
||||
bonus_cash_day DECIMAL(16, 4) NULL,
|
||||
@@ -226,12 +226,12 @@ alter table level_info
|
||||
|
||||
create table user_level_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
id int8 not null primary key,
|
||||
statistical_date timestamp(6),
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
level_id bigint,
|
||||
level_id int8,
|
||||
level_name varchar(128),
|
||||
is_lowest int, --是否最低等级
|
||||
is_highest int, --是否最高等级
|
||||
@@ -282,7 +282,7 @@ alter table user_level_log
|
||||
|
||||
CREATE TABLE package_info
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
name VARCHAR(128) NULL,
|
||||
buy_qty INTEGER default 0, -- 最大购买数量
|
||||
day_total integer default 0, -- 产出总天数
|
||||
@@ -333,12 +333,12 @@ alter table package_info
|
||||
|
||||
create table give_pack_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
id int8 not null primary key,
|
||||
statistical_date date,
|
||||
user_id bigint,
|
||||
phone bigint,
|
||||
user_id int8,
|
||||
phone int8,
|
||||
user_name varchar(128),
|
||||
package_id bigint,
|
||||
package_id int8,
|
||||
package_name varchar(128),
|
||||
package_detail text,
|
||||
give_number integer default 1,
|
||||
@@ -381,12 +381,12 @@ alter table give_pack_log
|
||||
|
||||
create table user_package_info
|
||||
(
|
||||
id bigint not null primary key,
|
||||
id int8 not null primary key,
|
||||
statistical_date timestamp(6),
|
||||
user_id bigint,
|
||||
phone bigint,
|
||||
user_id int8,
|
||||
phone int8,
|
||||
user_name varchar(128),
|
||||
package_id bigint,
|
||||
package_id int8,
|
||||
package_name varchar(128),
|
||||
type integer default 1, -- 1-积分兑换 2-后台划拨
|
||||
user_benefit decimal(14, 2) default 0, --兑换包需要的福利积分
|
||||
@@ -458,13 +458,13 @@ alter table user_package_info
|
||||
|
||||
create table user_package_info_copy
|
||||
(
|
||||
id bigint not null primary key,
|
||||
id int8 not null primary key,
|
||||
statistical_date timestamp(6),
|
||||
user_id bigint,
|
||||
phone bigint,
|
||||
user_id int8,
|
||||
phone int8,
|
||||
user_name varchar(128),
|
||||
user_package_info_Id bigint, --user_package_info id
|
||||
package_id bigint,
|
||||
user_package_info_Id int8, --user_package_info id
|
||||
package_id int8,
|
||||
package_name varchar(128),
|
||||
type integer default 1, -- 1-积分兑换 2-后台划拨
|
||||
user_benefit decimal(14, 2) default 0, --兑换包需要的福利积分
|
||||
@@ -476,15 +476,15 @@ create table user_package_info_copy
|
||||
amount_out decimal(16, 4) default 0, -- 已产出多少福利积分
|
||||
remaining_amount decimal(16, 4) default 0, -- 剩余可产出福利积分 (总计 - 已经经历多少天 * 每天产出 - 加速积分)
|
||||
accelerated_amount decimal(16, 4) default 0, -- 已加速多少福利积分
|
||||
parent_id bigint, -- 给到谁10%积分,到用户id
|
||||
parent_id int8, -- 给到谁10%积分,到用户id
|
||||
parent_amount decimal(16, 4) default 0, -- 给到谁10%积分,到积分账户(福利积分)
|
||||
out_day integer default 0, -- 产出天数 当前包已经产出天数
|
||||
experience_day integer default 0, -- 当前包已经经历的天数
|
||||
not_sign_list bigint[], -- 未签到日期详情 (数组)
|
||||
not_sign_list int8[], -- 未签到日期详情 (数组)
|
||||
is_complete integer default 0, -- 是否完成 0未完成 1完成
|
||||
active_time timestamp(6), -- 当前包激活时间
|
||||
start_time timestamp(6), -- 当前包生效时间
|
||||
sign_bitmap bigint default 0, -- 位图将包的签到时间360天二进制转成十进制
|
||||
sign_bitmap int8 default 0, -- 位图将包的签到时间360天二进制转成十进制
|
||||
expired_date timestamp(6),
|
||||
is_expired integer default 0,
|
||||
version integer default 1,
|
||||
@@ -549,7 +549,7 @@ COMMENT ON COLUMN user_package_info_copy.is_deleted IS '是否已删除';
|
||||
-- 佣金账户表
|
||||
create table user_commission_account
|
||||
(
|
||||
id bigint not null primary key,
|
||||
id int8 not null primary key,
|
||||
account_name varchar(128), -- 账户名称
|
||||
account_number varchar(64), -- 账户编号
|
||||
account_code varchar(64), -- 账户代码
|
||||
@@ -588,18 +588,18 @@ alter table user_commission_account
|
||||
-- 25%商品成本佣金流水表
|
||||
create table user_commission_goods_cost_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
account_id bigint, -- 账户id
|
||||
id int8 not null primary key,
|
||||
account_id int8, -- 账户id
|
||||
account_name varchar(128), -- 账户名称
|
||||
account_number varchar(64), -- 账户编号
|
||||
account_code varchar(64), -- 账户代码
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
amount decimal(14, 2) default 0, -- 变动金额
|
||||
source_id bigint, -- 来源id
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id bigint, -- 订单id
|
||||
order_id int8, -- 订单id
|
||||
order_detail text, -- 订单详情
|
||||
type int default 1, -- 类型 1-收入 2-支出
|
||||
statistical_date timestamp(6), -- 统计时间
|
||||
@@ -647,18 +647,18 @@ alter table user_commission_goods_cost_log
|
||||
-- 30%购买人获取用户积分佣金流水表
|
||||
create table user_commission_user_point_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
account_id bigint, -- 账户id
|
||||
id int8 not null primary key,
|
||||
account_id int8, -- 账户id
|
||||
account_name varchar(128), -- 账户名称
|
||||
account_number varchar(64), -- 账户编号
|
||||
account_code varchar(64), -- 账户代码
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
amount decimal(14, 2) default 0, -- 变动金额
|
||||
source_id bigint, -- 来源id
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id bigint, -- 订单id
|
||||
order_id int8, -- 订单id
|
||||
order_detail text, -- 订单详情
|
||||
type int default 1, -- 类型 1-收入 2-支出
|
||||
statistical_date timestamp(6), -- 统计时间
|
||||
@@ -706,18 +706,18 @@ alter table user_commission_user_point_log
|
||||
-- 10%直推人佣金流水表
|
||||
create table user_commission_direct_push_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
account_id bigint, -- 账户id
|
||||
id int8 not null primary key,
|
||||
account_id int8, -- 账户id
|
||||
account_name varchar(128), -- 账户名称
|
||||
account_number varchar(64), -- 账户编号
|
||||
account_code varchar(64), -- 账户代码
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
amount decimal(14, 2) default 0, -- 变动金额
|
||||
source_id bigint, -- 来源id
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id bigint, -- 订单id
|
||||
order_id int8, -- 订单id
|
||||
order_detail text, -- 订单详情
|
||||
type int default 1, -- 类型 1-收入 2-支出
|
||||
statistical_date timestamp(6), -- 统计时间
|
||||
@@ -765,18 +765,18 @@ alter table user_commission_direct_push_log
|
||||
-- 5%运营佣金流水表
|
||||
create table user_commission_operation_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
account_id bigint, -- 账户id
|
||||
id int8 not null primary key,
|
||||
account_id int8, -- 账户id
|
||||
account_name varchar(128), -- 账户名称
|
||||
account_number varchar(64), -- 账户编号
|
||||
account_code varchar(64), -- 账户代码
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
amount decimal(14, 2) default 0, -- 变动金额
|
||||
source_id bigint, -- 来源id
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id bigint, -- 订单id
|
||||
order_id int8, -- 订单id
|
||||
order_detail text, -- 订单详情
|
||||
type int default 1, -- 类型 1-收入 2-支出
|
||||
statistical_date timestamp(6), -- 统计时间
|
||||
@@ -828,15 +828,15 @@ alter table user_commission_operation_log
|
||||
-- 5%广告补贴佣金流水表
|
||||
create table user_commission_advertising_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
account_id bigint, -- 账户id
|
||||
id int8 not null primary key,
|
||||
account_id int8, -- 账户id
|
||||
account_name varchar(128), -- 账户名称
|
||||
account_number varchar(64), -- 账户编号
|
||||
account_code varchar(64), -- 账户代码
|
||||
amount decimal(14, 2) default 0, -- 变动金额
|
||||
source_id bigint, -- 来源id
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id bigint, -- 订单id
|
||||
order_id int8, -- 订单id
|
||||
order_detail text, -- 订单详情
|
||||
type int default 1, -- 类型 1-收入 2-支出
|
||||
statistical_date timestamp(6), -- 统计时间
|
||||
@@ -885,26 +885,26 @@ alter table user_commission_advertising_log
|
||||
-- 5%服务商佣金流水表
|
||||
create table user_commission_service_provider_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
account_id bigint, -- 账户id
|
||||
id int8 not null primary key,
|
||||
account_id int8, -- 账户id
|
||||
account_name varchar(128), -- 账户名称
|
||||
account_number varchar(64), -- 账户编号
|
||||
account_code varchar(64), -- 账户代码
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
amount decimal(14, 2) default 0, -- 变动金额
|
||||
source_id bigint, -- 来源id
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id bigint, -- 订单id
|
||||
order_id int8, -- 订单id
|
||||
order_detail text, -- 订单详情
|
||||
type int default 1, -- 类型 1-收入 2-支出
|
||||
statistical_date timestamp(6), -- 统计时间
|
||||
remark text, -- 备注
|
||||
service_type varchar(64), -- 服务类型
|
||||
service_provider_id bigint, -- 服务商ID
|
||||
address_id bigint,
|
||||
region_id bigint,
|
||||
service_provider_id int8, -- 服务商ID
|
||||
address_id int8,
|
||||
region_id int8,
|
||||
create_user int8,
|
||||
create_dept int8,
|
||||
create_time timestamp(6),
|
||||
@@ -949,24 +949,24 @@ alter table user_commission_service_provider_log
|
||||
-- 15%极差代理佣金流水表
|
||||
create table user_commission_agency_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
account_id bigint, -- 账户id
|
||||
id int8 not null primary key,
|
||||
account_id int8, -- 账户id
|
||||
account_name varchar(128), -- 账户名称
|
||||
account_number varchar(64), -- 账户编号
|
||||
account_code varchar(64), -- 账户代码
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
amount decimal(14, 2) default 0, -- 变动金额
|
||||
source_id bigint, -- 来源id
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id bigint, -- 订单id
|
||||
order_id int8, -- 订单id
|
||||
order_detail text, -- 订单详情
|
||||
type int default 1, -- 类型 1-收入 2-支出
|
||||
statistical_date timestamp(6), -- 统计时间
|
||||
remark text, -- 备注
|
||||
agency_level varchar(32), -- 代理级别
|
||||
agency_parent_id bigint, -- 上级代理ID
|
||||
agency_parent_id int8, -- 上级代理ID
|
||||
create_user int8,
|
||||
create_dept int8,
|
||||
create_time timestamp(6),
|
||||
@@ -1012,18 +1012,18 @@ alter table user_commission_agency_log
|
||||
-- 5%联创佣金流水表
|
||||
create table user_commission_co_creator_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
account_id bigint, -- 账户id
|
||||
id int8 not null primary key,
|
||||
account_id int8, -- 账户id
|
||||
account_name varchar(128), -- 账户名称
|
||||
account_number varchar(64), -- 账户编号
|
||||
account_code varchar(64), -- 账户代码
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
amount decimal(14, 2) default 0, -- 变动金额
|
||||
source_id bigint, -- 来源id
|
||||
source_id int8, -- 来源id
|
||||
source_detail text, -- 来源详情
|
||||
order_id bigint, -- 订单id
|
||||
order_id int8, -- 订单id
|
||||
order_detail text, -- 订单详情
|
||||
type int default 1, -- 类型 1-收入 2-支出
|
||||
statistical_date timestamp(6), -- 统计时间
|
||||
44
doc/sql/createtable/user_notice_postgres.sql
Normal file
44
doc/sql/createtable/user_notice_postgres.sql
Normal file
@@ -0,0 +1,44 @@
|
||||
|
||||
-- 创建表
|
||||
CREATE TABLE user_notice
|
||||
(
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
user_id int8 DEFAULT 0 NOT NULL,
|
||||
notice_type INTEGER DEFAULT 0 NOT NULL,
|
||||
has_read INTEGER DEFAULT 0 NOT NULL,
|
||||
release_time TIMESTAMP NULL,
|
||||
title VARCHAR(100) NULL,
|
||||
content TEXT NULL,
|
||||
remarks VARCHAR(200) NULL,
|
||||
create_user int8 NULL,
|
||||
create_dept int8 NULL,
|
||||
create_time TIMESTAMP NULL,
|
||||
update_user int8 NULL,
|
||||
update_time TIMESTAMP NULL,
|
||||
status INTEGER NULL,
|
||||
is_deleted INTEGER DEFAULT 0 NULL
|
||||
);
|
||||
|
||||
|
||||
create index user_notice_user_index
|
||||
on user_notice (is_deleted, user_id);
|
||||
|
||||
-- 添加表注释
|
||||
COMMENT ON TABLE user_notice IS '用户通知';
|
||||
|
||||
-- 添加列注释
|
||||
COMMENT ON COLUMN user_notice.id IS '主键';
|
||||
COMMENT ON COLUMN user_notice.user_id IS '用户id';
|
||||
COMMENT ON COLUMN user_notice.notice_type IS '通知类型0-系统通知';
|
||||
COMMENT ON COLUMN user_notice.has_read IS '是否已读 0-否 1-是';
|
||||
COMMENT ON COLUMN user_notice.release_time IS '阅读时间';
|
||||
COMMENT ON COLUMN user_notice.title IS '标题';
|
||||
COMMENT ON COLUMN user_notice.content IS '内容';
|
||||
COMMENT ON COLUMN user_notice.remarks IS '备注';
|
||||
COMMENT ON COLUMN user_notice.create_user IS '创建人';
|
||||
COMMENT ON COLUMN user_notice.create_dept IS '创建部门';
|
||||
COMMENT ON COLUMN user_notice.create_time IS '创建时间';
|
||||
COMMENT ON COLUMN user_notice.update_user IS '修改人';
|
||||
COMMENT ON COLUMN user_notice.update_time IS '修改时间';
|
||||
COMMENT ON COLUMN user_notice.status IS '状态';
|
||||
COMMENT ON COLUMN user_notice.is_deleted IS '是否已删除';
|
||||
@@ -1,8 +1,8 @@
|
||||
create table user_performance
|
||||
(
|
||||
id bigint not null primary key,
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
id int8 not null primary key,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
performance decimal(16, 4) default 0,
|
||||
own_performance decimal(16, 4) default 0,
|
||||
@@ -38,14 +38,14 @@ alter table user_performance
|
||||
|
||||
create table user_performance_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
id int8 not null primary key,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
amount decimal(14, 4) default 0,
|
||||
source_id bigint,
|
||||
source_id int8,
|
||||
source_detail text,
|
||||
order_id bigint,
|
||||
order_id int8,
|
||||
type int default 1,
|
||||
statistical_date timestamp(6),
|
||||
channel varchar(64),
|
||||
@@ -91,9 +91,9 @@ alter table user_performance_log
|
||||
|
||||
create table user_performance_benefit
|
||||
(
|
||||
id bigint not null primary key,
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
id int8 not null primary key,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
performance decimal(16, 4) default 0,
|
||||
own_performance decimal(16, 4) default 0,
|
||||
@@ -129,14 +129,14 @@ alter table user_performance_benefit
|
||||
|
||||
create table user_performance_benefit_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
id int8 not null primary key,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
amount decimal(14, 4) default 0,
|
||||
source_id bigint,
|
||||
source_id int8,
|
||||
source_detail text,
|
||||
order_id bigint,
|
||||
order_id int8,
|
||||
type int default 1,
|
||||
statistical_date timestamp(6),
|
||||
channel varchar(64),
|
||||
@@ -1,6 +1,6 @@
|
||||
create table user_benefit
|
||||
(
|
||||
id bigint not null primary key,
|
||||
id int8 not null primary key,
|
||||
amount decimal(14, 2) default 0,
|
||||
version int default 1,
|
||||
create_user int8,
|
||||
@@ -30,15 +30,15 @@ alter table user_benefit
|
||||
|
||||
create table user_benefit_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
id int8 not null primary key,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
amount decimal(14, 2) default 0,
|
||||
source_id bigint,
|
||||
user_pack_id bigint,
|
||||
source_id int8,
|
||||
user_pack_id int8,
|
||||
source_detail text,
|
||||
order_id bigint,
|
||||
order_id int8,
|
||||
type int default 1,
|
||||
statistical_date timestamp(6),
|
||||
channel varchar(64),
|
||||
@@ -85,7 +85,7 @@ alter table user_benefit_log
|
||||
|
||||
create table user_commission
|
||||
(
|
||||
id bigint not null primary key,
|
||||
id int8 not null primary key,
|
||||
amount decimal(14, 2) default 0,
|
||||
version int default 1,
|
||||
create_user int8,
|
||||
@@ -116,14 +116,14 @@ alter table user_commission
|
||||
|
||||
create table user_commission_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
id int8 not null primary key,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
amount decimal(14, 2) default 0,
|
||||
source_id bigint,
|
||||
source_id int8,
|
||||
source_detail text,
|
||||
order_id bigint,
|
||||
order_id int8,
|
||||
type int default 1,
|
||||
statistical_date timestamp(6),
|
||||
channel varchar(64),
|
||||
@@ -169,7 +169,7 @@ alter table user_commission_log
|
||||
|
||||
create table user_cash
|
||||
(
|
||||
id bigint not null primary key,
|
||||
id int8 not null primary key,
|
||||
amount decimal(14, 2) default 0,
|
||||
version int default 1,
|
||||
create_user int8,
|
||||
@@ -200,14 +200,14 @@ alter table user_cash
|
||||
|
||||
create table user_cash_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
id int8 not null primary key,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
amount decimal(14, 2) default 0,
|
||||
source_id bigint,
|
||||
source_id int8,
|
||||
source_detail text,
|
||||
order_id bigint,
|
||||
order_id int8,
|
||||
type int default 1,
|
||||
statistical_date timestamp(6),
|
||||
channel varchar(64),
|
||||
@@ -253,7 +253,7 @@ alter table user_cash_log
|
||||
|
||||
create table user_mall_integral
|
||||
(
|
||||
id bigint not null primary key,
|
||||
id int8 not null primary key,
|
||||
amount decimal(14, 2) default 0,
|
||||
version int default 1,
|
||||
create_user int8,
|
||||
@@ -282,14 +282,14 @@ alter table user_mall_integral
|
||||
|
||||
create table user_mall_integral_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
id int8 not null primary key,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
amount decimal(14, 2) default 0,
|
||||
source_id bigint,
|
||||
source_id int8,
|
||||
source_detail text,
|
||||
order_id bigint,
|
||||
order_id int8,
|
||||
type int default 1,
|
||||
statistical_date timestamp(6),
|
||||
channel varchar(64),
|
||||
@@ -336,9 +336,9 @@ alter table user_mall_integral_log
|
||||
|
||||
create table user_gains_day
|
||||
(
|
||||
id bigint not null primary key,
|
||||
id int8 not null primary key,
|
||||
statistical_date timestamp(6),
|
||||
user_id bigint,
|
||||
user_id int8,
|
||||
amount decimal(14, 2) default 0,
|
||||
gains_details text,
|
||||
is_credited integer default 0,
|
||||
@@ -376,15 +376,15 @@ alter table user_gains_day
|
||||
|
||||
create table user_gains_day_log
|
||||
(
|
||||
id bigint not null primary key,
|
||||
user_id bigint,
|
||||
user_phone bigint,
|
||||
id int8 not null primary key,
|
||||
user_id int8,
|
||||
user_phone int8,
|
||||
user_name varchar(128),
|
||||
amount decimal(14, 2) default 0,
|
||||
source_id bigint,
|
||||
source_id int8,
|
||||
source_detail text,
|
||||
gains_details text,
|
||||
order_id bigint,
|
||||
order_id int8,
|
||||
statistical_date timestamp(6),
|
||||
is_summary integer default 0,
|
||||
remark text,
|
||||
@@ -1,8 +1,8 @@
|
||||
CREATE TABLE vendor_daily_activity
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
settle_date DATE NOT NULL,
|
||||
region_id BIGINT NOT NULL,
|
||||
region_id int8 NOT NULL,
|
||||
region_level INTEGER DEFAULT 0 NOT NULL,
|
||||
total_amount INTEGER DEFAULT 0 NOT NULL,
|
||||
activity_amount INTEGER DEFAULT 0 NOT NULL,
|
||||
@@ -37,9 +37,9 @@ COMMENT ON COLUMN vendor_daily_activity.is_deleted IS '是否已删除';
|
||||
|
||||
CREATE TABLE vendor_daily_profit
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
settle_date DATE NOT NULL,
|
||||
region_id BIGINT NOT NULL,
|
||||
region_id int8 NOT NULL,
|
||||
region_level INTEGER DEFAULT 0 NOT NULL,
|
||||
profit_type INTEGER DEFAULT 0 NOT NULL,
|
||||
order_type INTEGER NOT NULL,
|
||||
@@ -77,9 +77,9 @@ COMMENT ON COLUMN vendor_daily_profit.is_deleted IS '是否已删除';
|
||||
|
||||
CREATE TABLE vendor_info
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
region_id BIGINT NOT NULL,
|
||||
user_id BIGINT NOT NULL,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
region_id int8 NOT NULL,
|
||||
user_id int8 NOT NULL,
|
||||
company_name VARCHAR(200) DEFAULT '' NOT NULL,
|
||||
legal_person_name VARCHAR(200) DEFAULT '' NOT NULL,
|
||||
id_card VARCHAR(50) DEFAULT '' NOT NULL,
|
||||
@@ -89,7 +89,7 @@ CREATE TABLE vendor_info
|
||||
id_card_handheld VARCHAR(200) DEFAULT '' NOT NULL,
|
||||
business_license VARCHAR(200) DEFAULT '' NOT NULL,
|
||||
audit_status INTEGER DEFAULT 1 NOT NULL,
|
||||
auditor BIGINT NULL,
|
||||
auditor int8 NULL,
|
||||
reject_reason VARCHAR(200) DEFAULT '' NOT NULL,
|
||||
create_user int8 NULL,
|
||||
create_dept int8 NULL,
|
||||
@@ -129,8 +129,8 @@ COMMENT ON COLUMN vendor_info.apply_time IS '申请时间';
|
||||
|
||||
CREATE TABLE vendor_payout_apply
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
user_id BIGINT DEFAULT 0 NOT NULL,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
user_id int8 DEFAULT 0 NOT NULL,
|
||||
apply_amount DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
|
||||
company_fully_name VARCHAR(255) NULL,
|
||||
bank_account VARCHAR(255) NULL,
|
||||
@@ -175,12 +175,12 @@ COMMENT ON COLUMN vendor_payout_apply.is_deleted IS '是否已删除';
|
||||
|
||||
CREATE TABLE vendor_profit_detail
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
order_id BIGINT DEFAULT 0 NOT NULL,
|
||||
user_id BIGINT DEFAULT 0 NOT NULL,
|
||||
district_id BIGINT DEFAULT 0 NOT NULL,
|
||||
city_id BIGINT DEFAULT 0 NOT NULL,
|
||||
province_id BIGINT DEFAULT 0 NOT NULL,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
order_id int8 DEFAULT 0 NOT NULL,
|
||||
user_id int8 DEFAULT 0 NOT NULL,
|
||||
district_id int8 DEFAULT 0 NOT NULL,
|
||||
city_id int8 DEFAULT 0 NOT NULL,
|
||||
province_id int8 DEFAULT 0 NOT NULL,
|
||||
order_type INTEGER DEFAULT 0 NOT NULL,
|
||||
payment_type INTEGER DEFAULT 0 NOT NULL,
|
||||
actual_amount DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
|
||||
@@ -221,13 +221,13 @@ COMMENT ON COLUMN vendor_profit_detail.is_deleted IS '是否已删除';
|
||||
|
||||
CREATE TABLE vendor_regions
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
name VARCHAR(50) NULL,
|
||||
level INTEGER NULL,
|
||||
pid INTEGER DEFAULT 0 NULL,
|
||||
lon DECIMAL(10, 6) NULL,
|
||||
lat DECIMAL(10, 6) NULL,
|
||||
vendor_id BIGINT NULL,
|
||||
vendor_id int8 NULL,
|
||||
token_amount DECIMAL(10, 2) DEFAULT 0.00 NULL,
|
||||
points_amount DECIMAL(10, 2) DEFAULT 0.00 NULL,
|
||||
apply_amount DECIMAL(10, 2) DEFAULT 0.00 NULL,
|
||||
@@ -253,7 +253,7 @@ COMMENT ON COLUMN vendor_regions.region_code IS '区划编号';
|
||||
|
||||
CREATE TABLE vendor_virtual_data_activity
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
region_id INTEGER NOT NULL,
|
||||
user_amount INTEGER DEFAULT 0 NOT NULL,
|
||||
active_user_amount INTEGER DEFAULT 0 NOT NULL,
|
||||
@@ -291,7 +291,7 @@ COMMENT ON COLUMN vendor_virtual_data_activity.is_deleted IS '是否已删除';
|
||||
|
||||
CREATE TABLE vendor_virtual_data_profit
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
region_id INTEGER NOT NULL,
|
||||
settle_date DATE NOT NULL,
|
||||
online_amount DECIMAL(10, 2) DEFAULT 0.00 NOT NULL,
|
||||
@@ -1,6 +1,6 @@
|
||||
CREATE TABLE prize_spu
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
spu_name VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
main_img VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
detail_img text NULL,
|
||||
@@ -36,17 +36,17 @@ COMMENT ON COLUMN prize_spu.is_deleted IS '是否已删除';
|
||||
|
||||
CREATE TABLE prize_spu_order
|
||||
(
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
user_id BIGINT DEFAULT 0 NOT NULL,
|
||||
id int8 NOT NULL PRIMARY KEY,
|
||||
user_id int8 DEFAULT 0 NOT NULL,
|
||||
user_name VARCHAR(128) NULL,
|
||||
user_phone bigint NULL,
|
||||
spu_id bigint NULL,
|
||||
user_phone int8 NULL,
|
||||
spu_id int8 NULL,
|
||||
spu_name VARCHAR(255) NULL,
|
||||
main_img VARCHAR(255) NULL,
|
||||
detail_img text NULL,
|
||||
quantity INTEGER DEFAULT 0 NOT NULL,
|
||||
order_status INTEGER DEFAULT 0 NOT NULL,
|
||||
version BIGINT DEFAULT 0 NULL,
|
||||
version int8 DEFAULT 0 NULL,
|
||||
create_user int8 NULL,
|
||||
create_dept int8 NULL,
|
||||
create_time TIMESTAMP(6) NULL,
|
||||
@@ -1,4 +0,0 @@
|
||||
INSERT INTO "<table_name>" ("id", "name", "url", "sort", "type", "ads_time", "is_deleted", "create_time", "create_user", "update_time", "update_user", "create_dept", "status") VALUES (2017839712136810498, '广告1', '11111', 1, 1, 5, 0, '2026-02-01 13:57:31', 1123598821738675201, '2026-02-01 13:57:44.351', 1123598821738675201, 1123598813738675201, 1);
|
||||
INSERT INTO "<table_name>" ("id", "name", "url", "sort", "type", "ads_time", "is_deleted", "create_time", "create_user", "update_time", "update_user", "create_dept", "status") VALUES (2017839810455490561, '广告2', '22222', 2, 1, 5, 0, '2026-02-01 13:57:55.123', 1123598821738675201, '2026-02-01 13:57:55.123', 1123598821738675201, 1123598813738675201, 1);
|
||||
INSERT INTO "<table_name>" ("id", "name", "url", "sort", "type", "ads_time", "is_deleted", "create_time", "create_user", "update_time", "update_user", "create_dept", "status") VALUES (2017839854445350914, '广告3', '33333', 3, 1, 5, 0, '2026-02-01 13:58:05.608', 1123598821738675201, '2026-02-01 13:58:05.608', 1123598821738675201, 1123598813738675201, 1);
|
||||
INSERT INTO "<table_name>" ("id", "name", "url", "sort", "type", "ads_time", "is_deleted", "create_time", "create_user", "update_time", "update_user", "create_dept", "status") VALUES (2017839920576942081, '广告4', '44444', 4, 1, 5, 0, '2026-02-01 13:58:21.378', 1123598821738675201, '2026-02-01 13:58:21.378', 1123598821738675201, 1123598813738675201, 1);
|
||||
@@ -1,2 +0,0 @@
|
||||
INSERT INTO "<table_name>" ("id", "client_id", "client_secret", "resource_ids", "scope", "authorized_grant_types", "web_server_redirect_uri", "authorities", "access_token_validity", "refresh_token_validity", "additional_information", "autoapprove", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2016023363404103681, 'appFormal', 'uP1mG5gT1sC6tG4mT7nU7fL9yP6yW1sY', '', 'all', 'refresh_token,password,sms_code,register', 'http://localhost:8081', '', 86400, 604800, NULL, 'true', 1123598821738675201, 1123598813738675201, '2026-01-27 13:40:00', 1123598821738675201, '2026-01-30 21:11:21.64', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "client_id", "client_secret", "resource_ids", "scope", "authorized_grant_types", "web_server_redirect_uri", "authorities", "access_token_validity", "refresh_token_validity", "additional_information", "autoapprove", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017525783019851778, 'appOffline', 'gL8nS4oV2cS8fC2zD9tB3xB9zY8vA3hE9xS2uR7gC2tO0sO8pE4gC4sF6kB7bN7q', '', 'all', 'refresh_token,password,sms_code', 'http://localhost:8081', '', 259200, 604800, NULL, 'true', 1123598821738675201, 1123598813738675201, '2026-01-31 17:10:05', 1123598821738675201, '2026-01-31 17:10:19.598', 1, 0);
|
||||
@@ -1,231 +0,0 @@
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511999274860547, 2016511999274860546, 'ads_add', '新增', 'add', '/userPackInfo/ads/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511999274860548, 2016511999274860546, 'ads_edit', '修改', 'edit', '/userPackInfo/ads/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511999274860549, 2016511999274860546, 'ads_delete', '删除', 'delete', '/api/blade-ads/ads/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511999274860550, 2016511999274860546, 'ads_view', '查看', 'view', '/userPackInfo/ads/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986561925122, 2016511986561925121, 'level_info_add', '新增', 'add', '/customer/levelInfo/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016444412729917441, 0, 'customer', '用户信息', 'menu', '/customer', 'iconfont iconicon_subordinate', 9, 1, -1, 1, '', '', 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016445572647911425, 0, 'cashAccount', '资金账户', 'menu', '/cashAccount', 'iconfont icon-biaodanzujian-biaoge', 10, 1, -1, 1, '', '', 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016445919294554113, 0, 'mall', '商城', 'menu', '/mall', 'iconfont iconicon_message', 11, 1, NULL, 1, NULL, '', 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016446167375052801, 0, 'order', '订单管理', 'menu', '/order', 'iconfont iconicon_message', 12, 1, NULL, 1, NULL, '', 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016446332399943682, 0, 'userPackInfo', '积分包管理', 'menu', '/userPackInfo', 'iconfont iconicon_principal', 13, 1, NULL, 1, NULL, '', 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016446547672596482, 0, 'userPoint', '用户积分管理', 'menu', '/userPoint', 'iconfont iconicon_message', 14, 1, NULL, 1, NULL, '', 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986561925123, 2016511986561925121, 'level_info_edit', '修改', 'edit', '/customer/levelInfo/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986561925124, 2016511986561925121, 'level_info_delete', '删除', 'delete', '/api/blade-level-info/level_info/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986561925125, 2016511986561925121, 'level_info_view', '查看', 'view', '/customer/levelInfo/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987606306819, 2016511987606306818, 'cart_add', '新增', 'add', '/mall/mallCart/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987606306820, 2016511987606306818, 'cart_edit', '修改', 'edit', '/mall/mallCart/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987606306821, 2016511987606306818, 'cart_delete', '删除', 'delete', '/api/blade-mall-cart/cart/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987606306822, 2016511987606306818, 'cart_view', '查看', 'view', '/mall/mallCart/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989300805634, 2016511989300805633, 'detailOrder_add', '新增', 'add', '/order/mallDetailOrder/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989300805635, 2016511989300805633, 'detailOrder_edit', '修改', 'edit', '/order/mallDetailOrder/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989300805636, 2016511989300805633, 'detailOrder_delete', '删除', 'delete', '/api/blade-mall-detailorder/detailOrder/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989300805637, 2016511989300805633, 'detailOrder_view', '查看', 'view', '/order/mallDetailOrder/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988126400515, 2016511988126400514, 'spu_add', '新增', 'add', '/mall/mallSpu/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988126400516, 2016511988126400514, 'spu_edit', '修改', 'edit', '/mall/mallSpu/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988126400517, 2016511988126400514, 'spu_delete', '删除', 'delete', '/api/blade-mall-spu/spu/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988126400518, 2016511988126400514, 'spu_view', '查看', 'view', '/mall/mallSpu/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989883813891, 2016511989883813890, 'summaryOrder_add', '新增', 'add', '/order/mallSummaryOrder/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989883813892, 2016511989883813890, 'summaryOrder_edit', '修改', 'edit', '/order/mallSummaryOrder/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989883813893, 2016511989883813890, 'summaryOrder_delete', '删除', 'delete', '/api/blade-mall-summaryorder/summaryOrder/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989883813894, 2016511989883813890, 'summaryOrder_view', '查看', 'view', '/order/mallSummaryOrder/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511990412296194, 2016511990412296193, 'summaryOrderAfter_add', '新增', 'add', '/order/mallSummaryOrderAfter/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511990412296195, 2016511990412296193, 'summaryOrderAfter_edit', '修改', 'edit', '/order/mallSummaryOrderAfter/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511990412296196, 2016511990412296193, 'summaryOrderAfter_delete', '删除', 'delete', '/api/blade-mall-summaryorderafter/summaryOrderAfter/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511990412296197, 2016511990412296193, 'summaryOrderAfter_view', '查看', 'view', '/order/mallSummaryOrderAfter/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985072947202, 2016511985072947201, 'info_add', '新增', 'add', '/userPackInfo/appPackageInfo/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985072947203, 2016511985072947201, 'info_edit', '修改', 'edit', '/userPackInfo/appPackageInfo/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985072947204, 2016511985072947201, 'info_delete', '删除', 'delete', '/blade-app-package/info/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985072947205, 2016511985072947201, 'info_view', '查看', 'view', '/userPackInfo/appPackageInfo/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997844602884, 2016511997844602881, 'info_delete', '删除', 'delete', '/api/blade-app-regions/info/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988646494210, 2016511988646494209, 'address_add', '新增', 'add', '/mall/userAddress/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988646494211, 2016511988646494209, 'address_edit', '修改', 'edit', '/mall/userAddress/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988646494212, 2016511988646494209, 'address_delete', '删除', 'delete', '/api/blade-user-address/address/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988646494213, 2016511988646494209, 'address_view', '查看', 'view', '/mall/userAddress/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979087675395, 2016511979087675394, 'benefit_add', '新增', 'add', '/userPoint/userBenefit/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979087675396, 2016511979087675394, 'benefit_edit', '修改', 'edit', '/userPoint/userBenefit/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979087675397, 2016511979087675394, 'benefit_delete', '删除', 'delete', '/api/blade-user-benefit/benefit/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979087675398, 2016511979087675394, 'benefit_view', '查看', 'view', '/userPoint/userBenefit/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998809292802, 2016511998809292801, 'benefitLog_add', '新增', 'add', '/userPoint/userBenefitLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998809292803, 2016511998809292801, 'benefitLog_edit', '修改', 'edit', '/userPoint/userBenefitLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998809292804, 2016511998809292801, 'benefitLog_delete', '删除', 'delete', '/api/blade-user-benefitlog/benefitLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998809292805, 2016511998809292801, 'benefitLog_view', '查看', 'view', '/userPoint/userBenefitLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985072947201, 2016446332399943682, 'info', '积分包信息', 'menu', '/userPackInfo/appPackageInfo', NULL, 2, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989883813890, 2016446167375052801, 'summaryOrder', '商城总订单', 'menu', '/order/mallSummaryOrder', NULL, 2, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989300805633, 2016446167375052801, 'detailOrder', '商城详情订单', 'menu', '/order/mallDetailOrder', NULL, 3, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988126400514, 2016445919294554113, 'spu', '商城spu', 'menu', '/mall/mallSpu', NULL, 2, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987606306818, 2016445919294554113, 'cart', '商城购物车', 'menu', '/mall/mallCart', NULL, 4, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511990412296193, 2016446167375052801, 'summaryOrderAfter', '商品售后订单', 'menu', '/order/mallSummaryOrderAfter', NULL, 4, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979087675394, 2016446547672596482, 'benefit', '用户福利值', 'menu', '/userPoint/userBenefit', NULL, 3, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988646494209, 2016445919294554113, 'address', '用户地址', 'menu', '/mall/userAddress', NULL, 3, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979599380483, 2016511979599380482, 'cash_add', '新增', 'add', '/userPoint/userCash/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979599380484, 2016511979599380482, 'cash_edit', '修改', 'edit', '/userPoint/userCash/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979599380485, 2016511979599380482, 'cash_delete', '删除', 'delete', '/api/blade-user-cash/cash/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979599380486, 2016511979599380482, 'cash_view', '查看', 'view', '/userPoint/userCash/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998356307971, 2016511998356307970, 'cashLog_add', '新增', 'add', '/userPoint/userCashLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998356307972, 2016511998356307970, 'cashLog_edit', '修改', 'edit', '/userPoint/userCashLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998356307973, 2016511998356307970, 'cashLog_delete', '删除', 'delete', '/api/blade-user-cashlog/cashLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998356307974, 2016511998356307970, 'cashLog_view', '查看', 'view', '/userPoint/userCashLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980115279874, 2016511980115279873, 'commission_add', '新增', 'add', '/userPoint/userCommission/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980115279875, 2016511980115279873, 'commission_edit', '修改', 'edit', '/userPoint/userCommission/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980115279876, 2016511980115279873, 'commission_delete', '删除', 'delete', '/api/blade-user-commission/commission/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980115279877, 2016511980115279873, 'commission_view', '查看', 'view', '/userPoint/userCommission/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991586701314, 2016511991586701313, 'commissionAccount_add', '新增', 'add', '/cashAccount/userCommissionAccount/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991586701315, 2016511991586701313, 'commissionAccount_edit', '修改', 'edit', '/cashAccount/userCommissionAccount/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991586701316, 2016511991586701313, 'commissionAccount_delete', '删除', 'delete', '/api/blade-user-commissionaccount/commissionAccount/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991586701317, 2016511991586701313, 'commissionAccount_view', '查看', 'view', '/cashAccount/userCommissionAccount/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992102600706, 2016511992102600705, 'commissionAdvertisingLog_add', '新增', 'add', '/cashAccount/userCommissionAdvertisingLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992102600707, 2016511992102600705, 'commissionAdvertisingLog_edit', '修改', 'edit', '/cashAccount/userCommissionAdvertisingLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992102600708, 2016511992102600705, 'commissionAdvertisingLog_delete', '删除', 'delete', '/api/blade-user-commissionadvertisinglog/commissionAdvertisingLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992102600709, 2016511992102600705, 'commissionAdvertisingLog_view', '查看', 'view', '/cashAccount/userCommissionAdvertisingLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994174586883, 2016511994174586882, 'commissionAgencyLog_add', '新增', 'add', '/cashAccount/userCommissionAgencyLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994174586884, 2016511994174586882, 'commissionAgencyLog_edit', '修改', 'edit', '/cashAccount/userCommissionAgencyLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994174586885, 2016511994174586882, 'commissionAgencyLog_delete', '删除', 'delete', '/api/blade-user-commissionagencylog/commissionAgencyLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994174586886, 2016511994174586882, 'commissionAgencyLog_view', '查看', 'view', '/cashAccount/userCommissionAgencyLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994694680578, 2016511994694680577, 'commissionCoCreatorLog_add', '新增', 'add', '/cashAccount/userCommissionCoCreatorLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994694680579, 2016511994694680577, 'commissionCoCreatorLog_edit', '修改', 'edit', '/cashAccount/userCommissionCoCreatorLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994694680580, 2016511994694680577, 'commissionCoCreatorLog_delete', '删除', 'delete', '/api/blade-user-commissioncocreatorlog/commissionCoCreatorLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994694680581, 2016511994694680577, 'commissionCoCreatorLog_view', '查看', 'view', '/cashAccount/userCommissionCoCreatorLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995218968579, 2016511995218968578, 'commissionDirectPushLog_add', '新增', 'add', '/cashAccount/userCommissionDirectPushLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995218968580, 2016511995218968578, 'commissionDirectPushLog_edit', '修改', 'edit', '/cashAccount/userCommissionDirectPushLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995218968581, 2016511995218968578, 'commissionDirectPushLog_delete', '删除', 'delete', '/api/blade-user-commissiondirectpushlog/commissionDirectPushLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995218968582, 2016511995218968578, 'commissionDirectPushLog_view', '查看', 'view', '/cashAccount/userCommissionDirectPushLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995743256578, 2016511995743256577, 'commissionGoodsCostLog_add', '新增', 'add', '/cashAccount/userCommissionGoodsCostLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995743256579, 2016511995743256577, 'commissionGoodsCostLog_edit', '修改', 'edit', '/cashAccount/userCommissionGoodsCostLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995743256580, 2016511995743256577, 'commissionGoodsCostLog_delete', '删除', 'delete', '/api/blade-user-commissiongoodscostlog/commissionGoodsCostLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995743256581, 2016511995743256577, 'commissionGoodsCostLog_view', '查看', 'view', '/cashAccount/userCommissionGoodsCostLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980631179267, 2016511980631179266, 'commissionLog_add', '新增', 'add', '/userPoint/userCommissionLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980631179268, 2016511980631179266, 'commissionLog_edit', '修改', 'edit', '/userPoint/userCommissionLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980631179269, 2016511980631179266, 'commissionLog_delete', '删除', 'delete', '/api/blade-user-commissionlog/commissionLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980631179270, 2016511980631179266, 'commissionLog_view', '查看', 'view', '/userPoint/userCommissionLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996863135746, 2016511996863135745, 'commissionServiceProviderLog_add', '新增', 'add', '/cashAccount/userCommissionServiceProviderLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996863135747, 2016511996863135745, 'commissionServiceProviderLog_edit', '修改', 'edit', '/cashAccount/userCommissionServiceProviderLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996863135748, 2016511996863135745, 'commissionServiceProviderLog_delete', '删除', 'delete', '/api/blade-user-commissionserviceproviderlog/commissionServiceProviderLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996863135749, 2016511996863135745, 'commissionServiceProviderLog_view', '查看', 'view', '/cashAccount/userCommissionServiceProviderLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997387423747, 2016511997387423746, 'commissionUserPointLog_add', '新增', 'add', '/cashAccount/userCommissionUserPointLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997387423748, 2016511997387423746, 'commissionUserPointLog_edit', '修改', 'edit', '/cashAccount/userCommissionUserPointLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997387423749, 2016511997387423746, 'commissionUserPointLog_delete', '删除', 'delete', '/api/blade-user-commissionuserpointlog/commissionUserPointLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997387423750, 2016511997387423746, 'commissionUserPointLog_view', '查看', 'view', '/cashAccount/userCommissionUserPointLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981159661571, 2016511981159661570, 'gainsDay_add', '新增', 'add', '/userPoint/userGainsDay/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981159661572, 2016511981159661570, 'gainsDay_edit', '修改', 'edit', '/userPoint/userGainsDay/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981159661573, 2016511981159661570, 'gainsDay_delete', '删除', 'delete', '/api/blade-user-gainsday/gainsDay/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981159661574, 2016511981159661570, 'gainsDay_view', '查看', 'view', '/userPoint/userGainsDay/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981612646403, 2016511981612646402, 'gainsDayLog_add', '新增', 'add', '/userPoint/userGainsDayLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981612646404, 2016511981612646402, 'gainsDayLog_edit', '修改', 'edit', '/userPoint/userGainsDayLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981612646405, 2016511981612646402, 'gainsDayLog_delete', '删除', 'delete', '/api/blade-user-gainsdaylog/gainsDayLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981612646406, 2016511981612646402, 'gainsDayLog_view', '查看', 'view', '/userPoint/userGainsDayLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992614305794, 2016511992614305793, 'genealogy_add', '新增', 'add', '/customer/userGenealogy/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992614305795, 2016511992614305793, 'genealogy_edit', '修改', 'edit', '/customer/userGenealogy/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992614305796, 2016511992614305793, 'genealogy_delete', '删除', 'delete', '/api/blade-user-genealogy/genealogy/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992614305797, 2016511992614305793, 'genealogy_view', '查看', 'view', '/customer/userGenealogy/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993197314050, 2016511993197314049, 'increaseDay_add', '新增', 'add', '/customer/userIncreaseDay/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993197314051, 2016511993197314049, 'increaseDay_edit', '修改', 'edit', '/customer/userIncreaseDay/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993197314052, 2016511993197314049, 'increaseDay_delete', '删除', 'delete', '/api/blade-user-increaseday/increaseDay/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993197314053, 2016511993197314049, 'increaseDay_view', '查看', 'view', '/customer/userIncreaseDay/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511978492084226, 2016511978492084225, 'levelLog_add', '新增', 'add', '/customer/userLevelLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511978492084227, 2016511978492084225, 'levelLog_edit', '修改', 'edit', '/customer/userLevelLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511978492084228, 2016511978492084225, 'levelLog_delete', '删除', 'delete', '/api/blade-userLevellog/levelLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511978492084229, 2016511978492084225, 'levelLog_view', '查看', 'view', '/customer/userLevelLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982136934402, 2016511982136934401, 'mallIntegral_add', '新增', 'add', '/userPoint/userMallIntegral/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982136934403, 2016511982136934401, 'mallIntegral_edit', '修改', 'edit', '/userPoint/userMallIntegral/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982136934404, 2016511982136934401, 'mallIntegral_delete', '删除', 'delete', '/api/blade-user-mallintegral/mallIntegral/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982136934405, 2016511982136934401, 'mallIntegral_view', '查看', 'view', '/userPoint/userMallIntegral/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982589919235, 2016511982589919234, 'mallIntegralLog_add', '新增', 'add', '/userPoint/userMallIntegralLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982589919236, 2016511982589919234, 'mallIntegralLog_edit', '修改', 'edit', '/userPoint/userMallIntegralLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982589919237, 2016511982589919234, 'mallIntegralLog_delete', '删除', 'delete', '/api/blade-user-mallintegrallog/mallIntegralLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982589919238, 2016511982589919234, 'mallIntegralLog_view', '查看', 'view', '/userPoint/userMallIntegralLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991016275970, 2016446167375052801, 'order', '用户订单', 'menu', '/order/userOrder', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991016275971, 2016511991016275970, 'order_add', '新增', 'add', '/order/userOrder/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991016275972, 2016511991016275970, 'order_edit', '修改', 'edit', '/order/userOrder/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991016275973, 2016511991016275970, 'order_delete', '删除', 'delete', '/api/blade-user-order/order/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991016275974, 2016511991016275970, 'order_view', '查看', 'view', '/order/userOrder/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985525932035, 2016511985525932034, 'packageInfo_add', '新增', 'add', '/userPackInfo/userPackageInfo/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985525932036, 2016511985525932034, 'packageInfo_edit', '修改', 'edit', '/userPackInfo/userPackageInfo/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985525932037, 2016511985525932034, 'packageInfo_delete', '删除', 'delete', '/api/blade-user-packageinfo/packageInfo/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985525932038, 2016511985525932034, 'packageInfo_view', '查看', 'view', '/userPackInfo/userPackageInfo/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986113134594, 2016511986113134593, 'packageInfoCopy_add', '新增', 'add', '/userPackInfo/userPackageInfoCopy/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986113134595, 2016511986113134593, 'packageInfoCopy_edit', '修改', 'edit', '/userPackInfo/userPackageInfoCopy/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986113134596, 2016511986113134593, 'packageInfoCopy_delete', '删除', 'delete', '/api/blade-user-packageinfocopy/packageInfoCopy/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986113134597, 2016511986113134593, 'packageInfoCopy_view', '查看', 'view', '/userPackInfo/userPackageInfoCopy/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983047098372, 2016511983047098369, 'performance_delete', '删除', 'delete', '/api/blade-user-performance/performance/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984091480068, 2016511984091480065, 'performanceBenefit_delete', '删除', 'delete', '/api/blade-user-performancebenefit/performanceBenefit/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984548659205, 2016511984548659202, 'performanceBenefitLog_delete', '删除', 'delete', '/api/blade-user-performancebenefitlog/performanceBenefitLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983634300933, 2016511983634300930, 'performanceLog_delete', '删除', 'delete', '/api/blade-user-performancelog/performanceLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993717407747, 2016511993717407746, 'tree_add', '新增', 'add', '/customer/userTree/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993717407748, 2016511993717407746, 'tree_edit', '修改', 'edit', '/customer/userTree/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993717407750, 2016511993717407746, 'tree_view', '查看', 'view', '/customer/userTree/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996271738882, 2016511996271738881, 'commissionOperationLog_add', '新增', 'add', '/cashAccount/userCommissionOperationLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996271738883, 2016511996271738881, 'commissionOperationLog_edit', '修改', 'edit', '/cashAccount/userCommissionOperationLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996271738884, 2016511996271738881, 'commissionOperationLog_delete', '删除', 'delete', '/api/blade-user-commissionoperationlog/commissionOperationLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996271738885, 2016511996271738881, 'commissionOperationLog_view', '查看', 'view', '/cashAccount/userCommissionOperationLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997844602885, 2016511997844602881, 'info_view', '查看', 'view', '/customer/appRegionsInfo/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997844602882, 2016511997844602881, 'info_add', '新增', 'add', '/customer/appRegionsInfo/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997844602883, 2016511997844602881, 'info_edit', '修改', 'edit', '/customer/appRegionsInfo/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993717407749, 2016511993717407746, 'tree_delete', '删除', 'delete', '/api/blade-user-tree/tree/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984091480069, 2016511984091480065, 'performanceBenefit_view', '查看', 'view', '/userPoint/userPerformanceBenefit/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984091480065, 2016446547672596482, 'performanceBenefit', '用户福利值业绩', 'menu', '/userPoint/userPerformanceBenefit', NULL, 11, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984091480067, 2016511984091480065, 'performanceBenefit_edit', '修改', 'edit', '/userPoint/userPerformanceBenefit/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984548659202, 2016446547672596482, 'performanceBenefitLog', '用户福利值业绩日志', 'menu', '/userPoint/userPerformanceLog', NULL, 13, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983047098371, 2016511983047098369, 'performance_edit', '修改', 'edit', '/userPoint/userPerformance/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984548659206, 2016511984548659202, 'performanceBenefitLog_view', '查看', 'view', '/userPoint/userPerformanceLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983634300934, 2016511983634300930, 'performanceLog_view', '查看', 'view', '/userPoint/userPerformanceLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984548659203, 2016511984548659202, 'performanceBenefitLog_add', '新增', 'add', '/userPoint/userPerformanceLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983634300931, 2016511983634300930, 'performanceLog_add', '新增', 'add', '/userPoint/userPerformanceLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996271738881, 2016445572647911425, 'commissionOperationLog', '5%运营佣金流水', 'menu', '/cashAccount/userCommissionOperationLog', NULL, 5, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984548659204, 2016511984548659202, 'performanceBenefitLog_edit', '修改', 'edit', '/userPoint/userPerformanceLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984091480066, 2016511984091480065, 'performanceBenefit_add', '新增', 'add', '/userPoint/userPerformanceBenefit/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983634300932, 2016511983634300930, 'performanceLog_edit', '修改', 'edit', '/userPoint/userPerformanceLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983047098373, 2016511983047098369, 'performance_view', '查看', 'view', '/userPoint/userPerformance/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993717407746, 2016444412729917441, 'tree', '用户树结构', 'menu', '/customer/userTree', NULL, 2, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997844602881, 2016444412729917441, 'info', '地区详情', 'menu', '/customer/appRegionsInfo', NULL, 6, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986113134593, 2016446332399943682, 'packageInfoCopy', '用户积分包详细信息', 'menu', '/userPackInfo/userPackageInfoCopy', NULL, 4, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983634300930, 2016446547672596482, 'performanceLog', '用户现金业绩日志', 'menu', '/userPoint/userPerformanceLog', NULL, 10, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983047098370, 2016511983047098369, 'performance_add', '新增', 'add', '/userPoint/userPerformance/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016894266199486466, 2016445919294554113, 'category', '商品分类', 'menu', '/mall/category', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016894266199486467, 2016894266199486466, 'category_add', '新增', 'add', '/mall/category/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016894266199486468, 2016894266199486466, 'category_edit', '修改', 'edit', '/mall/category/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016894266199486469, 2016894266199486466, 'category_delete', '删除', 'delete', '/api/blade-category/category/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016894266199486470, 2016894266199486466, 'category_view', '查看', 'view', '/mall/category/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511999274860546, 2016446332399943682, 'ads', '广告', 'menu', '/userPackInfo/ads', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982136934401, 2016446547672596482, 'mallIntegral', '用户商城积分', 'menu', '/userPoint/userMallIntegral', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991586701313, 2016445572647911425, 'commissionAccount', '用户佣金账户', 'menu', '/cashAccount/userCommissionAccount', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992614305793, 2016444412729917441, 'genealogy', '用户族谱', 'menu', '/customer/userGenealogy', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511978492084225, 2016444412729917441, 'levelLog', '用户等级日志', 'menu', '/customer/userLevelLog', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996863135745, 2016445572647911425, 'commissionServiceProviderLog', '5%服务商佣金流水', 'menu', '/cashAccount/userCommissionServiceProviderLog', NULL, 7, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985525932034, 2016446332399943682, 'packageInfo', '用户积分包信息', 'menu', '/userPackInfo/userPackageInfo', NULL, 3, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982589919234, 2016446547672596482, 'mallIntegralLog', '用户商城积分流水', 'menu', '/userPoint/userMallIntegralLog', NULL, 2, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998809292801, 2016446547672596482, 'benefitLog', '用户福利值流水', 'menu', '/userPoint/userBenefitLog', NULL, 4, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998356307970, 2016446547672596482, 'cashLog', '用户现金券流水', 'menu', '/userPoint/userCashLog', NULL, 6, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979599380482, 2016446547672596482, 'cash', '用户现金券', 'menu', '/userPoint/userCash', NULL, 5, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980115279873, 2016446547672596482, 'commission', '用户佣金', 'menu', '/userPoint/userCommission', NULL, 7, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980631179266, 2016446547672596482, 'commissionLog', '用户佣金流水', 'menu', '/userPoint/userCommissionLog', NULL, 8, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983047098369, 2016446547672596482, 'performance', '用户现金业绩', 'menu', '/userPoint/userPerformance', NULL, 9, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981159661570, 2016446547672596482, 'gainsDay', '用户每日加速福利值汇总', 'menu', '/userPoint/userGainsDay', NULL, 12, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981612646402, 2016446547672596482, 'gainsDayLog', '用户每日加速福利值流水', 'menu', '/userPoint/userGainsDayLog', NULL, 14, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986561925121, 2016444412729917441, 'level_info', '等级信息', 'menu', '/customer/levelInfo', NULL, 4, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995743256577, 2016445572647911425, 'commissionGoodsCostLog', '25%商品成本佣金流水', 'menu', '/cashAccount/userCommissionGoodsCostLog', NULL, 2, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995218968578, 2016445572647911425, 'commissionDirectPushLog', '10%直推人佣金流水', 'menu', '/cashAccount/userCommissionDirectPushLog', NULL, 4, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993197314049, 2016444412729917441, 'increaseDay', '用户附加信息', 'menu', '/customer/userIncreaseDay', NULL, 3, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997387423746, 2016445572647911425, 'commissionUserPointLog', '30%购买人获取用户积分佣金流水', 'menu', '/cashAccount/userCommissionUserPointLog', NULL, 3, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987023298561, 2016444412729917441, 'dailySign', '用户看广告记录', 'menu', '/customer/userDailySign', NULL, 5, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992102600705, 2016445572647911425, 'commissionAdvertisingLog', '5%广告补贴佣金流水', 'menu', '/cashAccount/userCommissionAdvertisingLog', NULL, 6, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994174586882, 2016445572647911425, 'commissionAgencyLog', '15%极差代理佣金流水', 'menu', '/cashAccount/userCommissionAgencyLog', NULL, 8, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994694680577, 2016445572647911425, 'commissionCoCreatorLog', '5%联创佣金流水', 'menu', '/cashAccount/userCommissionCoCreatorLog', NULL, 9, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535723909122, 2016446332399943682, 'givePackLog', '划拨积分记录', 'menu', '/userPackInfo/givePackLog', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535723909123, 2017499535723909122, 'givePackLog_add', '新增', 'add', '/userPackInfo/givePackLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535723909124, 2017499535723909122, 'givePackLog_edit', '修改', 'edit', '/userPackInfo/givePackLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535723909125, 2017499535723909122, 'givePackLog_delete', '删除', 'delete', '/api/blade-givepacklog/givePackLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535723909126, 2017499535723909122, 'givePackLog_view', '查看', 'view', '/userPackInfo/givePackLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499534536921089, 2016445919294554113, 'prizeSpu', '奖池商品', 'menu', '/mall/prizeSpu', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499534536921090, 2017499534536921089, 'prizeSpu_add', '新增', 'add', '/mall/prizeSpu/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499534536921091, 2017499534536921089, 'prizeSpu_edit', '修改', 'edit', '/mall/prizeSpu/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499534536921092, 2017499534536921089, 'prizeSpu_delete', '删除', 'delete', '/api/blade-prizespu/prizeSpu/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499534536921093, 2017499534536921089, 'prizeSpu_view', '查看', 'view', '/mall/prizeSpu/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535132512257, 2016445919294554113, 'prizeSpuOrder', '奖池商品订单', 'menu', '/mall/prizeSpuOrder', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535132512258, 2017499535132512257, 'prizeSpuOrder_add', '新增', 'add', '/mall/prizeSpuOrder/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535132512259, 2017499535132512257, 'prizeSpuOrder_edit', '修改', 'edit', '/mall/prizeSpuOrder/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535132512260, 2017499535132512257, 'prizeSpuOrder_delete', '删除', 'delete', '/api/blade-prizespuorder/prizeSpuOrder/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535132512261, 2017499535132512257, 'prizeSpuOrder_view', '查看', 'view', '/mall/prizeSpuOrder/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987023298562, 2016511987023298561, 'dailySign_add', '新增', 'add', '/customer/userDailySign/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987023298563, 2016511987023298561, 'dailySign_edit', '修改', 'edit', '/customer/userDailySign/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987023298564, 2016511987023298561, 'dailySign_delete', '删除', 'delete', '/api/blade-dailysign/dailySign/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO "<table_name>" ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987023298565, 2016511987023298561, 'dailySign_view', '查看', 'view', '/customer/userDailySign/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
@@ -1,8 +0,0 @@
|
||||
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2016775545220931585, 'app用户注册默认角色信息', 'yichayilu:app:register:role-info', '{"avatar":"https://tse1-mm.cn.bing.net/th/id/OIP-C.BM4bF8_qipHCQu014y_8UgAAAA?w=220&h=217&c=7&r=0&o=7&pid=1.7&rm=3","deptId":"1123598813738675201","postId":"1123598817738675208","roleId":"1123598816738675202"}', 'app用户注册默认角色信息-包含角色、部门、岗位、头像', NULL, NULL, '2026-01-29 15:28:54.508', NULL, '2026-01-29 15:28:54.508', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2016918730731626498, '商城app用户隐私政策', 'yichayilu:app:formal:user:privacy', '隐私政策', '商城app用户隐私政策', NULL, NULL, '2026-01-30 00:57:52.597', NULL, '2026-01-30 00:57:52.597', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017183573497827329, '商城app订单类型', 'yichayilu:app:formal:order:model_type', '[{"code":"MALL","id":1,"name":"商城"}]', '商城app订单类型', NULL, NULL, '2026-01-30 18:30:16.033', NULL, '2026-01-30 18:30:16.033', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017184619259478018, '商城app订单现金兑换积分比例', 'yichayilu:app:formal:mall.cash.to.point.Rate', '0.3', '商城app订单现金兑换积分比例', NULL, NULL, '2026-01-30 18:34:25.363', NULL, '2026-01-30 18:34:25.363', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017185330957312002, '商城app随机立减比例范围', 'yichayilu:app:formal:mall.cut.amount.rang', '{"max":0.001,"min":0.01}', '商城app随机立减比例范围', NULL, NULL, '2026-01-30 18:37:15.043', NULL, '2026-01-30 18:37:15.043', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017186990513410049, '商城app支付类型', 'yichayilu:app:formal:pay.type', '{1:[{"code":"ALI","id":1,"name":"支付宝"},{"code":"WEI","id":2,"name":"微信"},{"code":"OFFLINE_PAY","id":3,"name":"线下支付"}]}', '商城app支付类型', NULL, NULL, '2026-01-30 18:43:50.713', NULL, '2026-01-30 18:43:50.713', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017835848230760450, '积分app是否看广告', 'yichayilu:app:dailysign.is.look.ads', 'true', '积分app是否看广告', NULL, NULL, '2026-02-01 13:42:10.446', NULL, '2026-02-01 13:42:10.446', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017836205065338882, '积分app看广告的时间范围', 'yichayilu:app:dailysign:watch.video.time.rang', '{"endTime":"22:00","startTime":"08:00"}', '积分app看广告的时间范围', NULL, NULL, '2026-02-01 13:43:35.522', NULL, '2026-02-01 13:43:35.522', 1, 0);
|
||||
4
doc/sql/insert_data/insert_ads.sql
Normal file
4
doc/sql/insert_data/insert_ads.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
INSERT INTO ads ("id", "name", "url", "sort", "type", "ads_time", "is_deleted", "create_time", "create_user", "update_time", "update_user", "create_dept", "status") VALUES (2017839712136810498, '广告1', '11111', 1, 1, 5, 0, '2026-02-01 13:57:31', 1123598821738675201, '2026-02-01 13:57:44.351', 1123598821738675201, 1123598813738675201, 1);
|
||||
INSERT INTO ads ("id", "name", "url", "sort", "type", "ads_time", "is_deleted", "create_time", "create_user", "update_time", "update_user", "create_dept", "status") VALUES (2017839810455490561, '广告2', '22222', 2, 1, 5, 0, '2026-02-01 13:57:55.123', 1123598821738675201, '2026-02-01 13:57:55.123', 1123598821738675201, 1123598813738675201, 1);
|
||||
INSERT INTO ads ("id", "name", "url", "sort", "type", "ads_time", "is_deleted", "create_time", "create_user", "update_time", "update_user", "create_dept", "status") VALUES (2017839854445350914, '广告3', '33333', 3, 1, 5, 0, '2026-02-01 13:58:05.608', 1123598821738675201, '2026-02-01 13:58:05.608', 1123598821738675201, 1123598813738675201, 1);
|
||||
INSERT INTO ads ("id", "name", "url", "sort", "type", "ads_time", "is_deleted", "create_time", "create_user", "update_time", "update_user", "create_dept", "status") VALUES (2017839920576942081, '广告4', '44444', 4, 1, 5, 0, '2026-02-01 13:58:21.378', 1123598821738675201, '2026-02-01 13:58:21.378', 1123598821738675201, 1123598813738675201, 1);
|
||||
2
doc/sql/insert_data/insert_blade_client.sql
Normal file
2
doc/sql/insert_data/insert_blade_client.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
INSERT INTO blade_client ("id", "client_id", "client_secret", "resource_ids", "scope", "authorized_grant_types", "web_server_redirect_uri", "authorities", "access_token_validity", "refresh_token_validity", "additional_information", "autoapprove", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2016023363404103681, 'appFormal', 'uP1mG5gT1sC6tG4mT7nU7fL9yP6yW1sY', '', 'all', 'refresh_token,password,sms_code,register', 'http://localhost:8081', '', 86400, 604800, NULL, 'true', 1123598821738675201, 1123598813738675201, '2026-01-27 13:40:00', 1123598821738675201, '2026-01-30 21:11:21.64', 1, 0);
|
||||
INSERT INTO blade_client ("id", "client_id", "client_secret", "resource_ids", "scope", "authorized_grant_types", "web_server_redirect_uri", "authorities", "access_token_validity", "refresh_token_validity", "additional_information", "autoapprove", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017525783019851778, 'appOffline', 'gL8nS4oV2cS8fC2zD9tB3xB9zY8vA3hE9xS2uR7gC2tO0sO8pE4gC4sF6kB7bN7q', '', 'all', 'refresh_token,password,sms_code', 'http://localhost:8081', '', 259200, 604800, NULL, 'true', 1123598821738675201, 1123598813738675201, '2026-01-31 17:10:05', 1123598821738675201, '2026-01-31 17:10:19.598', 1, 0);
|
||||
36
doc/sql/insert_data/insert_blade_dict.sql
Normal file
36
doc/sql/insert_data/insert_blade_dict.sql
Normal file
@@ -0,0 +1,36 @@
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017256532300197889, 0, 'app_order_status', '-1', 'app订单状态', 17, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017256701003493378, 2017256532300197889, 'app_order_status', '3', '待收货', 3, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017256735887519745, 2017256532300197889, 'app_order_status', '4', '已完成', 4, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017256766271057921, 2017256532300197889, 'app_order_status', '5', '已取消', 5, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017256798575587330, 2017256532300197889, 'app_order_status', '6', '售后中', 6, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017256831240826882, 2017256532300197889, 'app_order_status', '7', '已完结', 7, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017277351755730945, 0, 'app_yes_no', '-1', 'app是否状态', 18, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017277404973060097, 2017277351755730945, 'app_yes_no', '0', '否', 0, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017277445628448770, 2017277351755730945, 'app_yes_no', '1', '是', 1, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017279052097212417, 0, 'app_pay_status', '-1', 'app支付状态', 19, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017279219479302146, 2017279052097212417, 'app_pay_status', '1', '待支付', 1, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017279260155662338, 2017279052097212417, 'app_pay_status', '2', '已支付', 2, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017279292049149953, 2017279052097212417, 'app_pay_status', '3', '已关闭', 3, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017256666383708162, 2017256532300197889, 'app_order_status', '2', '已支付', 2, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017256633735245825, 2017256532300197889, 'app_order_status', '1', '待支付', 1, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017279326488580097, 2017279052097212417, 'app_pay_status', '4', '退款中', 4, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017279356754677762, 2017279052097212417, 'app_pay_status', '5', '已退款', 5, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017280506669256705, 0, 'app_order_model', '-1', 'app订单类型', 20, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017280559299383297, 2017280506669256705, 'app_order_model', '1', '商城订单', 1, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017448732011200513, 0, 'app_pay_type', '-1', 'app支付类型', 21, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017448799661129730, 2017448732011200513, 'app_pay_type', '1', '支付宝', 1, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017448849464295426, 2017448732011200513, 'app_pay_type', '2', '微信', 2, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017448927499321345, 2017448732011200513, 'app_pay_type', '3', '线下支付', 3, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017256598469537794, 2017256532300197889, 'app_order_status', '0', '待支付', 0, '', 0, 1, 1);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017478580159041538, 0, 'app_point_spending_type', '-1', 'app积分消费类型', 22, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017478672572141569, 2017478580159041538, 'app_point_spending_type', '1', '收入', 1, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017478708412469249, 2017478580159041538, 'app_point_spending_type', '2', '支出', 2, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017517140190855170, 0, 'app_package_type', '-1', 'app福利包类型', 23, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017517209350733826, 2017517140190855170, 'app_package_type', '1', '积分兑换', 1, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2017517264824598530, 2017517140190855170, 'app_package_type', '2', '后台划拨', 2, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2018600540205121537, 0, 'app_banner_type', '-1', 'app轮播图类型', 24, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2018600645536677890, 2018600540205121537, 'app_banner_type', '1', '主banner', 1, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2018600683209916417, 2018600540205121537, 'app_banner_type', '2', '商城banner', 2, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2018607816655708161, 0, 'app_user_notice', '-1', 'app用户通知类型', 25, '', 0, 1, 0);
|
||||
INSERT INTO blade_dict ("id", "parent_id", "code", "dict_key", "dict_value", "sort", "remark", "is_sealed", "status", "is_deleted") VALUES (2018607875027836929, 2018607816655708161, 'app_user_notice', '0', '系统通知', 0, '', 0, 1, 0);
|
||||
|
||||
245
doc/sql/insert_data/insert_blade_menu.sql
Normal file
245
doc/sql/insert_data/insert_blade_menu.sql
Normal file
@@ -0,0 +1,245 @@
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511999274860547, 2016511999274860546, 'ads_add', '新增', 'add', '/userPackInfo/ads/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511999274860548, 2016511999274860546, 'ads_edit', '修改', 'edit', '/userPackInfo/ads/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511999274860549, 2016511999274860546, 'ads_delete', '删除', 'delete', '/api/blade-ads/ads/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511999274860550, 2016511999274860546, 'ads_view', '查看', 'view', '/userPackInfo/ads/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986561925122, 2016511986561925121, 'level_info_add', '新增', 'add', '/customer/levelInfo/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016444412729917441, 0, 'customer', '用户信息', 'menu', '/customer', 'iconfont iconicon_subordinate', 9, 1, -1, 1, '', '', 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016445572647911425, 0, 'cashAccount', '资金账户', 'menu', '/cashAccount', 'iconfont icon-biaodanzujian-biaoge', 10, 1, -1, 1, '', '', 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016445919294554113, 0, 'mall', '商城', 'menu', '/mall', 'iconfont iconicon_message', 11, 1, NULL, 1, NULL, '', 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016446167375052801, 0, 'order', '订单管理', 'menu', '/order', 'iconfont iconicon_message', 12, 1, NULL, 1, NULL, '', 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016446332399943682, 0, 'userPackInfo', '积分包管理', 'menu', '/userPackInfo', 'iconfont iconicon_principal', 13, 1, NULL, 1, NULL, '', 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016446547672596482, 0, 'userPoint', '用户积分管理', 'menu', '/userPoint', 'iconfont iconicon_message', 14, 1, NULL, 1, NULL, '', 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986561925123, 2016511986561925121, 'level_info_edit', '修改', 'edit', '/customer/levelInfo/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986561925124, 2016511986561925121, 'level_info_delete', '删除', 'delete', '/api/blade-level-info/level_info/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986561925125, 2016511986561925121, 'level_info_view', '查看', 'view', '/customer/levelInfo/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987606306819, 2016511987606306818, 'cart_add', '新增', 'add', '/mall/mallCart/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987606306820, 2016511987606306818, 'cart_edit', '修改', 'edit', '/mall/mallCart/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987606306821, 2016511987606306818, 'cart_delete', '删除', 'delete', '/api/blade-mall-cart/cart/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987606306822, 2016511987606306818, 'cart_view', '查看', 'view', '/mall/mallCart/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989300805634, 2016511989300805633, 'detailOrder_add', '新增', 'add', '/order/mallDetailOrder/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989300805635, 2016511989300805633, 'detailOrder_edit', '修改', 'edit', '/order/mallDetailOrder/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989300805636, 2016511989300805633, 'detailOrder_delete', '删除', 'delete', '/api/blade-mall-detailorder/detailOrder/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989300805637, 2016511989300805633, 'detailOrder_view', '查看', 'view', '/order/mallDetailOrder/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988126400515, 2016511988126400514, 'spu_add', '新增', 'add', '/mall/mallSpu/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988126400516, 2016511988126400514, 'spu_edit', '修改', 'edit', '/mall/mallSpu/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988126400517, 2016511988126400514, 'spu_delete', '删除', 'delete', '/api/blade-mall-spu/spu/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988126400518, 2016511988126400514, 'spu_view', '查看', 'view', '/mall/mallSpu/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989883813891, 2016511989883813890, 'summaryOrder_add', '新增', 'add', '/order/mallSummaryOrder/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989883813892, 2016511989883813890, 'summaryOrder_edit', '修改', 'edit', '/order/mallSummaryOrder/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989883813893, 2016511989883813890, 'summaryOrder_delete', '删除', 'delete', '/api/blade-mall-summaryorder/summaryOrder/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989883813894, 2016511989883813890, 'summaryOrder_view', '查看', 'view', '/order/mallSummaryOrder/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511990412296194, 2016511990412296193, 'summaryOrderAfter_add', '新增', 'add', '/order/mallSummaryOrderAfter/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511990412296195, 2016511990412296193, 'summaryOrderAfter_edit', '修改', 'edit', '/order/mallSummaryOrderAfter/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511990412296196, 2016511990412296193, 'summaryOrderAfter_delete', '删除', 'delete', '/api/blade-mall-summaryorderafter/summaryOrderAfter/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511990412296197, 2016511990412296193, 'summaryOrderAfter_view', '查看', 'view', '/order/mallSummaryOrderAfter/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985072947202, 2016511985072947201, 'info_add', '新增', 'add', '/userPackInfo/appPackageInfo/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985072947203, 2016511985072947201, 'info_edit', '修改', 'edit', '/userPackInfo/appPackageInfo/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985072947204, 2016511985072947201, 'info_delete', '删除', 'delete', '/blade-app-package/info/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985072947205, 2016511985072947201, 'info_view', '查看', 'view', '/userPackInfo/appPackageInfo/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997844602884, 2016511997844602881, 'info_delete', '删除', 'delete', '/api/blade-app-regions/info/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988646494210, 2016511988646494209, 'address_add', '新增', 'add', '/mall/userAddress/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988646494211, 2016511988646494209, 'address_edit', '修改', 'edit', '/mall/userAddress/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988646494212, 2016511988646494209, 'address_delete', '删除', 'delete', '/api/blade-user-address/address/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988646494213, 2016511988646494209, 'address_view', '查看', 'view', '/mall/userAddress/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979087675395, 2016511979087675394, 'benefit_add', '新增', 'add', '/userPoint/userBenefit/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979087675396, 2016511979087675394, 'benefit_edit', '修改', 'edit', '/userPoint/userBenefit/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979087675397, 2016511979087675394, 'benefit_delete', '删除', 'delete', '/api/blade-user-benefit/benefit/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979087675398, 2016511979087675394, 'benefit_view', '查看', 'view', '/userPoint/userBenefit/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998809292802, 2016511998809292801, 'benefitLog_add', '新增', 'add', '/userPoint/userBenefitLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998809292803, 2016511998809292801, 'benefitLog_edit', '修改', 'edit', '/userPoint/userBenefitLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998809292804, 2016511998809292801, 'benefitLog_delete', '删除', 'delete', '/api/blade-user-benefitlog/benefitLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998809292805, 2016511998809292801, 'benefitLog_view', '查看', 'view', '/userPoint/userBenefitLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985072947201, 2016446332399943682, 'info', '积分包信息', 'menu', '/userPackInfo/appPackageInfo', NULL, 2, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989883813890, 2016446167375052801, 'summaryOrder', '商城总订单', 'menu', '/order/mallSummaryOrder', NULL, 2, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511989300805633, 2016446167375052801, 'detailOrder', '商城详情订单', 'menu', '/order/mallDetailOrder', NULL, 3, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988126400514, 2016445919294554113, 'spu', '商城spu', 'menu', '/mall/mallSpu', NULL, 2, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987606306818, 2016445919294554113, 'cart', '商城购物车', 'menu', '/mall/mallCart', NULL, 4, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511990412296193, 2016446167375052801, 'summaryOrderAfter', '商品售后订单', 'menu', '/order/mallSummaryOrderAfter', NULL, 4, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979087675394, 2016446547672596482, 'benefit', '用户福利值', 'menu', '/userPoint/userBenefit', NULL, 3, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511988646494209, 2016445919294554113, 'address', '用户地址', 'menu', '/mall/userAddress', NULL, 3, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979599380483, 2016511979599380482, 'cash_add', '新增', 'add', '/userPoint/userCash/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979599380484, 2016511979599380482, 'cash_edit', '修改', 'edit', '/userPoint/userCash/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979599380485, 2016511979599380482, 'cash_delete', '删除', 'delete', '/api/blade-user-cash/cash/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979599380486, 2016511979599380482, 'cash_view', '查看', 'view', '/userPoint/userCash/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998356307971, 2016511998356307970, 'cashLog_add', '新增', 'add', '/userPoint/userCashLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998356307972, 2016511998356307970, 'cashLog_edit', '修改', 'edit', '/userPoint/userCashLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998356307973, 2016511998356307970, 'cashLog_delete', '删除', 'delete', '/api/blade-user-cashlog/cashLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998356307974, 2016511998356307970, 'cashLog_view', '查看', 'view', '/userPoint/userCashLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980115279874, 2016511980115279873, 'commission_add', '新增', 'add', '/userPoint/userCommission/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980115279875, 2016511980115279873, 'commission_edit', '修改', 'edit', '/userPoint/userCommission/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980115279876, 2016511980115279873, 'commission_delete', '删除', 'delete', '/api/blade-user-commission/commission/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980115279877, 2016511980115279873, 'commission_view', '查看', 'view', '/userPoint/userCommission/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991586701314, 2016511991586701313, 'commissionAccount_add', '新增', 'add', '/cashAccount/userCommissionAccount/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991586701315, 2016511991586701313, 'commissionAccount_edit', '修改', 'edit', '/cashAccount/userCommissionAccount/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991586701316, 2016511991586701313, 'commissionAccount_delete', '删除', 'delete', '/api/blade-user-commissionaccount/commissionAccount/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991586701317, 2016511991586701313, 'commissionAccount_view', '查看', 'view', '/cashAccount/userCommissionAccount/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992102600706, 2016511992102600705, 'commissionAdvertisingLog_add', '新增', 'add', '/cashAccount/userCommissionAdvertisingLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992102600707, 2016511992102600705, 'commissionAdvertisingLog_edit', '修改', 'edit', '/cashAccount/userCommissionAdvertisingLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992102600708, 2016511992102600705, 'commissionAdvertisingLog_delete', '删除', 'delete', '/api/blade-user-commissionadvertisinglog/commissionAdvertisingLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992102600709, 2016511992102600705, 'commissionAdvertisingLog_view', '查看', 'view', '/cashAccount/userCommissionAdvertisingLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994174586883, 2016511994174586882, 'commissionAgencyLog_add', '新增', 'add', '/cashAccount/userCommissionAgencyLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994174586884, 2016511994174586882, 'commissionAgencyLog_edit', '修改', 'edit', '/cashAccount/userCommissionAgencyLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994174586885, 2016511994174586882, 'commissionAgencyLog_delete', '删除', 'delete', '/api/blade-user-commissionagencylog/commissionAgencyLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994174586886, 2016511994174586882, 'commissionAgencyLog_view', '查看', 'view', '/cashAccount/userCommissionAgencyLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994694680578, 2016511994694680577, 'commissionCoCreatorLog_add', '新增', 'add', '/cashAccount/userCommissionCoCreatorLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994694680579, 2016511994694680577, 'commissionCoCreatorLog_edit', '修改', 'edit', '/cashAccount/userCommissionCoCreatorLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994694680580, 2016511994694680577, 'commissionCoCreatorLog_delete', '删除', 'delete', '/api/blade-user-commissioncocreatorlog/commissionCoCreatorLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994694680581, 2016511994694680577, 'commissionCoCreatorLog_view', '查看', 'view', '/cashAccount/userCommissionCoCreatorLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995218968579, 2016511995218968578, 'commissionDirectPushLog_add', '新增', 'add', '/cashAccount/userCommissionDirectPushLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995218968580, 2016511995218968578, 'commissionDirectPushLog_edit', '修改', 'edit', '/cashAccount/userCommissionDirectPushLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995218968581, 2016511995218968578, 'commissionDirectPushLog_delete', '删除', 'delete', '/api/blade-user-commissiondirectpushlog/commissionDirectPushLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995218968582, 2016511995218968578, 'commissionDirectPushLog_view', '查看', 'view', '/cashAccount/userCommissionDirectPushLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995743256578, 2016511995743256577, 'commissionGoodsCostLog_add', '新增', 'add', '/cashAccount/userCommissionGoodsCostLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995743256579, 2016511995743256577, 'commissionGoodsCostLog_edit', '修改', 'edit', '/cashAccount/userCommissionGoodsCostLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995743256580, 2016511995743256577, 'commissionGoodsCostLog_delete', '删除', 'delete', '/api/blade-user-commissiongoodscostlog/commissionGoodsCostLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995743256581, 2016511995743256577, 'commissionGoodsCostLog_view', '查看', 'view', '/cashAccount/userCommissionGoodsCostLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980631179267, 2016511980631179266, 'commissionLog_add', '新增', 'add', '/userPoint/userCommissionLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980631179268, 2016511980631179266, 'commissionLog_edit', '修改', 'edit', '/userPoint/userCommissionLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980631179269, 2016511980631179266, 'commissionLog_delete', '删除', 'delete', '/api/blade-user-commissionlog/commissionLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980631179270, 2016511980631179266, 'commissionLog_view', '查看', 'view', '/userPoint/userCommissionLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996863135746, 2016511996863135745, 'commissionServiceProviderLog_add', '新增', 'add', '/cashAccount/userCommissionServiceProviderLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996863135747, 2016511996863135745, 'commissionServiceProviderLog_edit', '修改', 'edit', '/cashAccount/userCommissionServiceProviderLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996863135748, 2016511996863135745, 'commissionServiceProviderLog_delete', '删除', 'delete', '/api/blade-user-commissionserviceproviderlog/commissionServiceProviderLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996863135749, 2016511996863135745, 'commissionServiceProviderLog_view', '查看', 'view', '/cashAccount/userCommissionServiceProviderLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997387423747, 2016511997387423746, 'commissionUserPointLog_add', '新增', 'add', '/cashAccount/userCommissionUserPointLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997387423748, 2016511997387423746, 'commissionUserPointLog_edit', '修改', 'edit', '/cashAccount/userCommissionUserPointLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997387423749, 2016511997387423746, 'commissionUserPointLog_delete', '删除', 'delete', '/api/blade-user-commissionuserpointlog/commissionUserPointLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997387423750, 2016511997387423746, 'commissionUserPointLog_view', '查看', 'view', '/cashAccount/userCommissionUserPointLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981159661571, 2016511981159661570, 'gainsDay_add', '新增', 'add', '/userPoint/userGainsDay/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981159661572, 2016511981159661570, 'gainsDay_edit', '修改', 'edit', '/userPoint/userGainsDay/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981159661573, 2016511981159661570, 'gainsDay_delete', '删除', 'delete', '/api/blade-user-gainsday/gainsDay/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981159661574, 2016511981159661570, 'gainsDay_view', '查看', 'view', '/userPoint/userGainsDay/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981612646403, 2016511981612646402, 'gainsDayLog_add', '新增', 'add', '/userPoint/userGainsDayLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981612646404, 2016511981612646402, 'gainsDayLog_edit', '修改', 'edit', '/userPoint/userGainsDayLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981612646405, 2016511981612646402, 'gainsDayLog_delete', '删除', 'delete', '/api/blade-user-gainsdaylog/gainsDayLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981612646406, 2016511981612646402, 'gainsDayLog_view', '查看', 'view', '/userPoint/userGainsDayLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992614305794, 2016511992614305793, 'genealogy_add', '新增', 'add', '/customer/userGenealogy/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992614305795, 2016511992614305793, 'genealogy_edit', '修改', 'edit', '/customer/userGenealogy/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992614305796, 2016511992614305793, 'genealogy_delete', '删除', 'delete', '/api/blade-user-genealogy/genealogy/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992614305797, 2016511992614305793, 'genealogy_view', '查看', 'view', '/customer/userGenealogy/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993197314050, 2016511993197314049, 'increaseDay_add', '新增', 'add', '/customer/userIncreaseDay/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993197314051, 2016511993197314049, 'increaseDay_edit', '修改', 'edit', '/customer/userIncreaseDay/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993197314052, 2016511993197314049, 'increaseDay_delete', '删除', 'delete', '/api/blade-user-increaseday/increaseDay/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993197314053, 2016511993197314049, 'increaseDay_view', '查看', 'view', '/customer/userIncreaseDay/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511978492084226, 2016511978492084225, 'levelLog_add', '新增', 'add', '/customer/userLevelLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511978492084227, 2016511978492084225, 'levelLog_edit', '修改', 'edit', '/customer/userLevelLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511978492084228, 2016511978492084225, 'levelLog_delete', '删除', 'delete', '/api/blade-userLevellog/levelLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511978492084229, 2016511978492084225, 'levelLog_view', '查看', 'view', '/customer/userLevelLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982136934402, 2016511982136934401, 'mallIntegral_add', '新增', 'add', '/userPoint/userMallIntegral/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982136934403, 2016511982136934401, 'mallIntegral_edit', '修改', 'edit', '/userPoint/userMallIntegral/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982136934404, 2016511982136934401, 'mallIntegral_delete', '删除', 'delete', '/api/blade-user-mallintegral/mallIntegral/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982136934405, 2016511982136934401, 'mallIntegral_view', '查看', 'view', '/userPoint/userMallIntegral/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982589919235, 2016511982589919234, 'mallIntegralLog_add', '新增', 'add', '/userPoint/userMallIntegralLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982589919236, 2016511982589919234, 'mallIntegralLog_edit', '修改', 'edit', '/userPoint/userMallIntegralLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982589919237, 2016511982589919234, 'mallIntegralLog_delete', '删除', 'delete', '/api/blade-user-mallintegrallog/mallIntegralLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982589919238, 2016511982589919234, 'mallIntegralLog_view', '查看', 'view', '/userPoint/userMallIntegralLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991016275970, 2016446167375052801, 'order', '用户订单', 'menu', '/order/userOrder', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991016275971, 2016511991016275970, 'order_add', '新增', 'add', '/order/userOrder/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991016275972, 2016511991016275970, 'order_edit', '修改', 'edit', '/order/userOrder/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991016275973, 2016511991016275970, 'order_delete', '删除', 'delete', '/api/blade-user-order/order/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991016275974, 2016511991016275970, 'order_view', '查看', 'view', '/order/userOrder/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985525932035, 2016511985525932034, 'packageInfo_add', '新增', 'add', '/userPackInfo/userPackageInfo/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985525932036, 2016511985525932034, 'packageInfo_edit', '修改', 'edit', '/userPackInfo/userPackageInfo/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985525932037, 2016511985525932034, 'packageInfo_delete', '删除', 'delete', '/api/blade-user-packageinfo/packageInfo/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985525932038, 2016511985525932034, 'packageInfo_view', '查看', 'view', '/userPackInfo/userPackageInfo/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986113134594, 2016511986113134593, 'packageInfoCopy_add', '新增', 'add', '/userPackInfo/userPackageInfoCopy/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986113134595, 2016511986113134593, 'packageInfoCopy_edit', '修改', 'edit', '/userPackInfo/userPackageInfoCopy/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986113134596, 2016511986113134593, 'packageInfoCopy_delete', '删除', 'delete', '/api/blade-user-packageinfocopy/packageInfoCopy/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986113134597, 2016511986113134593, 'packageInfoCopy_view', '查看', 'view', '/userPackInfo/userPackageInfoCopy/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983047098372, 2016511983047098369, 'performance_delete', '删除', 'delete', '/api/blade-user-performance/performance/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984091480068, 2016511984091480065, 'performanceBenefit_delete', '删除', 'delete', '/api/blade-user-performancebenefit/performanceBenefit/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984548659205, 2016511984548659202, 'performanceBenefitLog_delete', '删除', 'delete', '/api/blade-user-performancebenefitlog/performanceBenefitLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983634300933, 2016511983634300930, 'performanceLog_delete', '删除', 'delete', '/api/blade-user-performancelog/performanceLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993717407747, 2016511993717407746, 'tree_add', '新增', 'add', '/customer/userTree/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993717407748, 2016511993717407746, 'tree_edit', '修改', 'edit', '/customer/userTree/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993717407750, 2016511993717407746, 'tree_view', '查看', 'view', '/customer/userTree/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996271738882, 2016511996271738881, 'commissionOperationLog_add', '新增', 'add', '/cashAccount/userCommissionOperationLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996271738883, 2016511996271738881, 'commissionOperationLog_edit', '修改', 'edit', '/cashAccount/userCommissionOperationLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996271738884, 2016511996271738881, 'commissionOperationLog_delete', '删除', 'delete', '/api/blade-user-commissionoperationlog/commissionOperationLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996271738885, 2016511996271738881, 'commissionOperationLog_view', '查看', 'view', '/cashAccount/userCommissionOperationLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997844602885, 2016511997844602881, 'info_view', '查看', 'view', '/customer/appRegionsInfo/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997844602882, 2016511997844602881, 'info_add', '新增', 'add', '/customer/appRegionsInfo/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997844602883, 2016511997844602881, 'info_edit', '修改', 'edit', '/customer/appRegionsInfo/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993717407749, 2016511993717407746, 'tree_delete', '删除', 'delete', '/api/blade-user-tree/tree/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984091480069, 2016511984091480065, 'performanceBenefit_view', '查看', 'view', '/userPoint/userPerformanceBenefit/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984091480065, 2016446547672596482, 'performanceBenefit', '用户福利值业绩', 'menu', '/userPoint/userPerformanceBenefit', NULL, 11, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984091480067, 2016511984091480065, 'performanceBenefit_edit', '修改', 'edit', '/userPoint/userPerformanceBenefit/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984548659202, 2016446547672596482, 'performanceBenefitLog', '用户福利值业绩日志', 'menu', '/userPoint/userPerformanceLog', NULL, 13, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983047098371, 2016511983047098369, 'performance_edit', '修改', 'edit', '/userPoint/userPerformance/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984548659206, 2016511984548659202, 'performanceBenefitLog_view', '查看', 'view', '/userPoint/userPerformanceLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983634300934, 2016511983634300930, 'performanceLog_view', '查看', 'view', '/userPoint/userPerformanceLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984548659203, 2016511984548659202, 'performanceBenefitLog_add', '新增', 'add', '/userPoint/userPerformanceLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983634300931, 2016511983634300930, 'performanceLog_add', '新增', 'add', '/userPoint/userPerformanceLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996271738881, 2016445572647911425, 'commissionOperationLog', '5%运营佣金流水', 'menu', '/cashAccount/userCommissionOperationLog', NULL, 5, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984548659204, 2016511984548659202, 'performanceBenefitLog_edit', '修改', 'edit', '/userPoint/userPerformanceLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511984091480066, 2016511984091480065, 'performanceBenefit_add', '新增', 'add', '/userPoint/userPerformanceBenefit/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983634300932, 2016511983634300930, 'performanceLog_edit', '修改', 'edit', '/userPoint/userPerformanceLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983047098373, 2016511983047098369, 'performance_view', '查看', 'view', '/userPoint/userPerformance/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993717407746, 2016444412729917441, 'tree', '用户树结构', 'menu', '/customer/userTree', NULL, 2, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997844602881, 2016444412729917441, 'info', '地区详情', 'menu', '/customer/appRegionsInfo', NULL, 6, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986113134593, 2016446332399943682, 'packageInfoCopy', '用户积分包详细信息', 'menu', '/userPackInfo/userPackageInfoCopy', NULL, 4, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983634300930, 2016446547672596482, 'performanceLog', '用户现金业绩日志', 'menu', '/userPoint/userPerformanceLog', NULL, 10, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983047098370, 2016511983047098369, 'performance_add', '新增', 'add', '/userPoint/userPerformance/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016894266199486466, 2016445919294554113, 'category', '商品分类', 'menu', '/mall/category', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016894266199486467, 2016894266199486466, 'category_add', '新增', 'add', '/mall/category/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016894266199486468, 2016894266199486466, 'category_edit', '修改', 'edit', '/mall/category/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016894266199486469, 2016894266199486466, 'category_delete', '删除', 'delete', '/api/blade-category/category/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016894266199486470, 2016894266199486466, 'category_view', '查看', 'view', '/mall/category/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511999274860546, 2016446332399943682, 'ads', '广告', 'menu', '/userPackInfo/ads', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982136934401, 2016446547672596482, 'mallIntegral', '用户商城积分', 'menu', '/userPoint/userMallIntegral', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511991586701313, 2016445572647911425, 'commissionAccount', '用户佣金账户', 'menu', '/cashAccount/userCommissionAccount', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992614305793, 2016444412729917441, 'genealogy', '用户族谱', 'menu', '/customer/userGenealogy', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511996863135745, 2016445572647911425, 'commissionServiceProviderLog', '5%服务商佣金流水', 'menu', '/cashAccount/userCommissionServiceProviderLog', NULL, 7, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511985525932034, 2016446332399943682, 'packageInfo', '用户积分包信息', 'menu', '/userPackInfo/userPackageInfo', NULL, 3, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511982589919234, 2016446547672596482, 'mallIntegralLog', '用户商城积分流水', 'menu', '/userPoint/userMallIntegralLog', NULL, 2, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998809292801, 2016446547672596482, 'benefitLog', '用户福利值流水', 'menu', '/userPoint/userBenefitLog', NULL, 4, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511998356307970, 2016446547672596482, 'cashLog', '用户现金券流水', 'menu', '/userPoint/userCashLog', NULL, 6, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511979599380482, 2016446547672596482, 'cash', '用户现金券', 'menu', '/userPoint/userCash', NULL, 5, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980115279873, 2016446547672596482, 'commission', '用户佣金', 'menu', '/userPoint/userCommission', NULL, 7, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511980631179266, 2016446547672596482, 'commissionLog', '用户佣金流水', 'menu', '/userPoint/userCommissionLog', NULL, 8, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511983047098369, 2016446547672596482, 'performance', '用户现金业绩', 'menu', '/userPoint/userPerformance', NULL, 9, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981159661570, 2016446547672596482, 'gainsDay', '用户每日加速福利值汇总', 'menu', '/userPoint/userGainsDay', NULL, 12, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511981612646402, 2016446547672596482, 'gainsDayLog', '用户每日加速福利值流水', 'menu', '/userPoint/userGainsDayLog', NULL, 14, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511986561925121, 2016444412729917441, 'level_info', '等级信息', 'menu', '/customer/levelInfo', NULL, 4, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995743256577, 2016445572647911425, 'commissionGoodsCostLog', '25%商品成本佣金流水', 'menu', '/cashAccount/userCommissionGoodsCostLog', NULL, 2, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511995218968578, 2016445572647911425, 'commissionDirectPushLog', '10%直推人佣金流水', 'menu', '/cashAccount/userCommissionDirectPushLog', NULL, 4, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511993197314049, 2016444412729917441, 'increaseDay', '用户附加信息', 'menu', '/customer/userIncreaseDay', NULL, 3, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511997387423746, 2016445572647911425, 'commissionUserPointLog', '30%购买人获取用户积分佣金流水', 'menu', '/cashAccount/userCommissionUserPointLog', NULL, 3, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987023298561, 2016444412729917441, 'dailySign', '用户看广告记录', 'menu', '/customer/userDailySign', NULL, 5, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511992102600705, 2016445572647911425, 'commissionAdvertisingLog', '5%广告补贴佣金流水', 'menu', '/cashAccount/userCommissionAdvertisingLog', NULL, 6, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994174586882, 2016445572647911425, 'commissionAgencyLog', '15%极差代理佣金流水', 'menu', '/cashAccount/userCommissionAgencyLog', NULL, 8, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511994694680577, 2016445572647911425, 'commissionCoCreatorLog', '5%联创佣金流水', 'menu', '/cashAccount/userCommissionCoCreatorLog', NULL, 9, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535723909122, 2016446332399943682, 'givePackLog', '划拨积分记录', 'menu', '/userPackInfo/givePackLog', NULL, 1, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535723909123, 2017499535723909122, 'givePackLog_add', '新增', 'add', '/userPackInfo/givePackLog/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535723909124, 2017499535723909122, 'givePackLog_edit', '修改', 'edit', '/userPackInfo/givePackLog/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535723909125, 2017499535723909122, 'givePackLog_delete', '删除', 'delete', '/api/blade-givepacklog/givePackLog/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535723909126, 2017499535723909122, 'givePackLog_view', '查看', 'view', '/userPackInfo/givePackLog/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499534536921090, 2017499534536921089, 'prizeSpu_add', '新增', 'add', '/mall/prizeSpu/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499534536921091, 2017499534536921089, 'prizeSpu_edit', '修改', 'edit', '/mall/prizeSpu/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499534536921092, 2017499534536921089, 'prizeSpu_delete', '删除', 'delete', '/api/blade-prizespu/prizeSpu/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499534536921093, 2017499534536921089, 'prizeSpu_view', '查看', 'view', '/mall/prizeSpu/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535132512258, 2017499535132512257, 'prizeSpuOrder_add', '新增', 'add', '/mall/prizeSpuOrder/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535132512259, 2017499535132512257, 'prizeSpuOrder_edit', '修改', 'edit', '/mall/prizeSpuOrder/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535132512260, 2017499535132512257, 'prizeSpuOrder_delete', '删除', 'delete', '/api/blade-prizespuorder/prizeSpuOrder/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535132512261, 2017499535132512257, 'prizeSpuOrder_view', '查看', 'view', '/mall/prizeSpuOrder/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987023298562, 2016511987023298561, 'dailySign_add', '新增', 'add', '/customer/userDailySign/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987023298563, 2016511987023298561, 'dailySign_edit', '修改', 'edit', '/customer/userDailySign/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987023298564, 2016511987023298561, 'dailySign_delete', '删除', 'delete', '/api/blade-dailysign/dailySign/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511987023298565, 2016511987023298561, 'dailySign_view', '查看', 'view', '/customer/userDailySign/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2018593495594790914, 2018593495594790913, 'banner_add', '新增', 'add', '/mall/banner/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2018593495594790915, 2018593495594790913, 'banner_edit', '修改', 'edit', '/mall/banner/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2018593495594790916, 2018593495594790913, 'banner_delete', '删除', 'delete', '/api/blade-banner/banner/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2018593495594790917, 2018593495594790913, 'banner_view', '查看', 'view', '/mall/banner/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2018593496119078914, 2018593496119078913, 'notice_add', '新增', 'add', '/customer/notice/add', 'plus', 1, 2, 1, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2018593495594790913, 2016445919294554113, 'banner', '首页轮播图', 'menu', '/mall/banner', NULL, 7, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2018593496119078913, 2016444412729917441, 'notice', '用户通知', 'menu', '/customer/notice', NULL, 8, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2016511978492084225, 2016444412729917441, 'levelLog', '用户等级日志', 'menu', '/customer/userLevelLog', NULL, 7, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2018593496119078915, 2018593496119078913, 'notice_edit', '修改', 'edit', '/customer/notice/edit', 'form', 2, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2018593496119078916, 2018593496119078913, 'notice_delete', '删除', 'delete', '/api/blade-notice/notice/remove', 'delete', 3, 2, 3, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2018593496119078917, 2018593496119078913, 'notice_view', '查看', 'view', '/customer/notice/view', 'file-text', 4, 2, 2, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499535132512257, 2016445919294554113, 'prizeSpuOrder', '奖池商品订单', 'menu', '/mall/prizeSpuOrder', NULL, 6, 1, 0, 1, NULL, NULL, 0);
|
||||
INSERT INTO insert_blade_menu ("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "component", "remark", "is_deleted") VALUES (2017499534536921089, 2016445919294554113, 'prizeSpu', '奖池商品', 'menu', '/mall/prizeSpu', NULL, 5, 1, 0, 1, NULL, NULL, 0);
|
||||
|
||||
|
||||
|
||||
|
||||
1
doc/sql/insert_data/insert_blade_oss.sql
Normal file
1
doc/sql/insert_data/insert_blade_oss.sql
Normal file
@@ -0,0 +1 @@
|
||||
INSERT INTO blade_oss ("id", "tenant_id", "category", "oss_code", "endpoint", "transform_endpoint", "access_key", "secret_key", "bucket_name", "app_id", "region", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017524776370114561, '000000', 3, 'alioss', 'https://oss-cn-beijing.aliyuncs.com', '', 'LTAI5tHgTPu3QbQkP3qPH8EM', 'UG1exiMCt31B6OoeSrw3BrW08izrJl', 'yicha1lu-app', '', '', '', 1123598821738675201, 1123598813738675201, '2026-01-31 17:06:05', 1123598821738675201, '2026-02-03 17:53:47.79', 2, 0);
|
||||
18
doc/sql/insert_data/insert_blade_param.sql
Normal file
18
doc/sql/insert_data/insert_blade_param.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
INSERT INTO blade_param ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2016775545220931585, 'app用户注册默认角色信息', 'yichayilu:app:register:role-info', '{"avatar":"https://tse1-mm.cn.bing.net/th/id/OIP-C.BM4bF8_qipHCQu014y_8UgAAAA?w=220&h=217&c=7&r=0&o=7&pid=1.7&rm=3","deptId":"1123598813738675201","postId":"1123598817738675208","roleId":"1123598816738675202"}', 'app用户注册默认角色信息-包含角色、部门、岗位、头像', NULL, NULL, '2026-01-29 15:28:54.508', NULL, '2026-01-29 15:28:54.508', 1, 0);
|
||||
INSERT INTO blade_param ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017183573497827329, '商城app订单类型', 'yichayilu:app:formal:order:model_type', '[{"code":"MALL","id":1,"name":"商城"}]', '商城app订单类型', NULL, NULL, '2026-01-30 18:30:16.033', NULL, '2026-01-30 18:30:16.033', 1, 0);
|
||||
INSERT INTO blade_param ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017184619259478018, '商城app订单现金兑换积分比例', 'yichayilu:app:formal:mall.cash.to.point.Rate', '0.3', '商城app订单现金兑换积分比例', NULL, NULL, '2026-01-30 18:34:25.363', NULL, '2026-01-30 18:34:25.363', 1, 0);
|
||||
INSERT INTO blade_param ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017185330957312002, '商城app随机立减比例范围', 'yichayilu:app:formal:mall.cut.amount.rang', '{"max":0.001,"min":0.01}', '商城app随机立减比例范围', NULL, NULL, '2026-01-30 18:37:15.043', NULL, '2026-01-30 18:37:15.043', 1, 0);
|
||||
INSERT INTO blade_param ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017186990513410049, '商城app支付类型', 'yichayilu:app:formal:pay.type', '{1:[{"code":"ALI","id":1,"name":"支付宝"},{"code":"WEI","id":2,"name":"微信"},{"code":"OFFLINE_PAY","id":3,"name":"线下支付"}]}', '商城app支付类型', NULL, NULL, '2026-01-30 18:43:50.713', NULL, '2026-01-30 18:43:50.713', 1, 0);
|
||||
INSERT INTO blade_param ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017835848230760450, '积分app是否看广告', 'yichayilu:app:dailysign.is.look.ads', 'true', '积分app是否看广告', NULL, NULL, '2026-02-01 13:42:10.446', NULL, '2026-02-01 13:42:10.446', 1, 0);
|
||||
INSERT INTO blade_param ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017836205065338882, '积分app看广告的时间范围', 'yichayilu:app:dailysign:watch.video.time.rang', '{"endTime":"22:00","startTime":"08:00"}', '积分app看广告的时间范围', NULL, NULL, '2026-02-01 13:43:35.522', NULL, '2026-02-01 13:43:35.522', 1, 0);
|
||||
INSERT INTO blade_param ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2018579715242532866, '商城app用户协议', 'yichayilu:app:formal:user:agreement', '商城app用户协议', '商城app用户协议', NULL, NULL, '2026-02-03 14:58:02.165', NULL, '2026-02-03 14:58:02.165', 1, 0);
|
||||
INSERT INTO blade_param ("id", "param_name", "param_key", "param_value", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2016918730731626498, '商城app用户隐私政策', 'yichayilu:app:formal:user:privacy', '<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
商城app用户隐私政策
|
||||
</body>
|
||||
</html>
|
||||
', '商城app用户隐私政策', NULL, NULL, '2026-01-30 00:57:52.597', NULL, '2026-01-30 00:57:52.597', 1, 0);
|
||||
5
doc/sql/insert_data/insert_level_info.sql
Normal file
5
doc/sql/insert_data/insert_level_info.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
INSERT INTO level_info ("id", "name", "child_qty", "performance", "performance_benefit", "next_level_id", "is_lowest", "is_highest", "bonus_cash_day", "bonus_cash_all", "bonus_benefit", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (1, '社区经销商', 10, '10000.0000', '100000.0000', 2, 0, 0, '0.0500', '0.0000', '0.0800', 1, 1123598821738675201, 1123598813738675201, '2026-01-30 22:54:56.006', 1123598821738675201, '2026-01-30 22:54:56.006', 1, 0);
|
||||
INSERT INTO level_info ("id", "name", "child_qty", "performance", "performance_benefit", "next_level_id", "is_lowest", "is_highest", "bonus_cash_day", "bonus_cash_all", "bonus_benefit", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (0, '普通用户', 0, '0.0000', '0.0000', 1, 1, 0, '0.0000', '0.0000', '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-30 22:54:56.006', 1123598821738675201, '2026-01-30 22:54:56.006', 1, 0);
|
||||
INSERT INTO level_info ("id", "name", "child_qty", "performance", "performance_benefit", "next_level_id", "is_lowest", "is_highest", "bonus_cash_day", "bonus_cash_all", "bonus_benefit", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2, '社区经销商', 20, '1000000.0000', '1000000.0000', 3, 0, 0, '0.0500', '0.0000', '0.0600', 1, 1123598821738675201, 1123598813738675201, '2026-01-30 22:54:56.006', 1123598821738675201, '2026-01-30 22:54:56.006', 1, 0);
|
||||
INSERT INTO level_info ("id", "name", "child_qty", "performance", "performance_benefit", "next_level_id", "is_lowest", "is_highest", "bonus_cash_day", "bonus_cash_all", "bonus_benefit", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (3, '社区经销商', 30, '5000000.0000', '5000000.0000', 4, 0, 0, '0.0500', '0.0000', '0.0400', 1, 1123598821738675201, 1123598813738675201, '2026-01-30 22:54:56.006', 1123598821738675201, '2026-01-30 22:54:56.006', 1, 0);
|
||||
INSERT INTO level_info ("id", "name", "child_qty", "performance", "performance_benefit", "next_level_id", "is_lowest", "is_highest", "bonus_cash_day", "bonus_cash_all", "bonus_benefit", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (4, '社区经销商', 40, '20000000.0000', '20000000.0000', NULL, 0, 1, '0.0000', '0.0500', '0.0200', 1, 1123598821738675201, 1123598813738675201, '2026-01-30 22:54:56.006', 1123598821738675201, '2026-01-30 22:54:56.006', 1, 0);
|
||||
4
doc/sql/insert_data/insert_package_info.sql
Normal file
4
doc/sql/insert_data/insert_package_info.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
INSERT INTO package_info ("id", "name", "buy_qty", "day_total", "amount_total", "give_amount", "bonus", "user_benefit", "user_cash", "is_need_benefit", "is_need_cash", "max_exchange_qty", "exchanged_qty", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017484367073824770, '100积分包', 10, 360, '300.00', '100.00', '0.00', '100.0000', '20.0000', 1, 1, 2000000, 0, 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:25:30.812', 1123598821738675201, '2026-01-31 14:25:30.812', 1, 0);
|
||||
INSERT INTO package_info ("id", "name", "buy_qty", "day_total", "amount_total", "give_amount", "bonus", "user_benefit", "user_cash", "is_need_benefit", "is_need_cash", "max_exchange_qty", "exchanged_qty", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017487266873004034, '5000积分包', 2, 360, '15000.00', '5000.00', '0.00', '5000.0000', '1500.0000', 1, 1, 50000, 0, 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:37:02.18', 1123598821738675201, '2026-01-31 14:37:02.18', 1, 0);
|
||||
INSERT INTO package_info ("id", "name", "buy_qty", "day_total", "amount_total", "give_amount", "bonus", "user_benefit", "user_cash", "is_need_benefit", "is_need_cash", "max_exchange_qty", "exchanged_qty", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017487214255460354, '1000积分包', 4, 360, '3000.00', '1000.00', '0.00', '1000.0000', '300.0000', 1, 1, 1000000, 0, 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:36:49.643', 1123598821738675201, '2026-01-31 14:36:49.643', 1, 0);
|
||||
INSERT INTO package_info ("id", "name", "buy_qty", "day_total", "amount_total", "give_amount", "bonus", "user_benefit", "user_cash", "is_need_benefit", "is_need_cash", "max_exchange_qty", "exchanged_qty", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017487362494746625, '10000积分包', 1, 360, '40000.00', '10000.00', '0.00', '10000.0000', '4000.0000', 1, 1, 20000, 0, 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:37:24.979', 1123598821738675201, '2026-01-31 14:37:24.979', 1, 0);
|
||||
8
doc/sql/insert_data/insert_user_commission_account.sql
Normal file
8
doc/sql/insert_data/insert_user_commission_account.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
INSERT INTO user_commission_account ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017485441885196290, '商品成本账户', 'COMMISSION_GOODS_COST', '', '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:29:47', 1123598821738675201, '2026-01-31 14:30:16.04', 1, 0);
|
||||
INSERT INTO user_commission_account ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017485893100032002, '分发商城积分账户', 'COMMISSION_USER_POINT_LOG', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:31:34.663', 1123598821738675201, '2026-01-31 14:31:34.663', 1, 0);
|
||||
INSERT INTO user_commission_account ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486037128237058, '分发直推人佣金账户', 'COMMISSION_DIRECT_PUSH', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:32:08.998', 1123598821738675201, '2026-01-31 14:32:08.998', 1, 0);
|
||||
INSERT INTO user_commission_account ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486179294171138, '运营账户', 'COMMISSION_OPERATION', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:32:42.889', 1123598821738675201, '2026-01-31 14:32:42.889', 1, 0);
|
||||
INSERT INTO user_commission_account ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486299502923778, '分发广告补贴账户', 'COMMISSION_ADVERTISING', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:33:11.552', 1123598821738675201, '2026-01-31 14:33:11.552', 1, 0);
|
||||
INSERT INTO user_commission_account ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486437340336130, '分发服务商佣金账户', 'COMMISSION_SERVICE_PROVIDER', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:33:44.407', 1123598821738675201, '2026-01-31 14:33:44.407', 1, 0);
|
||||
INSERT INTO user_commission_account ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486568441696258, '分发极差代理佣金账户', 'COMMISSION_AGENCY', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:34:15.663', 1123598821738675201, '2026-01-31 14:34:15.663', 1, 0);
|
||||
INSERT INTO user_commission_account ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486664117964802, '联创佣金账户', 'COMMISSION_CO_CREATOR', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:34:38.479', 1123598821738675201, '2026-01-31 14:34:38.479', 1, 0);
|
||||
@@ -1,5 +0,0 @@
|
||||
INSERT INTO "<table_name>" ("id", "name", "child_qty", "performance", "performance_benefit", "next_level_id", "is_lowest", "is_highest", "bonus_cash_day", "bonus_cash_all", "bonus_benefit", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (1, '社区经销商', 10, '10000.0000', '100000.0000', 2, 0, 0, '0.0500', '0.0000', '0.0800', 1, 1123598821738675201, 1123598813738675201, '2026-01-30 22:54:56.006', 1123598821738675201, '2026-01-30 22:54:56.006', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "name", "child_qty", "performance", "performance_benefit", "next_level_id", "is_lowest", "is_highest", "bonus_cash_day", "bonus_cash_all", "bonus_benefit", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (0, '普通用户', 0, '0.0000', '0.0000', 1, 1, 0, '0.0000', '0.0000', '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-30 22:54:56.006', 1123598821738675201, '2026-01-30 22:54:56.006', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "name", "child_qty", "performance", "performance_benefit", "next_level_id", "is_lowest", "is_highest", "bonus_cash_day", "bonus_cash_all", "bonus_benefit", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2, '社区经销商', 20, '1000000.0000', '1000000.0000', 3, 0, 0, '0.0500', '0.0000', '0.0600', 1, 1123598821738675201, 1123598813738675201, '2026-01-30 22:54:56.006', 1123598821738675201, '2026-01-30 22:54:56.006', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "name", "child_qty", "performance", "performance_benefit", "next_level_id", "is_lowest", "is_highest", "bonus_cash_day", "bonus_cash_all", "bonus_benefit", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (3, '社区经销商', 30, '5000000.0000', '5000000.0000', 4, 0, 0, '0.0500', '0.0000', '0.0400', 1, 1123598821738675201, 1123598813738675201, '2026-01-30 22:54:56.006', 1123598821738675201, '2026-01-30 22:54:56.006', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "name", "child_qty", "performance", "performance_benefit", "next_level_id", "is_lowest", "is_highest", "bonus_cash_day", "bonus_cash_all", "bonus_benefit", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (4, '社区经销商', 40, '20000000.0000', '20000000.0000', NULL, 0, 1, '0.0000', '0.0500', '0.0200', 1, 1123598821738675201, 1123598813738675201, '2026-01-30 22:54:56.006', 1123598821738675201, '2026-01-30 22:54:56.006', 1, 0);
|
||||
@@ -1,4 +0,0 @@
|
||||
INSERT INTO "<table_name>" ("id", "name", "buy_qty", "day_total", "amount_total", "give_amount", "bonus", "user_benefit", "user_cash", "is_need_benefit", "is_need_cash", "max_exchange_qty", "exchanged_qty", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017484367073824770, '100积分包', 10, 360, '300.00', '100.00', '0.00', '100.0000', '20.0000', 1, 1, 2000000, 0, 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:25:30.812', 1123598821738675201, '2026-01-31 14:25:30.812', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "name", "buy_qty", "day_total", "amount_total", "give_amount", "bonus", "user_benefit", "user_cash", "is_need_benefit", "is_need_cash", "max_exchange_qty", "exchanged_qty", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017487266873004034, '5000积分包', 2, 360, '15000.00', '5000.00', '0.00', '5000.0000', '1500.0000', 1, 1, 50000, 0, 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:37:02.18', 1123598821738675201, '2026-01-31 14:37:02.18', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "name", "buy_qty", "day_total", "amount_total", "give_amount", "bonus", "user_benefit", "user_cash", "is_need_benefit", "is_need_cash", "max_exchange_qty", "exchanged_qty", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017487214255460354, '1000积分包', 4, 360, '3000.00', '1000.00', '0.00', '1000.0000', '300.0000', 1, 1, 1000000, 0, 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:36:49.643', 1123598821738675201, '2026-01-31 14:36:49.643', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "name", "buy_qty", "day_total", "amount_total", "give_amount", "bonus", "user_benefit", "user_cash", "is_need_benefit", "is_need_cash", "max_exchange_qty", "exchanged_qty", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017487362494746625, '10000积分包', 1, 360, '40000.00', '10000.00', '0.00', '10000.0000', '4000.0000', 1, 1, 20000, 0, 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:37:24.979', 1123598821738675201, '2026-01-31 14:37:24.979', 1, 0);
|
||||
@@ -1,8 +0,0 @@
|
||||
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017485441885196290, '商品成本账户', 'COMMISSION_GOODS_COST', '', '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:29:47', 1123598821738675201, '2026-01-31 14:30:16.04', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017485893100032002, '分发商城积分账户', 'COMMISSION_USER_POINT_LOG', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:31:34.663', 1123598821738675201, '2026-01-31 14:31:34.663', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486037128237058, '分发直推人佣金账户', 'COMMISSION_DIRECT_PUSH', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:32:08.998', 1123598821738675201, '2026-01-31 14:32:08.998', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486179294171138, '运营账户', 'COMMISSION_OPERATION', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:32:42.889', 1123598821738675201, '2026-01-31 14:32:42.889', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486299502923778, '分发广告补贴账户', 'COMMISSION_ADVERTISING', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:33:11.552', 1123598821738675201, '2026-01-31 14:33:11.552', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486437340336130, '分发服务商佣金账户', 'COMMISSION_SERVICE_PROVIDER', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:33:44.407', 1123598821738675201, '2026-01-31 14:33:44.407', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486568441696258, '分发极差代理佣金账户', 'COMMISSION_AGENCY', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:34:15.663', 1123598821738675201, '2026-01-31 14:34:15.663', 1, 0);
|
||||
INSERT INTO "<table_name>" ("id", "account_name", "account_number", "account_code", "amount", "version", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (2017486664117964802, '联创佣金账户', 'COMMISSION_CO_CREATOR', NULL, '0.0000', 1, 1123598821738675201, 1123598813738675201, '2026-01-31 14:34:38.479', 1123598821738675201, '2026-01-31 14:34:38.479', 1, 0);
|
||||
@@ -15,6 +15,7 @@ import org.springblade.modules.appFormal.manager.FormalAppBaseManager;
|
||||
import org.springblade.modules.appFormal.manager.FormalAppCustomerManager;
|
||||
import org.springblade.modules.appFormal.manager.FormalAppMallManager;
|
||||
import org.springblade.modules.appFormal.request.CustomerSmsRequest;
|
||||
import org.springblade.modules.appFormal.vo.AppFormalBannerVO;
|
||||
import org.springblade.modules.appFormal.vo.AppFormalMallSpuVO;
|
||||
import org.springblade.modules.appFormal.vo.MallCategoryVO;
|
||||
import org.springblade.modules.mall.pojo.vo.MallSpuVO;
|
||||
@@ -39,7 +40,13 @@ public class FormalBaseController {
|
||||
return R.data(appBaseManager.formalAppPrivacy());
|
||||
}
|
||||
|
||||
@RateLimiter(value = "yichayilu:sms:send", param = "#request.getPhone()", max = 10, ttl = 12, timeUnit = TimeUnit.HOURS)
|
||||
@Operation(summary = "用户协议")
|
||||
@GetMapping("/formal-app-agreement")
|
||||
public R<String> formalAppAgreement() {
|
||||
return R.data(appBaseManager.formalAppAgreement());
|
||||
}
|
||||
|
||||
@RateLimiter(value = "yichayilu:sms:send", param = "#request.getPhone()", max =3, ttl = 12, timeUnit = TimeUnit.HOURS)
|
||||
@Operation(summary = "发送验证码")
|
||||
@PostMapping("/send-sms-code")
|
||||
public R<Boolean> sendSmsCode(@RequestBody CustomerSmsRequest request) {
|
||||
@@ -66,5 +73,20 @@ public class FormalBaseController {
|
||||
|
||||
|
||||
|
||||
@Operation(summary = "获得主banner")
|
||||
@GetMapping("/find-main-banner")
|
||||
public R<List<AppFormalBannerVO>> findMainBanner() {
|
||||
return R.data(appBaseManager.findMainBanner());
|
||||
}
|
||||
|
||||
|
||||
@Operation(summary = "获得商城banner")
|
||||
@GetMapping("/find-mall-banner")
|
||||
public R<List<AppFormalBannerVO>> findMallBanner() {
|
||||
return R.data(appBaseManager.findMallBanner());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -2,31 +2,30 @@ package org.springblade.modules.appFormal.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springblade.core.mp.support.Condition;
|
||||
import org.springblade.core.mp.support.Query;
|
||||
import org.springblade.core.redis.ratelimiter.RateLimiter;
|
||||
import org.springblade.core.secure.utils.AuthUtil;
|
||||
import org.springblade.core.tool.api.R;
|
||||
import org.springblade.modules.appFormal.manager.FormalAppCustomerManager;
|
||||
import org.springblade.modules.appFormal.request.AppUserNoticeRequest;
|
||||
import org.springblade.modules.appFormal.request.CustomerSmsRequest;
|
||||
import org.springblade.modules.appFormal.request.UpdatePasswordRequest;
|
||||
import org.springblade.modules.appFormal.vo.AppUserNoticeVO;
|
||||
import org.springblade.modules.appFormal.vo.MallIntegralLogVO;
|
||||
import org.springblade.modules.appFormal.vo.MallIntegralVO;
|
||||
import org.springblade.modules.appFormal.vo.UserInfoVO;
|
||||
import org.springblade.modules.desk.pojo.vo.NoticeVO;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
@RestController
|
||||
@AllArgsConstructor
|
||||
@RequestMapping("formal-app/customer")
|
||||
@Tag(name = "用户信息", description = "用户信息接口")
|
||||
@Slf4j
|
||||
public class FormalCustomerController {
|
||||
|
||||
|
||||
@@ -47,12 +46,19 @@ public class FormalCustomerController {
|
||||
return R.data(formalAppCustomerManager.findUserInfo(AuthUtil.getUserId()));
|
||||
}
|
||||
|
||||
|
||||
@Operation(summary = "修改密码")
|
||||
@PutMapping("/update-password")
|
||||
public R<Boolean> updatePassword(@RequestBody UpdatePasswordRequest request) {
|
||||
return R.data(formalAppCustomerManager.updatePassword(request.setId(AuthUtil.getUserId())));
|
||||
}
|
||||
|
||||
@Operation(summary = "修改密码")
|
||||
@PutMapping("/update-password-non-code")
|
||||
public R<Boolean> updatePasswordNonCode(@RequestBody UpdatePasswordRequest request) {
|
||||
return R.data(formalAppCustomerManager.updatePasswordNonCode(request.setId(AuthUtil.getUserId())));
|
||||
}
|
||||
|
||||
@Operation(summary = "用户退出登录")
|
||||
@PostMapping("/userLogout")
|
||||
public R<Boolean> userLogout() {
|
||||
@@ -81,4 +87,25 @@ public class FormalCustomerController {
|
||||
return R.data(formalAppCustomerManager.findMallIntegralFlow(Condition.getPage(query), logVO, AuthUtil.getUserId()));
|
||||
}
|
||||
|
||||
|
||||
@Operation(summary = "查询用户通知")
|
||||
@GetMapping("/find-user-notice-page")
|
||||
public R<IPage<AppUserNoticeVO>> findUserNoticePage(Query query , AppUserNoticeVO userNotice) {
|
||||
return R.data(formalAppCustomerManager.findUserNoticePage(Condition.getPage(query), userNotice, AuthUtil.getUserId()));
|
||||
}
|
||||
|
||||
@Operation(summary = "读取用户通知")
|
||||
@PostMapping("/read-user-notice")
|
||||
public R<Boolean> readUserNotice(@RequestBody AppUserNoticeRequest request) {
|
||||
return R.status(formalAppCustomerManager.readUserNotice(request.getNoticeId()));
|
||||
}
|
||||
|
||||
@Operation(summary = "未读消息总数")
|
||||
@GetMapping("/not-read-notice-count")
|
||||
public R<Integer> notReadNoticeCount(AppUserNoticeVO userNotice) {
|
||||
return R.data(formalAppCustomerManager.notReadNoticeCount(userNotice ,AuthUtil.getUserId()));
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@ package org.springblade.modules.appFormal.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.AllArgsConstructor;
|
||||
@@ -16,7 +15,6 @@ import org.springblade.modules.appFormal.request.AddressSubmitRequest;
|
||||
import org.springblade.modules.appFormal.request.MallCartRemoveRequest;
|
||||
import org.springblade.modules.appFormal.request.MallCartRequest;
|
||||
import org.springblade.modules.appFormal.vo.*;
|
||||
import org.springblade.modules.mall.pojo.vo.MallSpuVO;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
@@ -40,14 +38,14 @@ public class FormalMallController {
|
||||
|
||||
@Operation(summary = "添加购物车")
|
||||
@PostMapping("/add-cart")
|
||||
public R<Long> addCart(@RequestBody MallCartRequest request) {
|
||||
public R<AppFormalMallCartInfoVO> addCart(@RequestBody MallCartRequest request) {
|
||||
return R.data(mallProductManager.addCart(request.setUserId(AuthUtil.getUserId())));
|
||||
}
|
||||
|
||||
|
||||
@Operation(summary = "添加购物车(创建订单之前调用)")
|
||||
@PostMapping("/add-cart-to-order")
|
||||
public R<Long> addCartToOrder(@RequestBody MallCartRequest request) {
|
||||
public R<AppFormalMallCartInfoVO> addCartToOrder(@RequestBody MallCartRequest request) {
|
||||
return R.data(mallProductManager.addCartToOrder(request.setUserId(AuthUtil.getUserId())));
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
package org.springblade.modules.appFormal.convert;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
import org.springblade.modules.appFormal.vo.AppFormalBannerVO;
|
||||
import org.springblade.modules.appFormal.vo.AppUserNoticeVO;
|
||||
import org.springblade.modules.appFormal.vo.MallIntegralLogVO;
|
||||
import org.springblade.modules.customer.pojo.entity.UserNoticeEntity;
|
||||
import org.springblade.modules.mall.pojo.entity.AppBannerEntity;
|
||||
import org.springblade.modules.userPoint.pojo.entity.UserMallIntegralLogEntity;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author jack
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppBaseConvert {
|
||||
|
||||
AppBaseConvert INSTANCE = Mappers.getMapper(AppBaseConvert.class);
|
||||
|
||||
|
||||
List<AppFormalBannerVO> convertBannerListToVO(List<AppBannerEntity> bannerEntityList);
|
||||
|
||||
AppUserNoticeVO convertUserNoticePageToVO(UserNoticeEntity userNoticeEntity);
|
||||
}
|
||||
@@ -9,14 +9,18 @@ import org.springblade.core.jwt.props.JwtProperties;
|
||||
import org.springblade.core.oauth2.provider.OAuth2Request;
|
||||
import org.springblade.core.secure.BladeUser;
|
||||
import org.springblade.core.secure.utils.AuthUtil;
|
||||
import org.springblade.modules.appFormal.convert.AppBaseConvert;
|
||||
import org.springblade.modules.appFormal.convert.AppUserInfoConvert;
|
||||
import org.springblade.modules.appFormal.dto.PayOrderDicDTO;
|
||||
import org.springblade.modules.appFormal.request.CustomerSmsRequest;
|
||||
import org.springblade.modules.appFormal.request.UpdatePasswordRequest;
|
||||
import org.springblade.modules.appFormal.vo.AppFormalBannerVO;
|
||||
import org.springblade.modules.appFormal.vo.MallIntegralLogVO;
|
||||
import org.springblade.modules.appFormal.vo.MallIntegralVO;
|
||||
import org.springblade.modules.appFormal.vo.UserInfoVO;
|
||||
import org.springblade.modules.appOffline.event.AppUserRevokedEvent;
|
||||
import org.springblade.modules.mall.pojo.entity.AppBannerEntity;
|
||||
import org.springblade.modules.mall.service.IAppBannerService;
|
||||
import org.springblade.modules.sms.service.AliYunSmsService;
|
||||
import org.springblade.modules.system.pojo.entity.User;
|
||||
import org.springblade.modules.system.service.IParamService;
|
||||
@@ -38,6 +42,7 @@ import java.util.Objects;
|
||||
public class FormalAppBaseManager {
|
||||
|
||||
private final IParamService paramService;
|
||||
private final IAppBannerService appBannerService;
|
||||
|
||||
|
||||
public String formalAppPrivacy() {
|
||||
@@ -51,6 +56,36 @@ public class FormalAppBaseManager {
|
||||
return paramService.findAppFormalPayType(payModel);
|
||||
|
||||
}
|
||||
|
||||
public String formalAppAgreement() {
|
||||
return paramService.formalAppAgreement();
|
||||
}
|
||||
|
||||
public List<AppFormalBannerVO> findMainBanner() {
|
||||
|
||||
List<AppBannerEntity> bannerEntityList = appBannerService.list(
|
||||
Wrappers.<AppBannerEntity>lambdaQuery()
|
||||
.eq(AppBannerEntity::getBannerType, 1)
|
||||
.eq(AppBannerEntity::getIsShow, 1)
|
||||
.orderByDesc(AppBannerEntity::getId)
|
||||
|
||||
);
|
||||
|
||||
return AppBaseConvert.INSTANCE.convertBannerListToVO(bannerEntityList);
|
||||
|
||||
}
|
||||
|
||||
public List<AppFormalBannerVO> findMallBanner() {
|
||||
List<AppBannerEntity> bannerEntityList = appBannerService.list(
|
||||
Wrappers.<AppBannerEntity>lambdaQuery()
|
||||
.eq(AppBannerEntity::getBannerType, 2)
|
||||
.eq(AppBannerEntity::getIsShow, 1)
|
||||
.orderByDesc(AppBannerEntity::getId)
|
||||
|
||||
);
|
||||
|
||||
return AppBaseConvert.INSTANCE.convertBannerListToVO(bannerEntityList);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package org.springblade.modules.appFormal.manager;
|
||||
|
||||
import cn.hutool.core.util.PhoneUtil;
|
||||
import cn.hutool.core.util.RadixUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
@@ -15,13 +16,18 @@ import org.springblade.core.secure.utils.AuthUtil;
|
||||
import org.springblade.core.tool.utils.DigestUtil;
|
||||
import org.springblade.core.tool.utils.SM2Util;
|
||||
import org.springblade.core.tool.utils.StringUtil;
|
||||
import org.springblade.modules.appFormal.convert.AppBaseConvert;
|
||||
import org.springblade.modules.appFormal.convert.AppUserInfoConvert;
|
||||
import org.springblade.modules.appFormal.request.CustomerSmsRequest;
|
||||
import org.springblade.modules.appFormal.request.UpdatePasswordRequest;
|
||||
import org.springblade.modules.appFormal.vo.AppUserNoticeVO;
|
||||
import org.springblade.modules.appFormal.vo.MallIntegralLogVO;
|
||||
import org.springblade.modules.appFormal.vo.MallIntegralVO;
|
||||
import org.springblade.modules.appFormal.vo.UserInfoVO;
|
||||
import org.springblade.modules.appOffline.event.AppUserRevokedEvent;
|
||||
import org.springblade.modules.auth.constant.BladeAuthConstant;
|
||||
import org.springblade.modules.customer.pojo.entity.UserNoticeEntity;
|
||||
import org.springblade.modules.customer.service.IUserNoticeService;
|
||||
import org.springblade.modules.mall.pojo.entity.YsCategoryEntity;
|
||||
import org.springblade.modules.sms.service.AliYunSmsService;
|
||||
import org.springblade.modules.system.pojo.entity.User;
|
||||
@@ -38,6 +44,7 @@ import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
@Component
|
||||
@AllArgsConstructor
|
||||
@@ -47,6 +54,7 @@ public class FormalAppCustomerManager {
|
||||
private final IUserService userService;
|
||||
private final IUserMallIntegralService userMallIntegralService;
|
||||
private final IUserMallIntegralLogService mallIntegralLogService;
|
||||
private final IUserNoticeService userNoticeService;
|
||||
private final JwtProperties jwtProperties;
|
||||
private final ApplicationEventPublisher publisher;
|
||||
private final OAuth2Properties properties;
|
||||
@@ -72,7 +80,7 @@ public class FormalAppCustomerManager {
|
||||
.setUsername(user.getName())
|
||||
.setPhone(user.getPhone())
|
||||
.setAvatar(user.getAvatar())
|
||||
.setInvitationCode(user.getInvitationCode());
|
||||
.setInvitationCode(phoneTo32Hex(user.getPhone()));
|
||||
|
||||
}
|
||||
|
||||
@@ -88,17 +96,45 @@ public class FormalAppCustomerManager {
|
||||
.eq(User::getPhone, String.valueOf(phone))
|
||||
);
|
||||
Assert.notNull(user, "用户不存在");
|
||||
String decrypt = SM2Util.decrypt(request.getPassword(), properties.getPrivateKey());
|
||||
String decryptPassword = SM2Util.decrypt(request.getPassword(), properties.getPrivateKey());
|
||||
|
||||
Predicate<String> isPasswordValid = passwd -> passwd.matches("^(?=.*[0-9])(?=.*[a-zA-Z]){6,12}$");
|
||||
//去掉上面特殊字符校验
|
||||
Assert.isTrue(!isPasswordValid.test(decryptPassword), "密码长度必须在6到12位之间,且需要包含大小写英文与数字");
|
||||
|
||||
return userService.update(
|
||||
Wrappers.lambdaUpdate(User.class)
|
||||
.eq(User::getId, user.getId())
|
||||
.set(User::getPassword, DigestUtil.encrypt(decrypt))
|
||||
.set(User::getPassword, DigestUtil.encrypt(decryptPassword))
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
||||
public Boolean updatePasswordNonCode(UpdatePasswordRequest request) {
|
||||
Assert.notNull(request.getPhone() , "手机号不能为空");
|
||||
Assert.isTrue(PhoneUtil.isMobile(String.valueOf(request.getPhone())), "手机号格式不正确");
|
||||
Long phone = request.getPhone();
|
||||
User user = userService.getOne(
|
||||
Wrappers.lambdaQuery(User.class)
|
||||
.eq(User::getPhone, String.valueOf(phone))
|
||||
);
|
||||
Assert.notNull(user, "用户不存在");
|
||||
String decryptPassword = SM2Util.decrypt(request.getPassword(), properties.getPrivateKey());
|
||||
|
||||
|
||||
Predicate<String> isPasswordValid = passwd -> passwd.matches("^(?=.*[0-9])(?=.*[a-zA-Z]){6,12}$");
|
||||
//去掉上面特殊字符校验
|
||||
Assert.isTrue(!isPasswordValid.test(decryptPassword), "密码长度必须在6到12位之间,且需要包含大小写英文与数字");
|
||||
|
||||
return userService.update(
|
||||
Wrappers.lambdaUpdate(User.class)
|
||||
.eq(User::getId, user.getId())
|
||||
.set(User::getPassword, DigestUtil.encrypt(decryptPassword))
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
public Boolean userLogout() {
|
||||
BladeUser user = AuthUtil.getUser();
|
||||
if (user != null && this.jwtProperties.getState()) {
|
||||
@@ -112,18 +148,31 @@ public class FormalAppCustomerManager {
|
||||
|
||||
public Boolean deleteAccount(Long userId) {
|
||||
BladeUser user = AuthUtil.getUser();
|
||||
|
||||
|
||||
boolean update = userService.update(
|
||||
Wrappers.lambdaUpdate(User.class)
|
||||
.eq(User::getId, userId)
|
||||
.set(User::getIsDeleted, 1)
|
||||
);
|
||||
|
||||
if (!update) {
|
||||
throw new RuntimeException("注销失败");
|
||||
}
|
||||
|
||||
if (user != null && this.jwtProperties.getState()) {
|
||||
OAuth2Request request = OAuth2Request.create().buildHeaderArgs();
|
||||
String token = JwtUtil.getToken(request.getToken());
|
||||
JwtUtil.removeAccessToken(user.getTenantId(), user.getClientId(), String.valueOf(user.getUserId()), token);
|
||||
JwtUtil.removeRefreshToken(user.getTenantId(), user.getClientId(), String.valueOf(user.getUserId()), token);
|
||||
}
|
||||
if(userService.removeUser(String.valueOf(List.of(userId)))){
|
||||
publisher.publishEvent(
|
||||
new AppUserRevokedEvent()
|
||||
|
||||
|
||||
publisher.publishEvent(
|
||||
new AppUserRevokedEvent()
|
||||
.setUserId(userId)
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
return Boolean.TRUE;
|
||||
}
|
||||
|
||||
@@ -164,6 +213,45 @@ public class FormalAppCustomerManager {
|
||||
}
|
||||
|
||||
|
||||
public IPage<AppUserNoticeVO> findUserNoticePage(IPage<AppUserNoticeVO> page, AppUserNoticeVO userNotice, Long userId) {
|
||||
|
||||
Page<UserNoticeEntity> pageResult = userNoticeService.page(
|
||||
new Page<>(page.getCurrent(), page.getSize()),
|
||||
Wrappers.lambdaQuery(UserNoticeEntity.class)
|
||||
.eq(UserNoticeEntity::getUserId, userId)
|
||||
.eq(Objects.nonNull(userNotice.getHasRead()), UserNoticeEntity::getHasRead, userNotice.getHasRead())
|
||||
.eq(Objects.nonNull(userNotice.getNoticeType()), UserNoticeEntity::getNoticeType, userNotice.getNoticeType())
|
||||
.orderByDesc(UserNoticeEntity::getHasRead , UserNoticeEntity::getId)
|
||||
);
|
||||
|
||||
return pageResult.convert(AppBaseConvert.INSTANCE::convertUserNoticePageToVO);
|
||||
}
|
||||
|
||||
public boolean readUserNotice(Long noticeId) {
|
||||
|
||||
UserNoticeEntity userNotice = userNoticeService.getById(noticeId);
|
||||
Assert.notNull(userNotice, "通知不存在");
|
||||
userNotice.setHasRead(1);
|
||||
userNotice.setReleaseTime(new Date());
|
||||
return userNoticeService.updateById(userNotice);
|
||||
}
|
||||
|
||||
public Integer notReadNoticeCount(AppUserNoticeVO userNotice ,Long userId) {
|
||||
long count = userNoticeService.count(
|
||||
Wrappers.lambdaQuery(UserNoticeEntity.class)
|
||||
.eq(UserNoticeEntity::getUserId, userId)
|
||||
.eq(Objects.nonNull(userNotice.getNoticeType()), UserNoticeEntity::getNoticeType, userNotice.getNoticeType())
|
||||
);
|
||||
return Math.toIntExact(count);
|
||||
|
||||
}
|
||||
|
||||
|
||||
private String phoneTo32Hex(String phone) {
|
||||
return RadixUtil.encode(BladeAuthConstant.BINARY_TEMPLATE, Long.parseLong(phone));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.springblade.core.secure.utils.AuthUtil;
|
||||
import org.springblade.core.tool.utils.StringUtil;
|
||||
import org.springblade.modules.appFormal.convert.AppFormalMallConvert;
|
||||
import org.springblade.modules.appFormal.request.AddressSubmitRequest;
|
||||
import org.springblade.modules.appFormal.request.MallCartRequest;
|
||||
@@ -26,6 +27,7 @@ import org.springframework.stereotype.Component;
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
@@ -58,8 +60,8 @@ public class FormalAppMallManager {
|
||||
Page<MallSpuEntity> pageResult = spuService.page(
|
||||
new Page<>(page.getCurrent(), page.getSize()),
|
||||
Wrappers.lambdaQuery(MallSpuEntity.class)
|
||||
.eq(StringUtils.hasText(spuVO.getCateId()), MallSpuEntity::getCateId, spuVO.getCateId())
|
||||
.like(StringUtils.hasText(spuVO.getSpuName()), MallSpuEntity::getSpuName, spuVO.getSpuName())
|
||||
.eq(StringUtil.isNotBlank(spuVO.getCateId()), MallSpuEntity::getCateId, spuVO.getCateId())
|
||||
.like(StringUtil.isNotBlank(spuVO.getSpuName()), MallSpuEntity::getSpuName, spuVO.getSpuName())
|
||||
.orderByDesc(MallSpuEntity::getId)
|
||||
);
|
||||
|
||||
@@ -72,7 +74,7 @@ public class FormalAppMallManager {
|
||||
new Page<>(page.getCurrent(), page.getSize()),
|
||||
Wrappers.lambdaQuery(MallCartEntity.class)
|
||||
.eq(MallCartEntity::getUserId, userId)
|
||||
.like(StringUtils.hasText(cartVO.getTitle()), MallCartEntity::getTitle, cartVO.getTitle())
|
||||
.like(StringUtil.isNotBlank(cartVO.getTitle()), MallCartEntity::getTitle, cartVO.getTitle())
|
||||
.orderByDesc(MallCartEntity::getId)
|
||||
);
|
||||
|
||||
@@ -80,7 +82,7 @@ public class FormalAppMallManager {
|
||||
|
||||
}
|
||||
|
||||
public Long addCart(MallCartRequest request) {
|
||||
public AppFormalMallCartInfoVO addCart(MallCartRequest request) {
|
||||
|
||||
MallSpuEntity mallSpu = spuService.getById(request.getSpuId());
|
||||
Assert.notNull(mallSpu, "商品不存在");
|
||||
@@ -94,7 +96,10 @@ public class FormalAppMallManager {
|
||||
|
||||
if (mallCart != null){
|
||||
mallCart.setQuantity(mallCart.getQuantity() + request.getQuantity());
|
||||
return mallCartService.updateById(mallCart) ? mallCart.getId() : null;
|
||||
if (!mallCartService.updateById(mallCart)){
|
||||
throw new RuntimeException("更新购物车失败");
|
||||
}
|
||||
return new AppFormalMallCartInfoVO().setId( mallCart.getId()).setFreight(BigDecimal.ZERO);
|
||||
}
|
||||
|
||||
MallCartEntity cart = new MallCartEntity();
|
||||
@@ -106,13 +111,13 @@ public class FormalAppMallManager {
|
||||
cart.setOriginalPrice(mallSpu.getOriginalPrice());
|
||||
cart.setRetailPrice(mallSpu.getRetailPrice());
|
||||
if (mallCartService.save(cart)){
|
||||
return cart.getId();
|
||||
return new AppFormalMallCartInfoVO().setFreight(BigDecimal.ZERO).setId(cart.getId());
|
||||
}
|
||||
throw new RuntimeException("添加购物车失败");
|
||||
|
||||
}
|
||||
|
||||
public Long addCartToOrder(MallCartRequest request) {
|
||||
public AppFormalMallCartInfoVO addCartToOrder(MallCartRequest request) {
|
||||
|
||||
MallSpuEntity mallSpu = spuService.getById(request.getSpuId());
|
||||
Assert.notNull(mallSpu, "商品不存在");
|
||||
@@ -126,7 +131,7 @@ public class FormalAppMallManager {
|
||||
cart.setOriginalPrice(mallSpu.getOriginalPrice());
|
||||
cart.setRetailPrice(mallSpu.getRetailPrice());
|
||||
if (mallCartService.save(cart)){
|
||||
return cart.getId();
|
||||
return new AppFormalMallCartInfoVO().setFreight(BigDecimal.ZERO).setId(cart.getId());
|
||||
}
|
||||
throw new RuntimeException("添加购物车失败");
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.appFormal.request;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 用户通知 实体类
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
@Data
|
||||
public class AppUserNoticeRequest implements Serializable {
|
||||
|
||||
|
||||
/**
|
||||
* 消息id
|
||||
*/
|
||||
private Long noticeId;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.appFormal.vo;
|
||||
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* 首页轮播图 实体类
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
@Data
|
||||
public class AppFormalBannerVO {
|
||||
|
||||
|
||||
|
||||
private String coverUrl;
|
||||
|
||||
private String route;
|
||||
|
||||
private String outsideUrl;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package org.springblade.modules.appFormal.vo;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class AppFormalMallCartInfoVO {
|
||||
private Long id;
|
||||
private BigDecimal freight = BigDecimal.ZERO;
|
||||
|
||||
}
|
||||
@@ -65,4 +65,6 @@ public class AppFormalMallSpuVO implements Serializable {
|
||||
*/
|
||||
private String tags;
|
||||
|
||||
private BigDecimal freight = BigDecimal.ZERO;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.appFormal.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 用户通知 实体类
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
@Data
|
||||
public class AppUserNoticeVO implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
private Integer noticeType;
|
||||
/**
|
||||
* 是否已读 0-否 1-是
|
||||
*/
|
||||
private Integer hasRead;
|
||||
|
||||
private Date releaseTime;
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
private String title;
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
private String content;
|
||||
|
||||
|
||||
}
|
||||
@@ -34,7 +34,7 @@ public class MallIntegralLogVO implements Serializable {
|
||||
private Integer type;
|
||||
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
private Date statisticalDate;
|
||||
|
||||
|
||||
|
||||
@@ -9,11 +9,12 @@ import org.springblade.core.mp.support.Condition;
|
||||
import org.springblade.core.mp.support.Query;
|
||||
import org.springblade.core.secure.utils.AuthUtil;
|
||||
import org.springblade.core.tool.api.R;
|
||||
import org.springblade.modules.appFormal.manager.FormalAppCustomerManager;
|
||||
import org.springblade.modules.appFormal.request.AppUserNoticeRequest;
|
||||
import org.springblade.modules.appFormal.vo.AppUserNoticeVO;
|
||||
import org.springblade.modules.appOffline.manager.OfflineAppCustomerManager;
|
||||
import org.springblade.modules.appOffline.vo.*;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -21,9 +22,10 @@ import java.util.List;
|
||||
@AllArgsConstructor
|
||||
@RequestMapping("offline-app/customer")
|
||||
@Tag(name = "积分app用户信息", description = "积分app用户信息接口")
|
||||
public class OfflineBaseController {
|
||||
public class OfflineCustomerController {
|
||||
|
||||
private final OfflineAppCustomerManager offlineAppCustomerManager;;
|
||||
private final OfflineAppCustomerManager offlineAppCustomerManager;
|
||||
private final FormalAppCustomerManager formalAppCustomerManager;
|
||||
|
||||
|
||||
|
||||
@@ -34,6 +36,30 @@ public class OfflineBaseController {
|
||||
return R.data(offlineAppCustomerManager.findUserInfo(AuthUtil.getUserId()));
|
||||
}
|
||||
|
||||
@Operation(summary = "查询用户直推")
|
||||
@GetMapping("/find-user-direct-list")
|
||||
public R<List<AppOfflineUserDirectVO>> findUserDirectList() {
|
||||
return R.data(offlineAppCustomerManager.findUserDirectList(AuthUtil.getUserId()));
|
||||
}
|
||||
|
||||
@Operation(summary = "查询用户通知")
|
||||
@GetMapping("/find-user-notice-page")
|
||||
public R<IPage<AppUserNoticeVO>> findUserNoticePage(Query query , AppUserNoticeVO userNotice) {
|
||||
return R.data(formalAppCustomerManager.findUserNoticePage(Condition.getPage(query), userNotice, AuthUtil.getUserId()));
|
||||
}
|
||||
|
||||
@Operation(summary = "读取用户通知")
|
||||
@PostMapping("/read-user-notice")
|
||||
public R<Boolean> readUserNotice(@RequestBody AppUserNoticeRequest request) {
|
||||
return R.status(formalAppCustomerManager.readUserNotice(request.getNoticeId()));
|
||||
}
|
||||
|
||||
@Operation(summary = "未读消息总数")
|
||||
@GetMapping("/not-read-notice-count")
|
||||
public R<Integer> notReadNoticeCount(AppUserNoticeVO userNotice) {
|
||||
return R.data(formalAppCustomerManager.notReadNoticeCount(userNotice ,AuthUtil.getUserId()));
|
||||
}
|
||||
|
||||
|
||||
@Operation(summary = "查询积分")
|
||||
@GetMapping("/find-user-integral")
|
||||
@@ -74,7 +100,7 @@ public class OfflineBaseController {
|
||||
|
||||
|
||||
@Operation(summary = "查询用户兑换福利包的列表")
|
||||
@GetMapping("/find-user-pack-list")
|
||||
@PostMapping("/find-user-pack-list")
|
||||
public R<IPage<AppOffLineUserPackInfoVO>> findUserPackList(Query query , AppOffLineUserPackInfoVO packInfo) {
|
||||
return R.data(offlineAppCustomerManager.findUserPackList(Condition.getPage(query) , packInfo ,AuthUtil.getUserId()));
|
||||
|
||||
@@ -5,8 +5,10 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import org.mapstruct.Mapper;
|
||||
|
||||
import org.mapstruct.Mapping;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
import org.springblade.modules.appOffline.vo.*;
|
||||
import org.springblade.modules.customer.pojo.entity.UserGenealogyEntity;
|
||||
import org.springblade.modules.customer.pojo.entity.UserIncreaseDayEntity;
|
||||
import org.springblade.modules.userPackInfo.pojo.entity.AdsEntity;
|
||||
import org.springblade.modules.userPackInfo.pojo.entity.PackageInfoEntity;
|
||||
@@ -39,4 +41,10 @@ public interface AppOfflineUserInfoConvert {
|
||||
AppOffLineUserPackInfoVO convertUserPackInfoPageToVO(UserPackageInfoCopyEntity entity);
|
||||
|
||||
List<AppOffLineAdsVO> convertAdsListToVO(List<AdsEntity> list);
|
||||
|
||||
|
||||
@Mapping(source = "id", target = "userId")
|
||||
@Mapping(source = "createTime", target = "registerTime")
|
||||
AppOfflineUserDirectVO convertGenealogyListToVO(UserGenealogyEntity entity);
|
||||
List<AppOfflineUserDirectVO> convertGenealogyListToListVO(List<UserGenealogyEntity> list);
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ public class UserGenealogyJob {
|
||||
log.info("同步注册后没结构的用户信息-树结构");
|
||||
List<User> userList = userService.list(
|
||||
Wrappers.lambdaQuery(User.class)
|
||||
.eq(User::getRegisterDate, DateUtil.getYesterday())
|
||||
.ge(User::getCreateTime, DateUtil.getYesterday())
|
||||
);
|
||||
|
||||
long userTreeRegisterCount = userTreeService.count(
|
||||
@@ -121,18 +121,18 @@ public class UserGenealogyJob {
|
||||
savaUserTree.setIsRevoked(0);
|
||||
savaUserTree.setRegisterDate(DateUtil.getToday());
|
||||
|
||||
if (userInfo.getPid() > 0){
|
||||
|
||||
UserTreeEntity parentTree = userTreeService.getById(userInfo.getPid());
|
||||
if (parentTree != null){
|
||||
|
||||
savaUserTree.setPid(parentTree.getId());
|
||||
savaUserTree.setPPhone(parentTree.getPhone());
|
||||
savaUserTree.setPName(parentTree.getName());
|
||||
savaUserTree.setPLevel(parentTree.getLevel());
|
||||
savaUserTree.setLevel(parentTree.getLevel() + 1);
|
||||
}
|
||||
}
|
||||
// if (userInfo.getPid() > 0){
|
||||
//
|
||||
// UserTreeEntity parentTree = userTreeService.getById(userInfo.getPid());
|
||||
// if (parentTree != null){
|
||||
//
|
||||
// savaUserTree.setPid(parentTree.getId());
|
||||
// savaUserTree.setPPhone(parentTree.getPhone());
|
||||
// savaUserTree.setPName(parentTree.getName());
|
||||
// savaUserTree.setPLevel(parentTree.getLevel());
|
||||
// savaUserTree.setLevel(parentTree.getLevel() + 1);
|
||||
// }
|
||||
// }
|
||||
userTreeService.save(savaUserTree);
|
||||
}
|
||||
}
|
||||
@@ -148,7 +148,7 @@ public class UserGenealogyJob {
|
||||
|
||||
List<User> userList = userService.list(
|
||||
Wrappers.lambdaQuery(User.class)
|
||||
.eq(User::getRegisterDate, DateUtil.getYesterday())
|
||||
.ge(User::getCreateTime, DateUtil.getYesterday())
|
||||
);
|
||||
|
||||
|
||||
@@ -187,22 +187,22 @@ public class UserGenealogyJob {
|
||||
savaUserGenealogy.setGroupId(userInfo.getId());
|
||||
savaUserGenealogy.setGenealogyList(new ArrayList<>());
|
||||
|
||||
if (userInfo.getPid() > 0){
|
||||
UserGenealogyEntity parentGenealogy = userGenealogyService.getById(userInfo.getPid());
|
||||
if (parentGenealogy != null){
|
||||
savaUserGenealogy.setLevel(parentGenealogy.getLevel() + 1);
|
||||
savaUserGenealogy.setPid(parentGenealogy.getId());
|
||||
savaUserGenealogy.setPPhone(parentGenealogy.getPhone());
|
||||
savaUserGenealogy.setPName(parentGenealogy.getName());
|
||||
savaUserGenealogy.setRootId(parentGenealogy.getId());
|
||||
savaUserGenealogy.setGroupId(parentGenealogy.getId());
|
||||
|
||||
List<Long> genealogyList = parentGenealogy.getGenealogyList();
|
||||
genealogyList.add(parentGenealogy.getId());
|
||||
savaUserGenealogy.setGenealogyList(genealogyList);
|
||||
|
||||
}
|
||||
}
|
||||
// if (userInfo.getPid() > 0){
|
||||
// UserGenealogyEntity parentGenealogy = userGenealogyService.getById(userInfo.getPid());
|
||||
// if (parentGenealogy != null){
|
||||
// savaUserGenealogy.setLevel(parentGenealogy.getLevel() + 1);
|
||||
// savaUserGenealogy.setPid(parentGenealogy.getId());
|
||||
// savaUserGenealogy.setPPhone(parentGenealogy.getPhone());
|
||||
// savaUserGenealogy.setPName(parentGenealogy.getName());
|
||||
// savaUserGenealogy.setRootId(parentGenealogy.getId());
|
||||
// savaUserGenealogy.setGroupId(parentGenealogy.getId());
|
||||
//
|
||||
// List<Long> genealogyList = parentGenealogy.getGenealogyList();
|
||||
// genealogyList.add(parentGenealogy.getId());
|
||||
// savaUserGenealogy.setGenealogyList(genealogyList);
|
||||
//
|
||||
// }
|
||||
// }
|
||||
|
||||
userGenealogyService.save(savaUserGenealogy);
|
||||
}
|
||||
@@ -219,7 +219,7 @@ public class UserGenealogyJob {
|
||||
|
||||
List<User> userList = userService.list(
|
||||
Wrappers.lambdaQuery(User.class)
|
||||
.eq(User::getRegisterDate, DateUtil.getYesterday())
|
||||
.ge(User::getCreateTime, DateUtil.getYesterday())
|
||||
);
|
||||
|
||||
long userIncreaseDayRegisterCount = userIncreaseDayService.count(
|
||||
@@ -253,16 +253,16 @@ public class UserGenealogyJob {
|
||||
savaUserIncreaseDay.setPPhone(null);
|
||||
savaUserIncreaseDay.setPLevel(0);
|
||||
|
||||
if (userInfo.getPid() > 0){
|
||||
UserIncreaseDayEntity parentIncreaseDay = userIncreaseDayService.getById(userInfo.getPid());
|
||||
if (parentIncreaseDay != null){
|
||||
savaUserIncreaseDay.setPid(parentIncreaseDay.getId());
|
||||
savaUserIncreaseDay.setPName(parentIncreaseDay.getName());
|
||||
savaUserIncreaseDay.setPPhone(parentIncreaseDay.getPhone());
|
||||
savaUserIncreaseDay.setPLevel(parentIncreaseDay.getCurrentLevelId());
|
||||
|
||||
}
|
||||
}
|
||||
// if (userInfo.getPid() > 0){
|
||||
// UserIncreaseDayEntity parentIncreaseDay = userIncreaseDayService.getById(userInfo.getPid());
|
||||
// if (parentIncreaseDay != null){
|
||||
// savaUserIncreaseDay.setPid(parentIncreaseDay.getId());
|
||||
// savaUserIncreaseDay.setPName(parentIncreaseDay.getName());
|
||||
// savaUserIncreaseDay.setPPhone(parentIncreaseDay.getPhone());
|
||||
// savaUserIncreaseDay.setPLevel(parentIncreaseDay.getCurrentLevelId());
|
||||
//
|
||||
// }
|
||||
// }
|
||||
|
||||
userIncreaseDayService.save(savaUserIncreaseDay);
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ import org.springframework.stereotype.Component;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Slf4j
|
||||
@@ -50,6 +51,7 @@ public class AppUserInfoListener {
|
||||
savaUserTree.setIsSyncGenealogy(0);
|
||||
savaUserTree.setIsRevoked(0);
|
||||
savaUserTree.setRegisterDate(DateUtil.getToday());
|
||||
savaUserTree.setCreateTime(new Date());
|
||||
|
||||
if (event.getIsRoot() == 0){
|
||||
UserTreeEntity parentTree = userTreeService.getById(event.getPid());
|
||||
@@ -86,6 +88,7 @@ public class AppUserInfoListener {
|
||||
savaUserGenealogy.setRootId(event.getUserId());
|
||||
savaUserGenealogy.setGroupId(event.getUserId());
|
||||
savaUserGenealogy.setGenealogyList(new ArrayList<>());
|
||||
savaUserGenealogy.setCreateTime(new Date());
|
||||
|
||||
if (event.getIsRoot() == 0){
|
||||
UserGenealogyEntity parentGenealogy = userGenealogyService.getById(event.getPid());
|
||||
@@ -130,6 +133,7 @@ public class AppUserInfoListener {
|
||||
savaUserIncreaseDay.setPName("");
|
||||
savaUserIncreaseDay.setPPhone(null);
|
||||
savaUserIncreaseDay.setPLevel(0);
|
||||
savaUserIncreaseDay.setCreateTime(new Date());
|
||||
|
||||
if (event.getIsRoot() == 0){
|
||||
UserIncreaseDayEntity parentIncreaseDay = userIncreaseDayService.getById(event.getPid());
|
||||
|
||||
@@ -9,7 +9,9 @@ import jakarta.annotation.PostConstruct;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.springblade.modules.appOffline.convert.AppOfflineUserInfoConvert;
|
||||
import org.springblade.modules.appOffline.vo.*;
|
||||
import org.springblade.modules.customer.pojo.entity.UserGenealogyEntity;
|
||||
import org.springblade.modules.customer.pojo.entity.UserIncreaseDayEntity;
|
||||
import org.springblade.modules.customer.service.IUserGenealogyService;
|
||||
import org.springblade.modules.customer.service.IUserIncreaseDayService;
|
||||
import org.springblade.modules.system.pojo.entity.User;
|
||||
import org.springblade.modules.system.service.IUserService;
|
||||
@@ -32,6 +34,7 @@ public class OfflineAppCustomerManager {
|
||||
|
||||
|
||||
private final IUserService userService;
|
||||
private final IUserGenealogyService userGenealogyService;
|
||||
private final IUserIncreaseDayService userIncreaseDayService;
|
||||
private final IUserBenefitService userBenefitService;
|
||||
private final IUserCashService userCashService;
|
||||
@@ -55,7 +58,7 @@ public class OfflineAppCustomerManager {
|
||||
Wrappers.lambdaQuery(PackageInfoEntity.class)
|
||||
.orderByAsc(PackageInfoEntity::getId)
|
||||
);
|
||||
packageInfoVOList = AppOfflineUserInfoConvert.INSTANCE.convertPackageInfoListToVO(packageInfoList);
|
||||
packageInfoVOList = AppOfflineUserInfoConvert.INSTANCE.convertPackageInfoListToVO(packageInfoList);
|
||||
}
|
||||
|
||||
|
||||
@@ -66,13 +69,31 @@ public class OfflineAppCustomerManager {
|
||||
UserIncreaseDayEntity userIncreaseDayEntity = userIncreaseDayService.getById(userId);
|
||||
return AppOfflineUserInfoConvert.INSTANCE.convertEntityToVO(userIncreaseDayEntity);
|
||||
|
||||
}
|
||||
|
||||
|
||||
public List<AppOfflineUserDirectVO> findUserDirectList(Long userId) {
|
||||
|
||||
User user = userService.getById(userId);
|
||||
Assert.notNull(user, "用户不存在");
|
||||
|
||||
List<UserGenealogyEntity> genealogyList = userGenealogyService.list(
|
||||
Wrappers.lambdaQuery(UserGenealogyEntity.class)
|
||||
.eq(UserGenealogyEntity::getPid, userId)
|
||||
.eq(UserGenealogyEntity::getIsRevoked, 0)
|
||||
.orderByDesc(UserGenealogyEntity::getId)
|
||||
|
||||
);
|
||||
|
||||
return AppOfflineUserInfoConvert.INSTANCE.convertGenealogyListToListVO(genealogyList);
|
||||
|
||||
}
|
||||
|
||||
|
||||
public AppOfflineIntegralVO findUserIntegral(Long userId) {
|
||||
|
||||
UserBenefitEntity userBenefit = userBenefitService.getById(userId);
|
||||
if (userBenefit == null){
|
||||
if (userBenefit == null) {
|
||||
userBenefit = new UserBenefitEntity();
|
||||
userBenefit.setId(userId);
|
||||
userBenefit.setAmount(BigDecimal.ZERO);
|
||||
@@ -80,7 +101,7 @@ public class OfflineAppCustomerManager {
|
||||
}
|
||||
|
||||
UserCashEntity userCash = userCashService.getById(userId);
|
||||
if (userCash == null){
|
||||
if (userCash == null) {
|
||||
userCash = new UserCashEntity();
|
||||
userCash.setId(userId);
|
||||
userCash.setAmount(BigDecimal.ZERO);
|
||||
@@ -88,7 +109,7 @@ public class OfflineAppCustomerManager {
|
||||
}
|
||||
|
||||
UserCommissionEntity userCommission = userCommissionService.getById(userId);
|
||||
if (userCommission == null){
|
||||
if (userCommission == null) {
|
||||
userCommission = new UserCommissionEntity();
|
||||
userCommission.setId(userId);
|
||||
userCommission.setAmount(BigDecimal.ZERO);
|
||||
@@ -160,4 +181,5 @@ public class OfflineAppCustomerManager {
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -106,6 +106,18 @@ public class OfflineAppDailySignManager {
|
||||
if (isLook(binaryLookAtAds , adsIndex)){
|
||||
throw new RuntimeException("此广告今日已经观看");
|
||||
}
|
||||
|
||||
if(userDailySignService.count(
|
||||
Wrappers.lambdaQuery(UserDailySignEntity.class)
|
||||
.eq(UserDailySignEntity::getType, 1)
|
||||
.eq(UserDailySignEntity::getUserId, request.getUserId())
|
||||
.eq(UserDailySignEntity::getStatisticsDate, DateUtil.getToday())
|
||||
.eq(UserDailySignEntity::getIsComplete, 1)
|
||||
|
||||
) > 0){
|
||||
throw new RuntimeException("今日已完成签到");
|
||||
}
|
||||
|
||||
bladeRedis.setEx(outputTimeKey, System.currentTimeMillis(), Duration.ofSeconds(60 * 60 * 24));
|
||||
return Boolean.TRUE;
|
||||
|
||||
@@ -156,6 +168,18 @@ public class OfflineAppDailySignManager {
|
||||
lookToBinary = setLookToBinary(String.valueOf(objectLookAtAds), adsIndex);
|
||||
}
|
||||
bladeRedis.setEx(key, lookToBinary, Duration.ofSeconds(60 * 60 * 24));
|
||||
|
||||
if(userDailySignService.count(
|
||||
Wrappers.lambdaQuery(UserDailySignEntity.class)
|
||||
.eq(UserDailySignEntity::getType, 1)
|
||||
.eq(UserDailySignEntity::getUserId, request.getUserId())
|
||||
.eq(UserDailySignEntity::getStatisticsDate, DateUtil.getToday())
|
||||
.eq(UserDailySignEntity::getIsComplete, 1)
|
||||
|
||||
) > 0){
|
||||
throw new RuntimeException("今日已完成签到");
|
||||
}
|
||||
|
||||
UserDailySignEntity userDailySign = userDailySignService.getOne(
|
||||
Wrappers.lambdaQuery(UserDailySignEntity.class)
|
||||
.eq(UserDailySignEntity::getType, adsType)
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
package org.springblade.modules.appOffline.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class AppOfflineUserDirectVO implements Serializable {
|
||||
|
||||
private Long userId;
|
||||
private String name;
|
||||
private Long phone;
|
||||
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
|
||||
private Date registerTime;
|
||||
|
||||
}
|
||||
@@ -20,7 +20,6 @@ public interface BladeAuthConstant {
|
||||
*/
|
||||
Integer FAIL_COUNT = 5;
|
||||
|
||||
String DEFAULT_PASSWORD = "123456";
|
||||
|
||||
String INVITATION_CODE = "invitation_code";
|
||||
|
||||
|
||||
@@ -27,15 +27,11 @@ package org.springblade.modules.auth.granter;
|
||||
|
||||
import cn.hutool.core.util.PhoneUtil;
|
||||
import cn.hutool.core.util.RadixUtil;
|
||||
import cn.hutool.core.util.RandomUtil;
|
||||
import com.alibaba.fastjson2.JSONObject;
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import lombok.val;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.springblade.common.cache.ParamCache;
|
||||
import org.springblade.common.utils.date.DateUtil;
|
||||
import org.springblade.core.launch.constant.TokenConstant;
|
||||
import org.springblade.core.oauth2.exception.ExceptionCode;
|
||||
import org.springblade.core.oauth2.exception.UserInvalidException;
|
||||
@@ -50,13 +46,11 @@ import org.springblade.core.oauth2.service.OAuth2User;
|
||||
import org.springblade.core.oauth2.service.OAuth2UserService;
|
||||
import org.springblade.core.oauth2.service.impl.OAuth2UserDetail;
|
||||
import org.springblade.core.social.props.SocialProperties;
|
||||
import org.springblade.core.tool.support.Kv;
|
||||
import org.springblade.core.tool.utils.Func;
|
||||
import org.springblade.core.tool.utils.SM2Util;
|
||||
import org.springblade.modules.appOffline.event.AppUserRegisterEvent;
|
||||
import org.springblade.modules.auth.constant.BladeAuthConstant;
|
||||
import org.springblade.modules.auth.provider.UserType;
|
||||
import org.springblade.modules.auth.ymlConfigFile.AppFormalClientConfig;
|
||||
import org.springblade.modules.sms.service.AliYunSmsService;
|
||||
import org.springblade.modules.system.pojo.entity.User;
|
||||
import org.springblade.modules.system.service.IUserService;
|
||||
@@ -80,7 +74,6 @@ public class RegisterTokenGranter extends AbstractTokenGranter {
|
||||
|
||||
private final IUserService service;
|
||||
private final OAuth2Properties properties;
|
||||
private final AppFormalClientConfig appFormalClientConfig;
|
||||
private final SocialProperties socialProperties;
|
||||
private final ApplicationEventPublisher publisher;
|
||||
private final AliYunSmsService aliYunSmsService;
|
||||
@@ -91,13 +84,11 @@ public class RegisterTokenGranter extends AbstractTokenGranter {
|
||||
IUserService service,
|
||||
OAuth2Properties properties,
|
||||
SocialProperties socialProperties,
|
||||
AppFormalClientConfig appFormalClientConfig,
|
||||
ApplicationEventPublisher publisher,
|
||||
AliYunSmsService aliYunSmsService) {
|
||||
super(clientService, userService, passwordHandler);
|
||||
this.service = service;
|
||||
this.properties = properties;
|
||||
this.appFormalClientConfig = appFormalClientConfig;
|
||||
this.socialProperties = socialProperties;
|
||||
this.publisher = publisher;
|
||||
this.aliYunSmsService = aliYunSmsService;
|
||||
@@ -111,34 +102,30 @@ public class RegisterTokenGranter extends AbstractTokenGranter {
|
||||
@Override
|
||||
public OAuth2User user(OAuth2Request request) {
|
||||
|
||||
log.info("参数parameter:[{}]", request);
|
||||
|
||||
// 校验注册功能是否开启
|
||||
Boolean registerOpen = Func.toBoolean(ParamCache.getValue(REGISTER_USER_VALUE), false);
|
||||
|
||||
String clientId = request.getClientId();
|
||||
|
||||
if (!registerOpen || !clientId.equals(appFormalClientConfig.getName())) {
|
||||
if (!registerOpen || !clientId.equals("app")) {
|
||||
throw new UserInvalidException("注册功能暂未开启,请联系管理员");
|
||||
}
|
||||
|
||||
Kv parameterArgs = request.getParameterArgs();
|
||||
log.info("参数parameterArgs:[{}]", parameterArgs);
|
||||
|
||||
|
||||
// 验证码
|
||||
String code = request.getCode();
|
||||
String password = request.getPassword();
|
||||
log.info("password:[{}]", password);
|
||||
String password = "";
|
||||
if (code != null){
|
||||
aliYunSmsService.verifySms(request.getPhone(), code);
|
||||
password = BladeAuthConstant.DEFAULT_PASSWORD;
|
||||
// aliYunSmsService.verifySms(request.getPhone(), code);
|
||||
// 截取手机号后六位
|
||||
password = createDefaultPassword(request.getPhone());
|
||||
}else {
|
||||
Assert.notNull(password, "密码不能为空");
|
||||
password = SM2Util.decrypt(request.getPassword(), properties.getPrivateKey());
|
||||
//校验密码长度是6到12位, 可以包含字母、数字
|
||||
Predicate<String> isPasswordValid = passwd -> passwd.matches("^(?=.*[0-9])(?=.*[a-z]){6,12}$");
|
||||
Predicate<String> isPasswordValid = passwd -> passwd.matches("^(?=.*[0-9])(?=.*[a-zA-Z]){6,12}$");
|
||||
//去掉上面特殊字符校验
|
||||
Assert.isTrue(!isPasswordValid.test(password), "密码长度必须在6到12位之间,且需要包含英文与数字");
|
||||
Assert.isTrue(!isPasswordValid.test(password), "密码长度必须在6到12位之间,且需要包含大小写英文与数字");
|
||||
}
|
||||
|
||||
String sourceParameter = request.getSource();
|
||||
@@ -150,12 +137,11 @@ public class RegisterTokenGranter extends AbstractTokenGranter {
|
||||
user.setUserType(UserType.of(request.getUserType()).getCategory());
|
||||
user.setTenantId(request.getTenantId());
|
||||
user.setAccount(request.getPhone());
|
||||
user.setPassword(SM2Util.decrypt(request.getPassword(), properties.getPrivateKey()));
|
||||
user.setPassword(password);
|
||||
user.setName(request.getName());
|
||||
user.setRealName(request.getName());
|
||||
user.setPhone(request.getPhone());
|
||||
user.setEmail(request.getEmail());
|
||||
user.setRegisterDate(DateUtil.getToday());
|
||||
// 校验用户格式
|
||||
validateUser(user);
|
||||
|
||||
@@ -183,8 +169,6 @@ public class RegisterTokenGranter extends AbstractTokenGranter {
|
||||
|
||||
}
|
||||
|
||||
user.setInvitationCode(phoneTo32Hex(request.getPhone()));
|
||||
user.setPid(pid);
|
||||
// 执行用户注册
|
||||
if (service.registerUser(user)) {
|
||||
// 构建oauth2所需用户信息
|
||||
@@ -261,4 +245,9 @@ public class RegisterTokenGranter extends AbstractTokenGranter {
|
||||
private Long HexToPhone(String invitation_code) {
|
||||
return RadixUtil.decode(BladeAuthConstant.BINARY_TEMPLATE, invitation_code);
|
||||
}
|
||||
|
||||
private String createDefaultPassword(String phone) {
|
||||
return phone.substring(phone.length() - 6);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,161 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.customer.controller;
|
||||
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
|
||||
import lombok.AllArgsConstructor;
|
||||
import jakarta.validation.Valid;
|
||||
|
||||
import org.springblade.core.secure.BladeUser;
|
||||
import org.springblade.core.secure.annotation.IsAdmin;
|
||||
import org.springblade.core.mp.support.Condition;
|
||||
import org.springblade.core.mp.support.Query;
|
||||
import org.springblade.core.tool.api.R;
|
||||
import org.springblade.core.tool.utils.Func;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.springblade.modules.customer.pojo.entity.UserNoticeEntity;
|
||||
import org.springblade.modules.customer.pojo.vo.UserNoticeVO;
|
||||
import org.springblade.modules.customer.excel.UserNoticeExcel;
|
||||
import org.springblade.modules.customer.wrapper.UserNoticeWrapper;
|
||||
import org.springblade.modules.customer.service.IUserNoticeService;
|
||||
import org.springblade.core.boot.ctrl.BladeController;
|
||||
import org.springblade.core.tool.utils.DateUtil;
|
||||
import org.springblade.core.excel.util.ExcelUtil;
|
||||
import org.springblade.core.tool.constant.BladeConstant;
|
||||
import java.util.Map;
|
||||
import java.util.List;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* 用户通知 控制器
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
@RestController
|
||||
@AllArgsConstructor
|
||||
@RequestMapping("blade-notice/notice")
|
||||
@Tag(name = "用户通知", description = "用户通知接口")
|
||||
public class UserNoticeController extends BladeController {
|
||||
|
||||
private final IUserNoticeService noticeService;
|
||||
|
||||
/**
|
||||
* 用户通知 详情
|
||||
*/
|
||||
@GetMapping("/detail")
|
||||
@ApiOperationSupport(order = 1)
|
||||
@Operation(summary = "详情", description = "传入notice")
|
||||
public R<UserNoticeVO> detail(UserNoticeEntity notice) {
|
||||
UserNoticeEntity detail = noticeService.getOne(Condition.getQueryWrapper(notice));
|
||||
return R.data(UserNoticeWrapper.build().entityVO(detail));
|
||||
}
|
||||
/**
|
||||
* 用户通知 分页
|
||||
*/
|
||||
@GetMapping("/list")
|
||||
@ApiOperationSupport(order = 2)
|
||||
@Operation(summary = "分页", description = "传入notice")
|
||||
public R<IPage<UserNoticeVO>> list(UserNoticeEntity notice, Query query) {
|
||||
IPage<UserNoticeEntity> pages = noticeService.page(Condition.getPage(query), Condition.getQueryWrapper(notice).orderByDesc("id"));
|
||||
return R.data(UserNoticeWrapper.build().pageVO(pages));
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户通知 自定义分页
|
||||
*/
|
||||
@GetMapping("/page")
|
||||
@ApiOperationSupport(order = 3)
|
||||
@Operation(summary = "分页", description = "传入notice")
|
||||
public R<IPage<UserNoticeVO>> page(UserNoticeVO notice, Query query) {
|
||||
IPage<UserNoticeVO> pages = noticeService.selectUserNoticePage(Condition.getPage(query), notice);
|
||||
return R.data(pages);
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户通知 新增
|
||||
*/
|
||||
@PostMapping("/save")
|
||||
@ApiOperationSupport(order = 4)
|
||||
@Operation(summary = "新增", description = "传入notice")
|
||||
public R save(@Valid @RequestBody UserNoticeEntity notice) {
|
||||
return R.status(noticeService.save(notice));
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户通知 修改
|
||||
*/
|
||||
@PostMapping("/update")
|
||||
@ApiOperationSupport(order = 5)
|
||||
@Operation(summary = "修改", description = "传入notice")
|
||||
public R update(@Valid @RequestBody UserNoticeEntity notice) {
|
||||
return R.status(noticeService.updateById(notice));
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户通知 新增或修改
|
||||
*/
|
||||
@PostMapping("/submit")
|
||||
@ApiOperationSupport(order = 6)
|
||||
@Operation(summary = "新增或修改", description = "传入notice")
|
||||
public R submit(@Valid @RequestBody UserNoticeEntity notice) {
|
||||
return R.status(noticeService.saveOrUpdate(notice));
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户通知 删除
|
||||
*/
|
||||
@PostMapping("/remove")
|
||||
@ApiOperationSupport(order = 7)
|
||||
@Operation(summary = "逻辑删除", description = "传入ids")
|
||||
public R remove(@Parameter(description = "主键集合", required = true) @RequestParam String ids) {
|
||||
return R.status(noticeService.deleteLogic(Func.toLongList(ids)));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 导出数据
|
||||
*/
|
||||
@IsAdmin
|
||||
@GetMapping("/export-notice")
|
||||
@ApiOperationSupport(order = 9)
|
||||
@Operation(summary = "导出数据", description = "传入notice")
|
||||
public void exportUserNotice(@Parameter(hidden = true) @RequestParam Map<String, Object> notice, BladeUser bladeUser, HttpServletResponse response) {
|
||||
QueryWrapper<UserNoticeEntity> queryWrapper = Condition.getQueryWrapper(notice, UserNoticeEntity.class);
|
||||
//if (!AuthUtil.isAdministrator()) {
|
||||
// queryWrapper.lambda().eq(UserNotice::getTenantId, bladeUser.getTenantId());
|
||||
//}
|
||||
//queryWrapper.lambda().eq(UserNoticeEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED);
|
||||
List<UserNoticeExcel> list = noticeService.exportUserNotice(queryWrapper);
|
||||
ExcelUtil.export(response, "用户通知数据" + DateUtil.time(), "用户通知数据表", list, UserNoticeExcel.class);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.customer.excel;
|
||||
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import cn.idev.excel.annotation.write.style.ColumnWidth;
|
||||
import cn.idev.excel.annotation.write.style.ContentRowHeight;
|
||||
import cn.idev.excel.annotation.write.style.HeadRowHeight;
|
||||
import java.io.Serializable;
|
||||
import java.io.Serial;
|
||||
|
||||
|
||||
/**
|
||||
* 用户通知 Excel实体类
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
@Data
|
||||
@ColumnWidth(25)
|
||||
@HeadRowHeight(20)
|
||||
@ContentRowHeight(18)
|
||||
public class UserNoticeExcel implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("主键")
|
||||
private Long id;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("用户id")
|
||||
private Long userId;
|
||||
/**
|
||||
* 通知类型0-系统通知
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("通知类型0-系统通知")
|
||||
private Integer noticeType;
|
||||
/**
|
||||
* 是否已读 0-否 1-是
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("是否已读 0-否 1-是")
|
||||
private Integer hasRead;
|
||||
/**
|
||||
* 阅读时间
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("阅读时间")
|
||||
private Date releaseTime;
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("标题")
|
||||
private String title;
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("内容")
|
||||
private String content;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("备注")
|
||||
private String remarks;
|
||||
/**
|
||||
* 是否已删除
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.customer.mapper;
|
||||
|
||||
import org.springblade.modules.customer.pojo.entity.UserNoticeEntity;
|
||||
import org.springblade.modules.customer.pojo.vo.UserNoticeVO;
|
||||
import org.springblade.modules.customer.excel.UserNoticeExcel;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户通知 Mapper 接口
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
public interface UserNoticeMapper extends BaseMapper<UserNoticeEntity> {
|
||||
|
||||
/**
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param notice 查询参数
|
||||
* @return List<UserNoticeVO>
|
||||
*/
|
||||
List<UserNoticeVO> selectUserNoticePage(IPage page, UserNoticeVO notice);
|
||||
|
||||
|
||||
/**
|
||||
* 获取导出数据
|
||||
*
|
||||
* @param queryWrapper 查询条件
|
||||
* @return List<UserNoticeExcel>
|
||||
*/
|
||||
List<UserNoticeExcel> exportUserNotice(@Param("ew") Wrapper<UserNoticeEntity> queryWrapper);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="org.springblade.modules.customer.mapper.UserNoticeMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="noticeResultMap" type="org.springblade.modules.customer.pojo.entity.UserNoticeEntity">
|
||||
<result column="id" property="id"/>
|
||||
<result column="user_id" property="userId"/>
|
||||
<result column="notice_type" property="noticeType"/>
|
||||
<result column="has_read" property="hasRead"/>
|
||||
<result column="release_time" property="releaseTime"/>
|
||||
<result column="title" property="title"/>
|
||||
<result column="content" property="content"/>
|
||||
<result column="remarks" property="remarks"/>
|
||||
<result column="create_user" property="createUser"/>
|
||||
<result column="create_dept" property="createDept"/>
|
||||
<result column="create_time" property="createTime"/>
|
||||
<result column="update_user" property="updateUser"/>
|
||||
<result column="update_time" property="updateTime"/>
|
||||
<result column="status" property="status"/>
|
||||
<result column="is_deleted" property="isDeleted"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectUserNoticePage" resultMap="noticeResultMap">
|
||||
select * from user_notice where is_deleted = 0
|
||||
</select>
|
||||
|
||||
|
||||
<select id="exportUserNotice" resultType="org.springblade.modules.customer.excel.UserNoticeExcel">
|
||||
SELECT * FROM user_notice ${ew.customSqlSegment}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.customer.pojo.dto;
|
||||
|
||||
import org.springblade.modules.customer.pojo.entity.UserNoticeEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 用户通知 数据传输对象实体类
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class UserNoticeDTO extends UserNoticeEntity {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.customer.pojo.entity;
|
||||
|
||||
import lombok.Data;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.util.Date;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springblade.core.mp.base.BaseEntity;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 用户通知 实体类
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
@Data
|
||||
@TableName("user_notice")
|
||||
@Schema(description = "UserNotice对象")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class UserNoticeEntity extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@Schema(description = "用户id")
|
||||
private Long userId;
|
||||
/**
|
||||
* 通知类型0-系统通知
|
||||
*/
|
||||
@Schema(description = "通知类型0-系统通知")
|
||||
private Integer noticeType;
|
||||
/**
|
||||
* 是否已读 0-否 1-是
|
||||
*/
|
||||
@Schema(description = "是否已读 0-否 1-是")
|
||||
private Integer hasRead;
|
||||
/**
|
||||
* 阅读时间
|
||||
*/
|
||||
@Schema(description = "阅读时间")
|
||||
private Date releaseTime;
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
@Schema(description = "标题")
|
||||
private String title;
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
@Schema(description = "内容")
|
||||
private String content;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@Schema(description = "备注")
|
||||
private String remarks;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.customer.pojo.vo;
|
||||
|
||||
import org.springblade.modules.customer.pojo.entity.UserNoticeEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 用户通知 视图实体类
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class UserNoticeVO extends UserNoticeEntity {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.customer.service;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import org.springblade.modules.customer.pojo.entity.UserNoticeEntity;
|
||||
import org.springblade.modules.customer.pojo.vo.UserNoticeVO;
|
||||
import org.springblade.modules.customer.excel.UserNoticeExcel;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.springblade.core.mp.base.BaseService;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户通知 服务类
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
public interface IUserNoticeService extends BaseService<UserNoticeEntity> {
|
||||
/**
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param notice 查询参数
|
||||
* @return IPage<UserNoticeVO>
|
||||
*/
|
||||
IPage<UserNoticeVO> selectUserNoticePage(IPage<UserNoticeVO> page, UserNoticeVO notice);
|
||||
|
||||
|
||||
/**
|
||||
* 导出数据
|
||||
*
|
||||
* @param queryWrapper 查询条件
|
||||
* @return List<UserNoticeExcel>
|
||||
*/
|
||||
List<UserNoticeExcel> exportUserNotice(Wrapper<UserNoticeEntity> queryWrapper);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.customer.service.impl;
|
||||
|
||||
import org.springblade.modules.customer.pojo.entity.UserNoticeEntity;
|
||||
import org.springblade.modules.customer.pojo.vo.UserNoticeVO;
|
||||
import org.springblade.modules.customer.excel.UserNoticeExcel;
|
||||
import org.springblade.modules.customer.mapper.UserNoticeMapper;
|
||||
import org.springblade.modules.customer.service.IUserNoticeService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.springblade.core.mp.base.BaseServiceImpl;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户通知 服务实现类
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
@Service
|
||||
public class UserNoticeServiceImpl extends BaseServiceImpl<UserNoticeMapper, UserNoticeEntity> implements IUserNoticeService {
|
||||
|
||||
@Override
|
||||
public IPage<UserNoticeVO> selectUserNoticePage(IPage<UserNoticeVO> page, UserNoticeVO notice) {
|
||||
return page.setRecords(baseMapper.selectUserNoticePage(page, notice));
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public List<UserNoticeExcel> exportUserNotice(Wrapper<UserNoticeEntity> queryWrapper) {
|
||||
List<UserNoticeExcel> noticeList = baseMapper.exportUserNotice(queryWrapper);
|
||||
//noticeList.forEach(notice -> {
|
||||
// notice.setTypeName(DictCache.getValue(DictEnum.YES_NO, UserNotice.getType()));
|
||||
//});
|
||||
return noticeList;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.customer.wrapper;
|
||||
|
||||
import org.springblade.core.mp.support.BaseEntityWrapper;
|
||||
import org.springblade.core.tool.utils.BeanUtil;
|
||||
import org.springblade.modules.customer.pojo.entity.UserNoticeEntity;
|
||||
import org.springblade.modules.customer.pojo.vo.UserNoticeVO;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* 用户通知 包装类,返回视图层所需的字段
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
public class UserNoticeWrapper extends BaseEntityWrapper<UserNoticeEntity, UserNoticeVO> {
|
||||
|
||||
public static UserNoticeWrapper build() {
|
||||
return new UserNoticeWrapper();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserNoticeVO entityVO(UserNoticeEntity notice) {
|
||||
UserNoticeVO noticeVO = Objects.requireNonNull(BeanUtil.copyProperties(notice, UserNoticeVO.class));
|
||||
|
||||
//User createUser = UserCache.getUser(notice.getCreateUser());
|
||||
//User updateUser = UserCache.getUser(notice.getUpdateUser());
|
||||
//noticeVO.setCreateUserName(createUser.getName());
|
||||
//noticeVO.setUpdateUserName(updateUser.getName());
|
||||
|
||||
return noticeVO;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,161 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.mall.controller;
|
||||
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
|
||||
import lombok.AllArgsConstructor;
|
||||
import jakarta.validation.Valid;
|
||||
|
||||
import org.springblade.core.secure.BladeUser;
|
||||
import org.springblade.core.secure.annotation.IsAdmin;
|
||||
import org.springblade.core.mp.support.Condition;
|
||||
import org.springblade.core.mp.support.Query;
|
||||
import org.springblade.core.tool.api.R;
|
||||
import org.springblade.core.tool.utils.Func;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.springblade.modules.mall.pojo.entity.AppBannerEntity;
|
||||
import org.springblade.modules.mall.pojo.vo.UserBannerVO;
|
||||
import org.springblade.modules.mall.excel.AppBannerExcel;
|
||||
import org.springblade.modules.mall.wrapper.AppBannerWrapper;
|
||||
import org.springblade.modules.mall.service.IAppBannerService;
|
||||
import org.springblade.core.boot.ctrl.BladeController;
|
||||
import org.springblade.core.tool.utils.DateUtil;
|
||||
import org.springblade.core.excel.util.ExcelUtil;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.List;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* 首页轮播图 控制器
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
@RestController
|
||||
@AllArgsConstructor
|
||||
@RequestMapping("blade-banner/banner")
|
||||
@Tag(name = "首页轮播图", description = "首页轮播图接口")
|
||||
public class AppBannerController extends BladeController {
|
||||
|
||||
private final IAppBannerService bannerService;
|
||||
|
||||
/**
|
||||
* 首页轮播图 详情
|
||||
*/
|
||||
@GetMapping("/detail")
|
||||
@ApiOperationSupport(order = 1)
|
||||
@Operation(summary = "详情", description = "传入banner")
|
||||
public R<UserBannerVO> detail(AppBannerEntity banner) {
|
||||
AppBannerEntity detail = bannerService.getOne(Condition.getQueryWrapper(banner));
|
||||
return R.data(AppBannerWrapper.build().entityVO(detail));
|
||||
}
|
||||
/**
|
||||
* 首页轮播图 分页
|
||||
*/
|
||||
@GetMapping("/list")
|
||||
@ApiOperationSupport(order = 2)
|
||||
@Operation(summary = "分页", description = "传入banner")
|
||||
public R<IPage<UserBannerVO>> list(AppBannerEntity banner, Query query) {
|
||||
IPage<AppBannerEntity> pages = bannerService.page(Condition.getPage(query), Condition.getQueryWrapper(banner).orderByDesc("id"));
|
||||
return R.data(AppBannerWrapper.build().pageVO(pages));
|
||||
}
|
||||
|
||||
/**
|
||||
* 首页轮播图 自定义分页
|
||||
*/
|
||||
@GetMapping("/page")
|
||||
@ApiOperationSupport(order = 3)
|
||||
@Operation(summary = "分页", description = "传入banner")
|
||||
public R<IPage<UserBannerVO>> page(UserBannerVO banner, Query query) {
|
||||
IPage<UserBannerVO> pages = bannerService.selectUserBannerPage(Condition.getPage(query), banner);
|
||||
return R.data(pages);
|
||||
}
|
||||
|
||||
/**
|
||||
* 首页轮播图 新增
|
||||
*/
|
||||
@PostMapping("/save")
|
||||
@ApiOperationSupport(order = 4)
|
||||
@Operation(summary = "新增", description = "传入banner")
|
||||
public R save(@Valid @RequestBody AppBannerEntity banner) {
|
||||
return R.status(bannerService.save(banner));
|
||||
}
|
||||
|
||||
/**
|
||||
* 首页轮播图 修改
|
||||
*/
|
||||
@PostMapping("/update")
|
||||
@ApiOperationSupport(order = 5)
|
||||
@Operation(summary = "修改", description = "传入banner")
|
||||
public R update(@Valid @RequestBody AppBannerEntity banner) {
|
||||
return R.status(bannerService.updateById(banner));
|
||||
}
|
||||
|
||||
/**
|
||||
* 首页轮播图 新增或修改
|
||||
*/
|
||||
@PostMapping("/submit")
|
||||
@ApiOperationSupport(order = 6)
|
||||
@Operation(summary = "新增或修改", description = "传入banner")
|
||||
public R submit(@Valid @RequestBody AppBannerEntity banner) {
|
||||
return R.status(bannerService.saveOrUpdate(banner));
|
||||
}
|
||||
|
||||
/**
|
||||
* 首页轮播图 删除
|
||||
*/
|
||||
@PostMapping("/remove")
|
||||
@ApiOperationSupport(order = 7)
|
||||
@Operation(summary = "逻辑删除", description = "传入ids")
|
||||
public R remove(@Parameter(description = "主键集合", required = true) @RequestParam String ids) {
|
||||
return R.status(bannerService.deleteLogic(Func.toLongList(ids)));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 导出数据
|
||||
*/
|
||||
@IsAdmin
|
||||
@GetMapping("/export-banner")
|
||||
@ApiOperationSupport(order = 9)
|
||||
@Operation(summary = "导出数据", description = "传入banner")
|
||||
public void exportUserBanner(@Parameter(hidden = true) @RequestParam Map<String, Object> banner, BladeUser bladeUser, HttpServletResponse response) {
|
||||
QueryWrapper<AppBannerEntity> queryWrapper = Condition.getQueryWrapper(banner, AppBannerEntity.class);
|
||||
//if (!AuthUtil.isAdministrator()) {
|
||||
// queryWrapper.lambda().eq(UserBanner::getTenantId, bladeUser.getTenantId());
|
||||
//}
|
||||
//queryWrapper.lambda().eq(UserBannerEntity::getIsDeleted, BladeConstant.DB_NOT_DELETED);
|
||||
List<AppBannerExcel> list = bannerService.exportUserBanner(queryWrapper);
|
||||
ExcelUtil.export(response, "首页轮播图数据" + DateUtil.time(), "首页轮播图数据表", list, AppBannerExcel.class);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.mall.excel;
|
||||
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import cn.idev.excel.annotation.ExcelProperty;
|
||||
import cn.idev.excel.annotation.write.style.ColumnWidth;
|
||||
import cn.idev.excel.annotation.write.style.ContentRowHeight;
|
||||
import cn.idev.excel.annotation.write.style.HeadRowHeight;
|
||||
import java.io.Serializable;
|
||||
import java.io.Serial;
|
||||
|
||||
|
||||
/**
|
||||
* 首页轮播图 Excel实体类
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
@Data
|
||||
@ColumnWidth(25)
|
||||
@HeadRowHeight(20)
|
||||
@ContentRowHeight(18)
|
||||
public class AppBannerExcel implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("ID")
|
||||
private Long id;
|
||||
/**
|
||||
* 轮播图地址
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("轮播图地址")
|
||||
private String coverUrl;
|
||||
/**
|
||||
* 路由
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("路由")
|
||||
private String route;
|
||||
/**
|
||||
* 外链地址
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("外链地址")
|
||||
private String outsideUrl;
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("排序")
|
||||
private Integer sort;
|
||||
/**
|
||||
* 轮播图类型 1-主banner 2-商城banner
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("轮播图类型 1-主banner 2-商城banner")
|
||||
private Integer bannerType;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("备注")
|
||||
private String remark;
|
||||
/**
|
||||
* 是否显示
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("是否显示")
|
||||
private Integer isShow;
|
||||
/**
|
||||
* 标签名
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("标签名")
|
||||
private String tagName;
|
||||
/**
|
||||
* 是否已删除
|
||||
*/
|
||||
@ColumnWidth(20)
|
||||
@ExcelProperty("是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.mall.mapper;
|
||||
|
||||
import org.springblade.modules.mall.pojo.entity.AppBannerEntity;
|
||||
import org.springblade.modules.mall.pojo.vo.UserBannerVO;
|
||||
import org.springblade.modules.mall.excel.AppBannerExcel;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 首页轮播图 Mapper 接口
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
public interface AppBannerMapper extends BaseMapper<AppBannerEntity> {
|
||||
|
||||
/**
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param banner 查询参数
|
||||
* @return List<UserBannerVO>
|
||||
*/
|
||||
List<UserBannerVO> selectUserBannerPage(IPage page, UserBannerVO banner);
|
||||
|
||||
|
||||
/**
|
||||
* 获取导出数据
|
||||
*
|
||||
* @param queryWrapper 查询条件
|
||||
* @return List<UserBannerExcel>
|
||||
*/
|
||||
List<AppBannerExcel> exportUserBanner(@Param("ew") Wrapper<AppBannerEntity> queryWrapper);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="org.springblade.modules.mall.mapper.AppBannerMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="bannerResultMap" type="org.springblade.modules.mall.pojo.entity.AppBannerEntity">
|
||||
<result column="id" property="id"/>
|
||||
<result column="cover_url" property="coverUrl"/>
|
||||
<result column="route" property="route"/>
|
||||
<result column="outside_url" property="outsideUrl"/>
|
||||
<result column="sort" property="sort"/>
|
||||
<result column="banner_type" property="bannerType"/>
|
||||
<result column="remark" property="remark"/>
|
||||
<result column="is_show" property="isShow"/>
|
||||
<result column="tag_name" property="tagName"/>
|
||||
<result column="create_user" property="createUser"/>
|
||||
<result column="create_dept" property="createDept"/>
|
||||
<result column="create_time" property="createTime"/>
|
||||
<result column="update_user" property="updateUser"/>
|
||||
<result column="update_time" property="updateTime"/>
|
||||
<result column="status" property="status"/>
|
||||
<result column="is_deleted" property="isDeleted"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectUserBannerPage" resultMap="bannerResultMap">
|
||||
select * from app_banner where is_deleted = 0
|
||||
</select>
|
||||
|
||||
|
||||
<select id="exportUserBanner" resultType="org.springblade.modules.mall.excel.AppBannerExcel">
|
||||
SELECT * FROM app_banner ${ew.customSqlSegment}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.mall.pojo.dto;
|
||||
|
||||
import org.springblade.modules.mall.pojo.entity.AppBannerEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 首页轮播图 数据传输对象实体类
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class AppBannerDTO extends AppBannerEntity {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.mall.pojo.entity;
|
||||
|
||||
import lombok.Data;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springblade.core.mp.base.BaseEntity;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 首页轮播图 实体类
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
@Data
|
||||
@TableName("app_banner")
|
||||
@Schema(description = "UserBanner对象")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class AppBannerEntity extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 轮播图地址
|
||||
*/
|
||||
@Schema(description = "轮播图地址")
|
||||
private String coverUrl;
|
||||
/**
|
||||
* 路由
|
||||
*/
|
||||
@Schema(description = "路由")
|
||||
private String route;
|
||||
/**
|
||||
* 外链地址
|
||||
*/
|
||||
@Schema(description = "外链地址")
|
||||
private String outsideUrl;
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
@Schema(description = "排序")
|
||||
private Integer sort;
|
||||
/**
|
||||
* 轮播图类型 1-主banner 2-商城banner
|
||||
*/
|
||||
@Schema(description = "轮播图类型 1-主banner 2-商城banner")
|
||||
private Integer bannerType;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
/**
|
||||
* 是否显示
|
||||
*/
|
||||
@Schema(description = "是否显示")
|
||||
private Integer isShow;
|
||||
/**
|
||||
* 标签名
|
||||
*/
|
||||
@Schema(description = "标签名")
|
||||
private String tagName;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.mall.pojo.vo;
|
||||
|
||||
import org.springblade.modules.mall.pojo.entity.AppBannerEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 首页轮播图 视图实体类
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class UserBannerVO extends AppBannerEntity {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.mall.service;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import org.springblade.modules.mall.pojo.entity.AppBannerEntity;
|
||||
import org.springblade.modules.mall.pojo.vo.UserBannerVO;
|
||||
import org.springblade.modules.mall.excel.AppBannerExcel;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.springblade.core.mp.base.BaseService;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 首页轮播图 服务类
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
public interface IAppBannerService extends BaseService<AppBannerEntity> {
|
||||
/**
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param banner 查询参数
|
||||
* @return IPage<UserBannerVO>
|
||||
*/
|
||||
IPage<UserBannerVO> selectUserBannerPage(IPage<UserBannerVO> page, UserBannerVO banner);
|
||||
|
||||
|
||||
/**
|
||||
* 导出数据
|
||||
*
|
||||
* @param queryWrapper 查询条件
|
||||
* @return List<UserBannerExcel>
|
||||
*/
|
||||
List<AppBannerExcel> exportUserBanner(Wrapper<AppBannerEntity> queryWrapper);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.mall.service.impl;
|
||||
|
||||
import org.springblade.modules.mall.pojo.entity.AppBannerEntity;
|
||||
import org.springblade.modules.mall.pojo.vo.UserBannerVO;
|
||||
import org.springblade.modules.mall.excel.AppBannerExcel;
|
||||
import org.springblade.modules.mall.mapper.AppBannerMapper;
|
||||
import org.springblade.modules.mall.service.IAppBannerService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.springblade.core.mp.base.BaseServiceImpl;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 首页轮播图 服务实现类
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
@Service
|
||||
public class AppBannerServiceImpl extends BaseServiceImpl<AppBannerMapper, AppBannerEntity> implements IAppBannerService {
|
||||
|
||||
@Override
|
||||
public IPage<UserBannerVO> selectUserBannerPage(IPage<UserBannerVO> page, UserBannerVO banner) {
|
||||
return page.setRecords(baseMapper.selectUserBannerPage(page, banner));
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public List<AppBannerExcel> exportUserBanner(Wrapper<AppBannerEntity> queryWrapper) {
|
||||
List<AppBannerExcel> bannerList = baseMapper.exportUserBanner(queryWrapper);
|
||||
//bannerList.forEach(banner -> {
|
||||
// banner.setTypeName(DictCache.getValue(DictEnum.YES_NO, UserBanner.getType()));
|
||||
//});
|
||||
return bannerList;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.mall.wrapper;
|
||||
|
||||
import org.springblade.core.mp.support.BaseEntityWrapper;
|
||||
import org.springblade.core.tool.utils.BeanUtil;
|
||||
import org.springblade.modules.mall.pojo.entity.AppBannerEntity;
|
||||
import org.springblade.modules.mall.pojo.vo.UserBannerVO;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* 首页轮播图 包装类,返回视图层所需的字段
|
||||
*
|
||||
* @author lzq
|
||||
* @since 2026-02-03
|
||||
*/
|
||||
public class AppBannerWrapper extends BaseEntityWrapper<AppBannerEntity, UserBannerVO> {
|
||||
|
||||
public static AppBannerWrapper build() {
|
||||
return new AppBannerWrapper();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserBannerVO entityVO(AppBannerEntity banner) {
|
||||
UserBannerVO bannerVO = Objects.requireNonNull(BeanUtil.copyProperties(banner, UserBannerVO.class));
|
||||
|
||||
//User createUser = UserCache.getUser(banner.getCreateUser());
|
||||
//User updateUser = UserCache.getUser(banner.getUpdateUser());
|
||||
//bannerVO.setCreateUserName(createUser.getName());
|
||||
//bannerVO.setUpdateUserName(updateUser.getName());
|
||||
|
||||
return bannerVO;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -115,11 +115,5 @@ public class User extends TenantEntity {
|
||||
*/
|
||||
private Integer isLeader;
|
||||
|
||||
private String invitationCode;
|
||||
|
||||
private Long pid;
|
||||
|
||||
private Date registerDate;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -55,6 +55,8 @@ public interface IParamService extends BaseService<Param> {
|
||||
|
||||
String getFormalAppPrivacy();
|
||||
|
||||
String formalAppAgreement();
|
||||
|
||||
List<PayOrderDicDTO> getOrderBizModel();
|
||||
|
||||
BigDecimal getMallCashToPointRate();
|
||||
@@ -67,4 +69,5 @@ public interface IParamService extends BaseService<Param> {
|
||||
|
||||
WatchVideoTimeRangeDTO watchVideoTimeRange();
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -60,6 +60,7 @@ public class ParamServiceImpl extends BaseServiceImpl<ParamMapper, Param> implem
|
||||
|
||||
private static final String APP_USER_REGISTER_ROLE = "yichayilu:app:register:role-info";
|
||||
private static final String APP_FORMAL_USER_PRIVACY = "yichayilu:app:formal:user:privacy";
|
||||
private static final String APP_FORMAL_USER_AGREEMENT = "yichayilu:app:formal:user:agreement";
|
||||
private static final String APP_FORMAL_ORDER_MODEL_TYPE = "yichayilu:app:formal:order:model_type";
|
||||
private static final String APP_FORMAL_MALL_CASH_TO_POINT_RATE = "yichayilu:app:formal:mall.cash.to.point.Rate";
|
||||
private static final String APP_FORMAL_MALL_CUT_AMOUNT_RANG = "yichayilu:app:formal:mall.cut.amount.rang";
|
||||
@@ -68,31 +69,7 @@ public class ParamServiceImpl extends BaseServiceImpl<ParamMapper, Param> implem
|
||||
private static final String APP_FORMAL_DAILY_SIGN_IS_LOOK_ADS = "yichayilu:app:dailysign.is.look.ads";
|
||||
private static final String APP_FORMAL_WATCH_VIDEO_TIME_RANG = "yichayilu:app:dailysign:watch.video.time.rang";
|
||||
|
||||
private UserRegisterRoleDTO userRegisterRoleDTO;
|
||||
private Boolean dailySignIsLookAtAds;
|
||||
private WatchVideoTimeRangeDTO watchVideoTimeRangeDTO;
|
||||
|
||||
@XxlJob("yichayilu-app-userRegisterInfo")
|
||||
@PostConstruct
|
||||
public void initAppUserRegisterInfo() {
|
||||
Param param = this.getOne(Wrappers.<Param>query().lambda().eq(Param::getParamKey, APP_USER_REGISTER_ROLE));
|
||||
userRegisterRoleDTO = JSONObject.parseObject(param.getParamValue(), UserRegisterRoleDTO.class);
|
||||
}
|
||||
|
||||
|
||||
@XxlJob("yichayilu-dailysign-isLookAds")
|
||||
@PostConstruct
|
||||
public void initDailySignIsLookAds() {
|
||||
Param param = this.getOne(Wrappers.<Param>query().lambda().eq(Param::getParamKey, APP_FORMAL_DAILY_SIGN_IS_LOOK_ADS));
|
||||
dailySignIsLookAtAds = Boolean.valueOf(param.getParamValue());
|
||||
}
|
||||
|
||||
@XxlJob("yichayilu-dailysign-watchVideoTimeRange")
|
||||
@PostConstruct
|
||||
public void initDailySignWatchVideoTimeRange() {
|
||||
Param param = this.getOne(Wrappers.<Param>query().lambda().eq(Param::getParamKey, APP_FORMAL_WATCH_VIDEO_TIME_RANG));
|
||||
watchVideoTimeRangeDTO = JSONObject.parseObject(param.getParamValue(), WatchVideoTimeRangeDTO.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getValue(String paramKey) {
|
||||
@@ -102,7 +79,8 @@ public class ParamServiceImpl extends BaseServiceImpl<ParamMapper, Param> implem
|
||||
|
||||
@Override
|
||||
public UserRegisterRoleDTO getUserRegisterRoleInfo() {
|
||||
return userRegisterRoleDTO;
|
||||
Param param = this.getOne(Wrappers.<Param>query().lambda().eq(Param::getParamKey, APP_USER_REGISTER_ROLE));
|
||||
return JSONObject.parseObject(param.getParamValue(), UserRegisterRoleDTO.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -111,6 +89,12 @@ public class ParamServiceImpl extends BaseServiceImpl<ParamMapper, Param> implem
|
||||
return param.getParamValue();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String formalAppAgreement() {
|
||||
Param param = this.getOne(Wrappers.<Param>query().lambda().eq(Param::getParamKey, APP_FORMAL_USER_AGREEMENT));
|
||||
return param.getParamValue();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<PayOrderDicDTO> getOrderBizModel() {
|
||||
Param param = getOne(Wrappers.<Param>lambdaQuery().eq(Param::getParamKey,APP_FORMAL_ORDER_MODEL_TYPE));
|
||||
@@ -142,12 +126,14 @@ public class ParamServiceImpl extends BaseServiceImpl<ParamMapper, Param> implem
|
||||
|
||||
@Override
|
||||
public Boolean isLookAtAdsByOutput() {
|
||||
return dailySignIsLookAtAds;
|
||||
Param param = this.getOne(Wrappers.<Param>query().lambda().eq(Param::getParamKey, APP_FORMAL_DAILY_SIGN_IS_LOOK_ADS));
|
||||
return Boolean.valueOf(param.getParamValue());
|
||||
}
|
||||
|
||||
@Override
|
||||
public WatchVideoTimeRangeDTO watchVideoTimeRange() {
|
||||
return watchVideoTimeRangeDTO;
|
||||
Param param = this.getOne(Wrappers.<Param>query().lambda().eq(Param::getParamKey, APP_FORMAL_WATCH_VIDEO_TIME_RANG));
|
||||
return JSONObject.parseObject(param.getParamValue(), WatchVideoTimeRangeDTO.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -32,6 +32,8 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -60,4 +62,7 @@ public interface UserMallIntegralMapper extends BaseMapper<UserMallIntegralEntit
|
||||
*/
|
||||
List<UserMallIntegralExcel> exportUserMallIntegral(@Param("ew") Wrapper<UserMallIntegralEntity> queryWrapper);
|
||||
|
||||
int subtractAmount(Long userId, BigDecimal amount, Integer version);
|
||||
|
||||
int addAmount(Long userId, BigDecimal amount, Integer version);
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
</resultMap>
|
||||
|
||||
|
||||
|
||||
<select id="selectUserMallIntegralPage" resultMap="mallIntegralResultMap">
|
||||
select * from user_mall_integral where is_deleted = 0
|
||||
</select>
|
||||
@@ -26,4 +27,12 @@
|
||||
SELECT * FROM user_mall_integral ${ew.customSqlSegment}
|
||||
</select>
|
||||
|
||||
|
||||
<update id="addAmount">
|
||||
update user_mall_integral set amount = amount + #{amount} , version = version + 1 where id = #{userId} and version = #{version}
|
||||
</update>
|
||||
<update id="subtractAmount">
|
||||
update user_mall_integral set amount = amount - #{amount} , version = version + 1 where id = #{userId} and version = #{version}
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
|
||||
@@ -31,6 +31,7 @@ import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.springblade.core.mp.base.BaseEntity;
|
||||
|
||||
import java.io.Serial;
|
||||
@@ -45,6 +46,7 @@ import java.io.Serial;
|
||||
@TableName("user_mall_integral")
|
||||
@Schema(description = "UserMallIntegral对象")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Accessors(chain = true)
|
||||
public class UserMallIntegralEntity extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
|
||||
@@ -32,6 +32,7 @@ import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.springblade.core.mp.base.BaseEntity;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
@@ -47,6 +48,7 @@ import java.io.Serial;
|
||||
@TableName("user_mall_integral_log")
|
||||
@Schema(description = "UserMallIntegralLog对象")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Accessors(chain = true)
|
||||
public class UserMallIntegralLogEntity extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
|
||||
@@ -26,11 +26,14 @@
|
||||
package org.springblade.modules.userPoint.service;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import org.springblade.modules.userPoint.dto.UserAmountDTO;
|
||||
import org.springblade.modules.userPoint.pojo.entity.UserMallIntegralEntity;
|
||||
import org.springblade.modules.userPoint.pojo.vo.UserMallIntegralVO;
|
||||
import org.springblade.modules.userPoint.excel.UserMallIntegralExcel;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.springblade.core.mp.base.BaseService;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -58,4 +61,11 @@ public interface IUserMallIntegralService extends BaseService<UserMallIntegralEn
|
||||
*/
|
||||
List<UserMallIntegralExcel> exportUserMallIntegral(Wrapper<UserMallIntegralEntity> queryWrapper);
|
||||
|
||||
|
||||
Boolean addAmountNotLog(Long userId, BigDecimal amount , Integer version);
|
||||
Boolean subtractAmountNotLog(Long userId, BigDecimal amount ,Integer version);
|
||||
|
||||
Boolean addAmount(UserAmountDTO dto);
|
||||
Boolean subtractAmount(UserAmountDTO dto);
|
||||
|
||||
}
|
||||
|
||||
@@ -25,15 +25,24 @@
|
||||
*/
|
||||
package org.springblade.modules.userPoint.service.impl;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.springblade.common.utils.date.DateUtil;
|
||||
import org.springblade.modules.userPoint.dto.UserAmountDTO;
|
||||
import org.springblade.modules.userPoint.pojo.entity.UserBenefitLogEntity;
|
||||
import org.springblade.modules.userPoint.pojo.entity.UserMallIntegralEntity;
|
||||
import org.springblade.modules.userPoint.pojo.entity.UserMallIntegralLogEntity;
|
||||
import org.springblade.modules.userPoint.pojo.vo.UserMallIntegralVO;
|
||||
import org.springblade.modules.userPoint.excel.UserMallIntegralExcel;
|
||||
import org.springblade.modules.userPoint.mapper.UserMallIntegralMapper;
|
||||
import org.springblade.modules.userPoint.service.IUserMallIntegralLogService;
|
||||
import org.springblade.modules.userPoint.service.IUserMallIntegralService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import org.springblade.core.mp.base.BaseServiceImpl;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -43,8 +52,11 @@ import java.util.List;
|
||||
* @since 2026-01-28
|
||||
*/
|
||||
@Service
|
||||
@AllArgsConstructor
|
||||
public class UserMallIntegralServiceImpl extends BaseServiceImpl<UserMallIntegralMapper, UserMallIntegralEntity> implements IUserMallIntegralService {
|
||||
|
||||
private final IUserMallIntegralLogService userMallIntegralLogService;
|
||||
|
||||
@Override
|
||||
public IPage<UserMallIntegralVO> selectUserMallIntegralPage(IPage<UserMallIntegralVO> page, UserMallIntegralVO mallIntegral) {
|
||||
return page.setRecords(baseMapper.selectUserMallIntegralPage(page, mallIntegral));
|
||||
@@ -60,4 +72,49 @@ public class UserMallIntegralServiceImpl extends BaseServiceImpl<UserMallIntegra
|
||||
return mallIntegralList;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean addAmountNotLog(Long userId, BigDecimal amount, Integer version) {
|
||||
return baseMapper.addAmount(userId , amount , version) > 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean subtractAmountNotLog(Long userId, BigDecimal amount,Integer version) {
|
||||
return baseMapper.subtractAmount(userId , amount , version) > 0;
|
||||
}
|
||||
|
||||
@Transactional(rollbackFor = RuntimeException.class)
|
||||
@Override
|
||||
public Boolean addAmount(UserAmountDTO dto) {
|
||||
if (baseMapper.addAmount(dto.getUserId() , dto.getAmount() , dto.getVersion() ) > 0 &&
|
||||
userMallIntegralLogService.save(createUserBenefitLog(dto , 1))){
|
||||
return Boolean.TRUE;
|
||||
}
|
||||
throw new RuntimeException("添加用户福利值失败");
|
||||
}
|
||||
|
||||
@Transactional(rollbackFor = RuntimeException.class)
|
||||
@Override
|
||||
public Boolean subtractAmount(UserAmountDTO dto) {
|
||||
if (baseMapper.subtractAmount(dto.getUserId() , dto.getAmount() , dto.getVersion() ) > 0 &&
|
||||
userMallIntegralLogService.save(createUserBenefitLog(dto , 2))){
|
||||
return Boolean.TRUE;
|
||||
}
|
||||
throw new RuntimeException("扣除用户福利值失败");
|
||||
}
|
||||
|
||||
private UserMallIntegralLogEntity createUserBenefitLog(UserAmountDTO dto , Integer type){
|
||||
return new UserMallIntegralLogEntity()
|
||||
.setUserId(dto.getUserId())
|
||||
.setUserPhone(dto.getUserPhone())
|
||||
.setUserName(dto.getUserName())
|
||||
.setAmount(dto.getAmount())
|
||||
.setSourceId(dto.getSourceId())
|
||||
.setSourceDetail(dto.getSourceDetail())
|
||||
.setOrderId(0L)
|
||||
.setType(type)
|
||||
.setStatisticalDate(DateUtil.getToday())
|
||||
.setRemark(dto.getRemark());
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -63,8 +63,8 @@ blade:
|
||||
aliyun:
|
||||
sms:
|
||||
# 阿里云账号的AccessKey
|
||||
accessKeyId: LTAI5t8BeHdexfRG1nJGiKJq
|
||||
accessKeySecret: fXTJGks85ujS7NfbOvlV8jfDbwnSHx
|
||||
accessKeyId: LTAI5tPYSrdSipANposndbrt
|
||||
accessKeySecret: ldVngFWpwPtTQgKzbJK3GrZoRmPIX2
|
||||
# 区域,默认为杭州
|
||||
regionId: cn-hangzhou
|
||||
# 默认短信签名
|
||||
@@ -87,12 +87,11 @@ xxl:
|
||||
logpath: /Users/ray/dev/xxl-logs
|
||||
logretentiondays: 30
|
||||
|
||||
|
||||
oss:
|
||||
enabled: true
|
||||
name: alioss
|
||||
tenant-mode: false
|
||||
endpoint: https://oss-cn-zhangjiakou.aliyuncs.com
|
||||
access-key: LTAI5tB6gdjNGfh4ijLhkbTE
|
||||
secret-key: quGnzXst0GuopQAIIv8bUlYdzbVBhH
|
||||
bucket-name: letfly
|
||||
endpoint: https://oss-cn-beijing.aliyuncs.com
|
||||
access-key: LTAI5tHgTPu3QbQkP3qPH8EM
|
||||
secret-key: your-secret-key
|
||||
bucket-name: UG1exiMCt31B6OoeSrw3BrW08izrJl
|
||||
|
||||
@@ -14,8 +14,8 @@ server:
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
#driver-class-name: org.postgresql.Driver
|
||||
# driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
driver-class-name: org.postgresql.Driver
|
||||
#driver-class-name: oracle.jdbc.OracleDriver
|
||||
#driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||
#driver-class-name: dm.jdbc.driver.DmDriver
|
||||
@@ -38,7 +38,7 @@ spring:
|
||||
time-between-eviction-runs-millis: 60000
|
||||
min-evictable-idle-time-millis: 300000
|
||||
stat-view-servlet:
|
||||
enabled: true
|
||||
enabled: false
|
||||
login-username: blade
|
||||
login-password: 1qaz@WSX
|
||||
web-stat-filter:
|
||||
@@ -78,7 +78,7 @@ mybatis-plus:
|
||||
|
||||
#springdoc-openapi配置
|
||||
springdoc:
|
||||
default-flat-param-object: true
|
||||
default-flat-param-object: false
|
||||
|
||||
#knife4j配置
|
||||
knife4j:
|
||||
@@ -89,8 +89,8 @@ knife4j:
|
||||
password: blade
|
||||
#增强配置
|
||||
setting:
|
||||
enable-swagger-models: true
|
||||
enable-document-manage: true
|
||||
enable-swagger-models: false
|
||||
enable-document-manage: false
|
||||
enable-host: false
|
||||
enable-host-text: http://localhost
|
||||
enable-request-cache: true
|
||||
@@ -241,6 +241,9 @@ blade:
|
||||
- /blade-test/**
|
||||
- /formal-app/base/send-sms-code
|
||||
- /formal-app/base/formal-app-privacy
|
||||
- /formal-app/base/formal-app-agreement
|
||||
- /formal-app/base/find-main-banner
|
||||
- /formal-app/base/find-mall-banner
|
||||
- /formal-app/base/find-category
|
||||
- /formal-app/base/spu-list
|
||||
#授权认证配置
|
||||
@@ -276,33 +279,24 @@ blade:
|
||||
crypto: "sha1"
|
||||
#多终端认证配置
|
||||
client:
|
||||
- client-id: sword
|
||||
path-patterns:
|
||||
- /blade-sword/**
|
||||
- client-id: saber
|
||||
path-patterns:
|
||||
- /blade-saber/**
|
||||
|
||||
- client-id: ${appclient.formal.name}
|
||||
- client-id: app
|
||||
path-patterns:
|
||||
- /formal-app/customer/**
|
||||
- /formal-app/mall/**
|
||||
- /formal-app/order/**
|
||||
|
||||
- client-id: ${appclient.offline.name}
|
||||
- client-id: market
|
||||
path-patterns:
|
||||
- /offline-app/**
|
||||
|
||||
appclient:
|
||||
formal:
|
||||
name: appFormal
|
||||
offline:
|
||||
name: appOffline
|
||||
|
||||
#多租户配置
|
||||
tenant:
|
||||
#多租户增强
|
||||
enhance: true
|
||||
enhance: false
|
||||
#多租户授权保护
|
||||
license: false
|
||||
#动态数据库隔离功能
|
||||
@@ -319,11 +313,3 @@ appclient:
|
||||
enabled: false
|
||||
|
||||
|
||||
oss:
|
||||
enabled: true
|
||||
name: alioss
|
||||
tenant-mode: false
|
||||
endpoint: https://oss-cn-zhangjiakou.aliyuncs.com
|
||||
access-key: LTAI5tB6gdjNGfh4ijLhkbTE
|
||||
secret-key: quGnzXst0GuopQAIIv8bUlYdzbVBhH
|
||||
bucket-name: letfly
|
||||
|
||||
@@ -67,6 +67,25 @@ public class ParamTest {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void addAppFormalAgreementParamValue() {
|
||||
|
||||
String paramKey = "yichayilu:app:formal:user:agreement";
|
||||
String paramName = "商城app用户协议";
|
||||
String remark = "商城app用户协议";
|
||||
|
||||
|
||||
Param param = new Param();
|
||||
param.setParamKey(paramKey);
|
||||
param.setParamName(paramName);
|
||||
param.setParamValue("商城app用户协议");
|
||||
param.setRemark(remark);
|
||||
|
||||
paramService.save(param);
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void addAppFormalOrderModelType() {
|
||||
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
package org.springblade.test.userPoint;
|
||||
|
||||
|
||||
import jakarta.annotation.Resource;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.springblade.core.test.BladeBootTest;
|
||||
import org.springblade.core.test.BladeSpringExtension;
|
||||
import org.springblade.modules.userPoint.dto.UserAmountDTO;
|
||||
import org.springblade.modules.userPoint.pojo.entity.UserMallIntegralEntity;
|
||||
import org.springblade.modules.userPoint.service.IUserMallIntegralService;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@ExtendWith(BladeSpringExtension.class)
|
||||
@BladeBootTest(appName = "blade-runner" , profile = "test")
|
||||
public class UserPointTest {
|
||||
|
||||
@Resource
|
||||
private IUserMallIntegralService userMallIntegralService;
|
||||
|
||||
@Test
|
||||
public void addAmount() {
|
||||
|
||||
for (int i = 0; i < 20; i++){
|
||||
UserMallIntegralEntity mallIntegral = userMallIntegralService.getById(2017162601210183681L);
|
||||
Integer version = 1;
|
||||
if (mallIntegral == null){
|
||||
mallIntegral = new UserMallIntegralEntity();
|
||||
mallIntegral.setAmount(BigDecimal.ZERO);
|
||||
mallIntegral.setId(2017162601210183681L);
|
||||
mallIntegral.setVersion(version);
|
||||
userMallIntegralService.save(mallIntegral);
|
||||
}else {
|
||||
version = mallIntegral.getVersion();
|
||||
}
|
||||
UserAmountDTO dto = new UserAmountDTO();
|
||||
dto.setUserId(2017162601210183681L);
|
||||
dto.setAmount(new BigDecimal(666));
|
||||
dto.setOrderId(1L);
|
||||
dto.setSourceId(2017162601210183681L);
|
||||
dto.setSourceDetail("19115988697");
|
||||
dto.setVersion(version);
|
||||
dto.setRemark("测试");
|
||||
|
||||
userMallIntegralService.addAmount(dto);
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user