feature: staff permission

This commit is contained in:
Tokumeikoi
2020-09-19 22:52:05 +08:00
parent d500769bd7
commit f0f636c722
10 changed files with 152 additions and 5 deletions

View File

@ -304,3 +304,6 @@ WHERE `ruleSettings` = '{}';
ALTER TABLE `v2_plan`
ADD `two_year_price` int(11) NULL AFTER `year_price`,
ADD `three_year_price` int(11) NULL AFTER `two_year_price`;
ALTER TABLE `v2_user`
ADD `is_staff` tinyint(1) NOT NULL DEFAULT '0' AFTER `is_admin`;