hk-cdp 1.0.90__tar.gz → 1.0.92__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of hk-cdp might be problematic. Click here for more details.
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/PKG-INFO +1 -1
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/analysis/analysis_goods_repurchase_model.py +3 -3
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp.egg-info/PKG-INFO +1 -1
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/setup.py +1 -1
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/README.md +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/handler/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/handler/cdp_base.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/libs/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/libs/customize/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/libs/customize/asset_base_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/libs/customize/cdp_helper.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/libs/customize/rainbow_helper.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/libs/customize/tiktok_spi_helper.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/libs/customize/work_base_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/cdp_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/analysis/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/analysis/analysis_goods_related_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/analysis/analysis_report_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/cap/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/cap/cap_business_info_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/cap/cap_store_info_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/cdp/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/cdp/cdp_store_info_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/cdp/cdp_work_info_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/member/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/member/member_asset_log_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/member/member_asset_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/member/member_asset_valid_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/member/member_event_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/member/member_info_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/member/member_level_log_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/prefix/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/prefix/prefix_info_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/queue/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/queue/queue_work_log_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/scheme/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/scheme/scheme_growth_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/scheme/scheme_info_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/scheme/scheme_integral_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/scheme/scheme_level_info_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/scheme/scheme_level_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/store/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/store/store_base_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/store/store_goods_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/store/store_prefix_log_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/sync/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/sync/sync_user_data_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/taobao/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/taobao/taobao_rds_item_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/taobao/taobao_rds_refund_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/taobao/taobao_rds_trade_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/taobao/taobao_source_buyer_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/taobao/taobao_source_history_member_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/trade/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/trade/trade_give_info_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/trade/trade_info_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/trade/trade_order_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/trade/trade_status_info_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/tt/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/tt/tt_rds_item_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/tt/tt_rds_refund_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/tt/tt_rds_trade_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/tt/tt_source_buyer_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/tt/tt_source_history_member_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/user/__init__.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/user/user_data_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/user/user_info_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/user/user_trends_model.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/enum.py +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp.egg-info/SOURCES.txt +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp.egg-info/dependency_links.txt +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp.egg-info/requires.txt +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp.egg-info/top_level.txt +0 -0
- {hk_cdp-1.0.90 → hk_cdp-1.0.92}/setup.cfg +0 -0
{hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/analysis/analysis_goods_repurchase_model.py
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"""
|
|
3
3
|
@Author: HuangJianYi
|
|
4
4
|
@Date: 2024-12-31 11:25:23
|
|
5
|
-
@LastEditTime: 2025-07-15
|
|
5
|
+
@LastEditTime: 2025-07-15 19:08:55
|
|
6
6
|
@LastEditors: HuangJianYi
|
|
7
7
|
@Description:
|
|
8
8
|
"""
|
|
@@ -48,11 +48,11 @@ class AnalysisGoodsRepurchase:
|
|
|
48
48
|
self.today_expired_count = 0 # 今日到期未购买人数
|
|
49
49
|
self.recent_7days_expired_count = 0 # 近7日到期未购买人数
|
|
50
50
|
self.stat_date = 0 # 统计时间(20241231)
|
|
51
|
-
self.
|
|
51
|
+
self.create_date = '1970-01-01 00:00:00.000' # 创建时间
|
|
52
52
|
|
|
53
53
|
@classmethod
|
|
54
54
|
def get_field_list(self):
|
|
55
|
-
return ['id', 'business_id', 'platform_id', 'store_id', '
|
|
55
|
+
return ['id', 'business_id', 'platform_id', 'store_id', 'goods_id', 'total_sales', 'buyer_count', 'repurchase_count', 'repurchase_rate', 'avg_purchase_times', 'avg_repurchase_cycle', 'today_expired_count', 'recent_7days_expired_count', 'stat_date', 'create_date']
|
|
56
56
|
|
|
57
57
|
@classmethod
|
|
58
58
|
def get_primary_key(self):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/analysis/analysis_goods_related_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/taobao/taobao_source_history_member_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hk_cdp-1.0.90 → hk_cdp-1.0.92}/hk_cdp/models/db_models/tt/tt_source_history_member_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|