|
@@ -61,9 +61,9 @@ class RecallDeal(object):
|
|
return hashlib.md5(hash_input.encode()).hexdigest()
|
|
return hashlib.md5(hash_input.encode()).hexdigest()
|
|
|
|
|
|
root_share_id = str(uuid.uuid4())
|
|
root_share_id = str(uuid.uuid4())
|
|
- if self.mini_program_type == 1:
|
|
|
|
|
|
+ if self.mini_program_type == 2:
|
|
source_id = "touliu_tencentGzhArticle_" + generate_source_id()
|
|
source_id = "touliu_tencentGzhArticle_" + generate_source_id()
|
|
- elif self.mini_program_type == 2:
|
|
|
|
|
|
+ elif self.mini_program_type == 1:
|
|
source_id = "longArticles_" + generate_source_id()
|
|
source_id = "longArticles_" + generate_source_id()
|
|
else:
|
|
else:
|
|
source_id = "Error mini_program_type {}".format(self.mini_program_type)
|
|
source_id = "Error mini_program_type {}".format(self.mini_program_type)
|