hk-cdp 1.0.84__py3-none-any.whl → 1.0.86__py3-none-any.whl
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/models/db_models/analysis/analysis_report_model.py +1 -2
- hk_cdp/models/db_models/member/member_event_model.py +3 -1
- {hk_cdp-1.0.84.dist-info → hk_cdp-1.0.86.dist-info}/METADATA +1 -1
- {hk_cdp-1.0.84.dist-info → hk_cdp-1.0.86.dist-info}/RECORD +7 -7
- {hk_cdp-1.0.84.dist-info → hk_cdp-1.0.86.dist-info}/LICENSE +0 -0
- {hk_cdp-1.0.84.dist-info → hk_cdp-1.0.86.dist-info}/WHEEL +0 -0
- {hk_cdp-1.0.84.dist-info → hk_cdp-1.0.86.dist-info}/top_level.txt +0 -0
|
@@ -37,7 +37,6 @@ class AnalysisReport:
|
|
|
37
37
|
self.platform_id = 0 # 平台标识(1-淘宝 2-抖音 3-京东)
|
|
38
38
|
self.store_id = 0 # 店铺标识
|
|
39
39
|
self.scheme_id = 0 # 会员体系标识
|
|
40
|
-
self.member_grade = 0 # 会员等级
|
|
41
40
|
self.cycle_type = 2 # 周期类型(1-年 2-月 3-日)
|
|
42
41
|
self.report_type = 0 # 报表类型
|
|
43
42
|
self.stat_date = 0 # 统计时间
|
|
@@ -48,7 +47,7 @@ class AnalysisReport:
|
|
|
48
47
|
def get_field_list(self):
|
|
49
48
|
return [
|
|
50
49
|
'id', 'business_id', 'platform_id', 'store_id',
|
|
51
|
-
'scheme_id', '
|
|
50
|
+
'scheme_id', 'cycle_type', 'report_type',
|
|
52
51
|
'stat_date', 'report_data', 'modify_date'
|
|
53
52
|
]
|
|
54
53
|
|
|
@@ -28,6 +28,8 @@ class MemberEvent:
|
|
|
28
28
|
self.id = 0
|
|
29
29
|
self.business_id = 0 # 商家标识
|
|
30
30
|
self.one_id = "" # one_id
|
|
31
|
+
self.store_id = 0 # 店铺标识
|
|
32
|
+
self.platform_id = 0 # 平台标识(1-淘宝 2-抖音 3-京东 4-微信)
|
|
31
33
|
self.event_type = 0 # 事件类型(1-初始化 2-激活 3-绑定 4-注册 5-退会 6-合并 7-获取手机号)
|
|
32
34
|
self.event_reason = "" # 事件原因
|
|
33
35
|
self.event_desc = {} # 事件描述
|
|
@@ -35,7 +37,7 @@ class MemberEvent:
|
|
|
35
37
|
|
|
36
38
|
@classmethod
|
|
37
39
|
def get_field_list(self):
|
|
38
|
-
return ['id', 'business_id', 'one_id', 'event_type', 'event_reason', 'event_desc', 'create_date']
|
|
40
|
+
return ['id', 'business_id', 'one_id', 'store_id', 'platform_id', 'event_type', 'event_reason', 'event_desc', 'create_date']
|
|
39
41
|
|
|
40
42
|
@classmethod
|
|
41
43
|
def get_primary_key(self):
|
|
@@ -13,7 +13,7 @@ hk_cdp/models/cdp_model.py,sha256=GxC3zXZ0po2iFkaFeTYcnq8S7hGXQ-vUb9rYoka-BMI,59
|
|
|
13
13
|
hk_cdp/models/enum.py,sha256=0-kP-3RguGLZXHaamyBqlQMSNGOOH09yqksrz-o8ZrE,2381
|
|
14
14
|
hk_cdp/models/db_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
hk_cdp/models/db_models/analysis/__init__.py,sha256=2opxCsJ4Qkuo22o6EFbUGOm0ERfM6dwtXLcIvRB61qA,192
|
|
16
|
-
hk_cdp/models/db_models/analysis/analysis_report_model.py,sha256
|
|
16
|
+
hk_cdp/models/db_models/analysis/analysis_report_model.py,sha256=-5PI6nU-7ArSQfUPQThi_fEUDOe46kneDkYea8u7H7k,2001
|
|
17
17
|
hk_cdp/models/db_models/cap/__init__.py,sha256=QsbOTFmhrR2g4CCwzXfpcoqWeVdGU-gS7wMt8NzUnFw,218
|
|
18
18
|
hk_cdp/models/db_models/cap/cap_business_info_model.py,sha256=GnRMcS2n1bHgNIELHsLZ5zUZTdLgmThNDLYZea6jV-0,1616
|
|
19
19
|
hk_cdp/models/db_models/cap/cap_store_info_model.py,sha256=qewjcGdPnlK-R8yY564qogP7IuiqhcxyMAJrrNjprqY,1716
|
|
@@ -24,7 +24,7 @@ hk_cdp/models/db_models/member/__init__.py,sha256=848n8bTcWDnFiqDnucKrEMskbXJMLz
|
|
|
24
24
|
hk_cdp/models/db_models/member/member_asset_log_model.py,sha256=NnUbiCAmJcmB16iVDnsSQITlDo4Sw8zsUEIk6cgS00w,3079
|
|
25
25
|
hk_cdp/models/db_models/member/member_asset_model.py,sha256=zhH7JSStpU3HBxedN90Ch4ZFvc3SvP9jXub1XvE9SHE,2086
|
|
26
26
|
hk_cdp/models/db_models/member/member_asset_valid_model.py,sha256=PYm-S9dm9fbQNddSaZyvSXdQMhFbL3zvYWljOSaoyAU,1683
|
|
27
|
-
hk_cdp/models/db_models/member/member_event_model.py,sha256=
|
|
27
|
+
hk_cdp/models/db_models/member/member_event_model.py,sha256=hiWgI3NKbvUEjkdCts74f4vtNzsMKhomJSzz4d2iFZ0,1775
|
|
28
28
|
hk_cdp/models/db_models/member/member_info_model.py,sha256=wN19kTue0qQq9L4SZUf5GnljUXDUO7zmKasFYK74eoc,3170
|
|
29
29
|
hk_cdp/models/db_models/member/member_level_log_model.py,sha256=3auG7-IV10ujLt89SG1ajXb1qorsW_UW7FerOnUFnoU,2469
|
|
30
30
|
hk_cdp/models/db_models/prefix/__init__.py,sha256=EVHAkNcWIFBqGvVLFdf7PkUquZgumIjvhgMCzst5Bzw,188
|
|
@@ -64,8 +64,8 @@ hk_cdp/models/db_models/user/__init__.py,sha256=O_F1_TiR_075ATAHcahxTKJwUdYeY-Qz
|
|
|
64
64
|
hk_cdp/models/db_models/user/user_data_model.py,sha256=Z8Hr9xarLXvlKWKV0o25KVVVJiiOVyLOwYY7KfNLDrs,2742
|
|
65
65
|
hk_cdp/models/db_models/user/user_info_model.py,sha256=TywpvlFGkch9hO_szyhin-ed4xfTWBM7L59IU96SfxU,4138
|
|
66
66
|
hk_cdp/models/db_models/user/user_trends_model.py,sha256=oxJCBnJQEvFr1_heV_cxRrPIic6_oSoLqARc6ldp2LM,1592
|
|
67
|
-
hk_cdp-1.0.
|
|
68
|
-
hk_cdp-1.0.
|
|
69
|
-
hk_cdp-1.0.
|
|
70
|
-
hk_cdp-1.0.
|
|
71
|
-
hk_cdp-1.0.
|
|
67
|
+
hk_cdp-1.0.86.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
|
|
68
|
+
hk_cdp-1.0.86.dist-info/METADATA,sha256=mVAsm2wXh9o43l_10bHdFWQ2JUijWR3FhhzTkN1Wl5w,7101
|
|
69
|
+
hk_cdp-1.0.86.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
|
|
70
|
+
hk_cdp-1.0.86.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
|
|
71
|
+
hk_cdp-1.0.86.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|