feat: automate business upgrades and sync reviewed frontend
This commit is contained in:
@@ -52,7 +52,7 @@ func TestBusinessHTTPListWithSystemOnlyAndCompleteDatabase(t *testing.T) {
|
||||
}
|
||||
for _, statement := range []string{
|
||||
"INSERT INTO sys_users(id,uuid,username,authority_id,level,id_path) VALUES (1,'admin','admin',888,0,'0'),(2,'child','child',901,1,'0'),(3,'empty','empty',903,3,'0,2')",
|
||||
"INSERT INTO sys_authorities(authority_id,authority_name) VALUES (901,'一级商务')",
|
||||
"INSERT INTO sys_authorities(authority_id,authority_name,business_level) VALUES (901,'一级商务',1)",
|
||||
"INSERT INTO sys_user_bind_platform(user_id,source_db,platform_busier_id,status) VALUES (2,'lx',9,'0')",
|
||||
} {
|
||||
if err := db.Exec(statement).Error; err != nil {
|
||||
|
||||
Reference in New Issue
Block a user