hk-cdp 1.0.126__tar.gz → 1.0.127__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.
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/PKG-INFO +1 -1
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/libs/customize/cdp_helper.py +2 -3
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp.egg-info/PKG-INFO +1 -1
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/setup.py +1 -1
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/README.md +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/handler/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/handler/cdp_base.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/libs/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/libs/customize/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/libs/customize/asset_base_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/libs/customize/rainbow_helper.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/libs/customize/tiktok_spi_helper.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/libs/customize/work_base_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/cdp_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/analysis/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/analysis/analysis_goods_related_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/analysis/analysis_goods_repurchase_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/analysis/analysis_report_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/cap/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/cap/cap_business_info_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/cap/cap_store_info_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/cdp/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/cdp/cdp_store_info_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/cdp/cdp_work_info_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/member/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/member/member_asset_log_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/member/member_asset_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/member/member_asset_valid_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/member/member_event_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/member/member_info_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/member/member_level_log_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/prefix/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/prefix/prefix_info_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/queue/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/queue/queue_work_log_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/scheme/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/scheme/scheme_growth_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/scheme/scheme_info_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/scheme/scheme_integral_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/scheme/scheme_level_info_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/scheme/scheme_level_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/store/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/store/store_base_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/store/store_goods_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/store/store_goods_sku_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/store/store_prefix_log_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/sync/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/sync/sync_member_mobile_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/sync/sync_user_data_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/taobao/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/taobao/taobao_rds_item_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/taobao/taobao_rds_refund_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/taobao/taobao_rds_trade_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/taobao/taobao_source_buyer_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/taobao/taobao_source_history_member_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/trade/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/trade/trade_give_info_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/trade/trade_info_ex_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/trade/trade_info_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/trade/trade_order_exclude_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/trade/trade_order_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/trade/trade_status_info_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/tt/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/tt/tt_rds_item_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/tt/tt_rds_refund_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/tt/tt_rds_trade_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/tt/tt_source_buyer_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/tt/tt_source_history_member_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/user/__init__.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/user/user_data_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/user/user_info_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/user/user_trends_model.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/enum.py +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp.egg-info/SOURCES.txt +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp.egg-info/dependency_links.txt +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp.egg-info/requires.txt +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp.egg-info/top_level.txt +0 -0
- {hk_cdp-1.0.126 → hk_cdp-1.0.127}/setup.cfg +0 -0
|
@@ -37,8 +37,6 @@ class CdpHelper:
|
|
|
37
37
|
cdp_db_config = SevenHelper.json_loads(cdp_db_config)
|
|
38
38
|
rawdata_db_config = cdp_db_config
|
|
39
39
|
rawdata_db_config['db'] = f"hk_{business_code}_rawdata"
|
|
40
|
-
cdp_db_config = deepcopy(cdp_db_config)
|
|
41
|
-
cdp_db_config["db"] = f"hk_{business_code}_cdp"
|
|
42
40
|
return rawdata_db_config, cdp_db_config
|
|
43
41
|
|
|
44
42
|
@classmethod
|
|
@@ -50,7 +48,8 @@ class CdpHelper:
|
|
|
50
48
|
:last_editors: HuangJianYi
|
|
51
49
|
"""
|
|
52
50
|
cdp_db_config = SevenHelper.json_loads(cdp_db_config)
|
|
53
|
-
|
|
51
|
+
if business_code not in cdp_db_config['db']:
|
|
52
|
+
return None
|
|
54
53
|
return cdp_db_config
|
|
55
54
|
|
|
56
55
|
@classmethod
|
|
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.126 → hk_cdp-1.0.127}/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
|
{hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/member/member_asset_valid_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
|
{hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/taobao/taobao_source_buyer_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hk_cdp-1.0.126 → hk_cdp-1.0.127}/hk_cdp/models/db_models/trade/trade_order_exclude_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
|
{hk_cdp-1.0.126 → hk_cdp-1.0.127}/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
|