def add_user_extension_dic(self, user_id): data = dict() data["user_id"] = user_id data["sex"] = OhhoRandom.get_sex() data["nickname"] = "宝宝" data["birthday"] = OhhoRandom.get_birthday() return data
def add_user_extension(self, user_id): data = dict() data["user_id"] = user_id data["sex"] = OhhoRandom.get_sex() data["birthday"] = OhhoRandom.get_birthday() data["interest"] = OhhoRandom.get_user_interest() self.user_extension.add(data)
def add_user_extension(self, user_id): data = dict() data["user_id"] = user_id data["sex"] = OhhoRandom.get_sex() # data["identity_card"] = identity_card # data["real_name"] = "" data["nickname"] = "宝宝" data["birthday"] = OhhoRandom.get_birthday() self.user_extension.add(data)
def add_user_extension(self, user_id): data = dict() data["user_id"] = user_id data["sex"] = OhhoRandom.get_sex() # data["identity_card"] = identity_card # data["real_name"] = "" data["nickname"] = "宝宝" data["birthday"] = OhhoRandom.get_birthday() # data["height"] = OhhoRandom.get_height() # data["hometown"] = OhhoRandom.get_hometown() # data["school"] = OhhoRandom.get_school() # data["company"] = OhhoRandom.get_company() # data["degree_id"] = OhhoRandom.get_degree_id() # data["favourite_live_city"] = OhhoRandom.get_favourite_live_city() # data["occupation_id"] = OhhoRandom.get_occupation_id() # data["position_id"] = OhhoRandom.get_position_id() self.user_extension.add(data)