|
|
|
@ -89,7 +89,7 @@ task :add_test_users => :environment do
|
|
|
|
|
(1..1000).each do |i|
|
|
|
|
|
|
|
|
|
|
no = sprintf("%04d", i)
|
|
|
|
|
phone = "1560731#{no}"
|
|
|
|
|
phone = "5160731#{no}"
|
|
|
|
|
|
|
|
|
|
us = UsersService.new
|
|
|
|
|
user = us.register phone: phone, password: 'edu12345678'
|
|
|
|
@ -109,7 +109,7 @@ task :add_test_users => :environment do
|
|
|
|
|
lastname: lastname,
|
|
|
|
|
nickname: '',
|
|
|
|
|
sex: 0,
|
|
|
|
|
mail: "educoder#{no}@qq.com",
|
|
|
|
|
mail: "00educoder#{no}@qq.com",
|
|
|
|
|
identity: 1,
|
|
|
|
|
te_technical_title: 0,
|
|
|
|
|
pro_technical_title: 0,
|
|
|
|
|