hk-cdp 1.0.67__tar.gz → 1.0.69__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.67 → hk_cdp-1.0.69}/PKG-INFO +1 -1
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/cdp/cdp_store_info_model.py +12 -13
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/tt/tt_source_history_member_model.py +2 -1
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp.egg-info/PKG-INFO +1 -1
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/setup.py +1 -1
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/README.md +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/handler/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/handler/cdp_base.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/libs/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/libs/customize/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/libs/customize/asset_base_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/libs/customize/cdp_helper.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/libs/customize/tiktok_spi_helper.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/cdp_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/analysis/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/analysis/analysis_report_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/cap/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/cap/cap_business_info_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/cap/cap_store_info_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/cdp/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/cdp/cdp_work_info_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/member/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/member/member_asset_log_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/member/member_asset_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/member/member_asset_valid_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/member/member_event_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/member/member_info_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/member/member_level_log_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/prefix/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/prefix/prefix_info_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/scheme/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/scheme/scheme_growth_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/scheme/scheme_info_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/scheme/scheme_integral_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/scheme/scheme_level_info_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/scheme/scheme_level_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/store/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/store/store_base_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/store/store_goods_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/store/store_prefix_log_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/sync/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/sync/sync_user_data_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/taobao/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/taobao/taobao_rds_item_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/taobao/taobao_rds_refund_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/taobao/taobao_rds_trade_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/taobao/taobao_source_buyer_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/trade/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/trade/trade_give_info_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/trade/trade_info_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/trade/trade_order_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/trade/trade_status_info_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/tt/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/tt/tt_rds_item_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/tt/tt_rds_refund_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/tt/tt_rds_trade_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/tt/tt_source_buyer_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/user/__init__.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/user/user_data_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/user/user_info_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/user/user_trends_model.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/enum.py +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp.egg-info/SOURCES.txt +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp.egg-info/dependency_links.txt +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp.egg-info/requires.txt +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp.egg-info/top_level.txt +0 -0
- {hk_cdp-1.0.67 → hk_cdp-1.0.69}/setup.cfg +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"""
|
|
3
3
|
@Author: HuangJianYi
|
|
4
4
|
@Date: 2024-11-06 09:39:45
|
|
5
|
-
@LastEditTime:
|
|
5
|
+
@LastEditTime: 2025-03-04 15:09:23
|
|
6
6
|
@LastEditors: HuangJianYi
|
|
7
7
|
@Description:
|
|
8
8
|
"""
|
|
@@ -28,33 +28,32 @@ class CdpStoreInfo:
|
|
|
28
28
|
super(CdpStoreInfo, self).__init__()
|
|
29
29
|
self.id = 0 # id
|
|
30
30
|
self.guid = None # guid
|
|
31
|
-
self.business_id = 0 # 商家标识
|
|
32
|
-
self.platform_id = 0 # 平台类型
|
|
33
31
|
self.store_name = "" # 店铺名称
|
|
34
|
-
self.seller_nick = "" # 店铺主账号
|
|
35
|
-
self.seller_id = "" # 店铺主账号id
|
|
36
32
|
self.store_icon = "" # 店铺图标
|
|
37
33
|
self.plat_store_id = "" # 平台店铺标识
|
|
38
34
|
self.store_status = 0 # 店铺状态
|
|
35
|
+
self.create_date = '1970-01-01 00:00:00.000' # 创建时间
|
|
36
|
+
self.modify_date = '1970-01-01 00:00:00.000' # 修改时间
|
|
39
37
|
self.plat_telephone_key = "" # 平台手机号密钥
|
|
40
38
|
self.prefix_status = 0 # 号段生成状态
|
|
41
39
|
self.prefix_path = "" # 号段存储路径
|
|
40
|
+
self.business_id = 0 # 商家标识
|
|
41
|
+
self.seller_nick = "" # 店铺主账号
|
|
42
|
+
self.seller_id = "" # 店铺主账号id
|
|
43
|
+
self.platform_id = 0 # 平台类型
|
|
42
44
|
self.overdue_date = '1970-01-01 00:00:00.000' # 过期时间
|
|
43
45
|
self.access_token = "" # access_token
|
|
44
46
|
self.extend_info = {} # 扩展信息json
|
|
45
47
|
self.description = "" # 描述
|
|
46
|
-
self.cdp_rawdata_sync_status = 0 # cdp_原始数据同步状态
|
|
47
|
-
self.
|
|
48
|
-
self.
|
|
48
|
+
self.cdp_rawdata_sync_status = 0 # cdp_原始数据同步状态(0-未开始 1-同步历史数据 2-同步增量数据)
|
|
49
|
+
self.history_data_clean_status = 0 # 历史数据清洗状态(0-未开始 1-进行中 2-已完成)
|
|
50
|
+
self.history_member_init_status = 0 # 历史会员初始化状态(0-未开始 1-进行中 2-已完成)
|
|
51
|
+
|
|
49
52
|
|
|
50
53
|
@classmethod
|
|
51
54
|
def get_field_list(self):
|
|
52
55
|
return [
|
|
53
|
-
'id', 'guid', 'business_id', 'platform_id', '
|
|
54
|
-
'seller_nick', 'seller_id', 'store_icon', 'plat_store_id', 'store_status',
|
|
55
|
-
'plat_telephone_key', 'prefix_status', 'prefix_path',
|
|
56
|
-
'overdue_date', 'access_token', 'extend_info', 'description',
|
|
57
|
-
'cdp_rawdata_sync_status', 'create_date', 'modify_date'
|
|
56
|
+
'id', 'guid', 'store_name', 'store_icon', 'plat_store_id', 'store_status', 'create_date', 'modify_date', 'plat_telephone_key', 'prefix_status', 'prefix_path', 'business_id', 'seller_nick', 'seller_id', 'platform_id', 'overdue_date', 'access_token', 'extend_info', 'description', 'cdp_rawdata_sync_status', 'history_data_clean_status', 'history_member_init_status'
|
|
58
57
|
]
|
|
59
58
|
|
|
60
59
|
@classmethod
|
{hk_cdp-1.0.67 → hk_cdp-1.0.69}/hk_cdp/models/db_models/tt/tt_source_history_member_model.py
RENAMED
|
@@ -26,6 +26,7 @@ class TtSourceHistoryMember:
|
|
|
26
26
|
def __init__(self):
|
|
27
27
|
super(TtSourceHistoryMember, self).__init__()
|
|
28
28
|
self.doudian_open_id = "" # doudian_open_id
|
|
29
|
+
self.union_id = "" # union_id
|
|
29
30
|
self.store_id = "" # 店铺id
|
|
30
31
|
self.current_points = "" # 积分余额
|
|
31
32
|
self.level = 0 # 等级
|
|
@@ -40,7 +41,7 @@ class TtSourceHistoryMember:
|
|
|
40
41
|
@classmethod
|
|
41
42
|
def get_field_list(self):
|
|
42
43
|
return [
|
|
43
|
-
'doudian_open_id', 'store_id', 'current_points', 'level', 'mobile', 'mask_mobile',
|
|
44
|
+
'doudian_open_id', 'union_id', 'store_id', 'current_points', 'level', 'mobile', 'mask_mobile',
|
|
44
45
|
'apply_time', 'order_total_amount', 'order_count', 'modify_time', 'create_time'
|
|
45
46
|
]
|
|
46
47
|
|
|
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
|
|
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
|