|
@@ -468,6 +468,9 @@ def update_publish_timestamp(db_client, row):
|
|
|
if response_code == const.ARTICLE_DELETE_CODE:
|
|
|
publish_timestamp_s = const.DELETE_STATUS
|
|
|
root_source_id_list = []
|
|
|
+ elif response_code == const.ARTICLE_ILLEGAL_CODE:
|
|
|
+ publish_timestamp_s = const.ILLEGAL_STATUS
|
|
|
+ root_source_id_list = []
|
|
|
elif response_code == const.ARTICLE_SUCCESS_CODE:
|
|
|
data = response['data']['data']
|
|
|
publish_timestamp_ms = data['publish_timestamp']
|