功能:完善 YumiNail 全栈修复与打包
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://localhost:3306/yumi_nail?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||
url: jdbc:mysql://localhost:3306/nailart?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 5MB
|
||||
@@ -72,6 +72,9 @@ yuminail:
|
||||
object-storage-file:
|
||||
local-ttl-seconds: 300
|
||||
redis-ttl-seconds: 1800
|
||||
dashboard:
|
||||
local-ttl-seconds: 30
|
||||
redis-ttl-seconds: 90
|
||||
slow-request:
|
||||
enabled: true
|
||||
threshold-ms: 300
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
-- 1. 首次部署空库时,只需要执行本文件即可完成基础建表、结构补丁、权限种子、VIP 规则、admin01 初始化与默认权限分配。
|
||||
-- 2. 2026-03-20_user_asset_vip_coupon_permission_patch.sql、2026-03-25_user_shop_binding_and_shop_status_patch.sql、
|
||||
-- 2026-03-20_init_admin_permission_template.sql 仍保留用于已有数据库的增量升级,不再作为空库首选入口。
|
||||
-- 3. 如果你的数据库名不是 nailart,请先将本文件中的 `use nailart;` 改成实际库名后再执行。
|
||||
-- 3. 当前 Nacos datasource.yaml 指向 nailart,本文件默认按该库名初始化;如果你的实际数据库名不同,请先统一 datasource 与下方库名。
|
||||
CREATE DATABASE IF NOT EXISTS nailart DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
use nailart;
|
||||
|
||||
-- auto-generated definition
|
||||
@@ -1192,7 +1193,13 @@ INNER JOIN t_permission p
|
||||
'user:reset_password',
|
||||
'user:delete',
|
||||
'user:balance:view',
|
||||
'user:balance:manage',
|
||||
'user:vip:manage',
|
||||
'product:view',
|
||||
'product:create',
|
||||
'product:edit',
|
||||
'product:delete',
|
||||
'product:category:manage',
|
||||
'shop:view',
|
||||
'shop:create',
|
||||
'shop:edit',
|
||||
@@ -1204,9 +1211,21 @@ INNER JOIN t_permission p
|
||||
'permission:delete',
|
||||
'permission:assign',
|
||||
'tag:view',
|
||||
'tag:create',
|
||||
'tag:edit',
|
||||
'tag:delete',
|
||||
'tag:assign',
|
||||
'coupon:view',
|
||||
'coupon:create',
|
||||
'coupon:edit',
|
||||
'coupon:delete',
|
||||
'coupon:assign',
|
||||
'order:view',
|
||||
'nail_artist:view'
|
||||
'order:process',
|
||||
'order:edit',
|
||||
'order:delete',
|
||||
'nail_artist:view',
|
||||
'nail_artist:edit'
|
||||
)
|
||||
WHERE u.is_delete = 0
|
||||
AND u.type = 4
|
||||
|
||||
Reference in New Issue
Block a user