hk-cdp 1.0.120__tar.gz → 1.0.121__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.120 → hk_cdp-1.0.121}/PKG-INFO +1 -1
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/user/user_data_model.py +3 -2
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp.egg-info/PKG-INFO +1 -1
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/setup.py +1 -1
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/README.md +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/handler/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/handler/cdp_base.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/libs/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/libs/customize/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/libs/customize/asset_base_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/libs/customize/cdp_helper.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/libs/customize/rainbow_helper.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/libs/customize/tiktok_spi_helper.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/libs/customize/work_base_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/cdp_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/analysis/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/analysis/analysis_goods_related_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/analysis/analysis_goods_repurchase_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/analysis/analysis_report_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/cap/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/cap/cap_business_info_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/cap/cap_store_info_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/cdp/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/cdp/cdp_store_info_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/cdp/cdp_work_info_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/member/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/member/member_asset_log_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/member/member_asset_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/member/member_asset_valid_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/member/member_event_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/member/member_info_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/member/member_level_log_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/prefix/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/prefix/prefix_info_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/queue/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/queue/queue_work_log_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/scheme/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/scheme/scheme_growth_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/scheme/scheme_info_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/scheme/scheme_integral_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/scheme/scheme_level_info_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/scheme/scheme_level_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/store/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/store/store_base_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/store/store_goods_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/store/store_prefix_log_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/sync/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/sync/sync_member_mobile_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/sync/sync_user_data_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/taobao/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/taobao/taobao_rds_item_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/taobao/taobao_rds_refund_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/taobao/taobao_rds_trade_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/taobao/taobao_source_buyer_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/taobao/taobao_source_history_member_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/trade/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/trade/trade_give_info_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/trade/trade_info_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/trade/trade_order_exclude_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/trade/trade_order_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/trade/trade_status_info_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/tt/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/tt/tt_rds_item_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/tt/tt_rds_refund_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/tt/tt_rds_trade_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/tt/tt_source_buyer_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/tt/tt_source_history_member_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/user/__init__.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/user/user_info_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/db_models/user/user_trends_model.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp/models/enum.py +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp.egg-info/SOURCES.txt +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp.egg-info/dependency_links.txt +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp.egg-info/requires.txt +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/hk_cdp.egg-info/top_level.txt +0 -0
- {hk_cdp-1.0.120 → hk_cdp-1.0.121}/setup.cfg +0 -0
|
@@ -36,6 +36,7 @@ class UserData:
|
|
|
36
36
|
self.first_pay_date = "1970-01-01 00:00:00.000" # 首次付款时间
|
|
37
37
|
self.last_order_date = "1970-01-01 00:00:00.000" # 最近下单时间
|
|
38
38
|
self.last_pay_date = "1970-01-01 00:00:00.000" # 最近付款时间
|
|
39
|
+
self.last_second_pay_date = "1970-01-01 00:00:00.000" # 倒数第二次付款时间
|
|
39
40
|
self.last_trade_date = "1970-01-01 00:00:00.000" # 最近交易时间
|
|
40
41
|
self.trade_success_price = 0.0000 # 交易成功金额
|
|
41
42
|
self.trade_success_num = 0 # 交易成功笔数
|
|
@@ -51,8 +52,8 @@ class UserData:
|
|
|
51
52
|
@classmethod
|
|
52
53
|
def get_field_list(self):
|
|
53
54
|
return [
|
|
54
|
-
'id', 'user_id', 'ouid', 'business_id', 'platform_id', 'store_id', 'plat_store_id', 'first_order_date', 'first_pay_date', 'last_order_date', 'last_pay_date', 'last_trade_date', 'trade_success_price', 'trade_success_num', 'buy_num',
|
|
55
|
-
'presell_order_num', 'presell_pay_num', 'presell_order_price', 'presell_pay_price', 'buy_back_day'
|
|
55
|
+
'id', 'user_id', 'ouid', 'business_id', 'platform_id', 'store_id', 'plat_store_id', 'first_order_date', 'first_pay_date', 'last_order_date', 'last_pay_date', 'last_second_pay_date', 'last_trade_date', 'trade_success_price', 'trade_success_num', 'buy_num',
|
|
56
|
+
'refund_price', 'refund_num', 'presell_order_num', 'presell_pay_num', 'presell_order_price', 'presell_pay_price', 'buy_back_day'
|
|
56
57
|
]
|
|
57
58
|
|
|
58
59
|
@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
|
|
File without changes
|
{hk_cdp-1.0.120 → hk_cdp-1.0.121}/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.120 → hk_cdp-1.0.121}/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
|
{hk_cdp-1.0.120 → hk_cdp-1.0.121}/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
|
{hk_cdp-1.0.120 → hk_cdp-1.0.121}/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.120 → hk_cdp-1.0.121}/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
|