|
|
|
@ -62,6 +62,15 @@ school_params = {
|
|
|
|
|
auto_users_trial: 1,
|
|
|
|
|
identifier: 'nudt'
|
|
|
|
|
}
|
|
|
|
|
department_params = {
|
|
|
|
|
id: 1,
|
|
|
|
|
name: '电子对抗学院',
|
|
|
|
|
school_id: 1,
|
|
|
|
|
is_auth: 1
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
User.create!(user_params)
|
|
|
|
|
UserExtension.create!(user_extension_params)
|
|
|
|
|
School.create!(school_params)
|
|
|
|
|
Department.create!(department_params)
|
|
|
|
|
|
|
|
|
|