hk-cdp 1.0.107__py3-none-any.whl → 1.0.109__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.
@@ -2,7 +2,7 @@
2
2
  """
3
3
  @Author: HuangJianYi
4
4
  @Date: 2024-11-06 09:39:45
5
- @LastEditTime: 2025-01-23 17:30:39
5
+ @LastEditTime: 2025-08-13 16:29:58
6
6
  @LastEditors: HuangJianYi
7
7
  @Description:
8
8
  """
@@ -77,15 +77,12 @@ class CdpWorkInfo:
77
77
  self.run_start_date = '1970-01-01 00:00:00.000' # 开始运行时间
78
78
  self.run_end_date = '1970-01-01 00:00:00.000' # 结束运行时间
79
79
  self.run_last_date = '1970-01-01 00:00:00.000' # 最近运行时间
80
+ self.extend_info = {} # 扩展信息json
80
81
  self.create_date = '1970-01-01 00:00:00.000' # 创建时间
81
82
 
82
83
  @classmethod
83
84
  def get_field_list(self):
84
- return [
85
- 'id', 'business_id', 'scheme_id', 'store_id', 'work_name', 'work_desc',
86
- 'is_open', 'progress_type', 'step_value', 'run_desc',
87
- 'run_start_date', 'run_end_date', 'run_last_date', 'create_date'
88
- ]
85
+ return ['id', 'business_id', 'scheme_id', 'store_id', 'work_name', 'work_desc', 'is_open', 'progress_type', 'step_value', 'run_desc', 'run_start_date', 'run_end_date', 'run_last_date', 'extend_info', 'create_date']
89
86
 
90
87
  @classmethod
91
88
  def get_primary_key(self):
@@ -32,6 +32,7 @@ class TtSourceHistoryMember:
32
32
  self.level_id = 0 # 等级
33
33
  self.mobile = "" # 明文手机号
34
34
  self.mask_mobile = "" # 掩码手机号
35
+ self.encode_mobile = "" # 加密手机号(可能是明文手机号或掩码手机号的加密值)
35
36
  self.apply_time = '1900-01-01 00:00:00.000' # 入会时间
36
37
  self.order_total_amount = 0.0000 # 订单总金额
37
38
  self.order_count = 0 # 订单量
@@ -40,10 +41,7 @@ class TtSourceHistoryMember:
40
41
 
41
42
  @classmethod
42
43
  def get_field_list(self):
43
- return [
44
- 'doudian_open_id', 'union_id', 'store_id', 'current_points', 'level_id', 'mobile', 'mask_mobile',
45
- 'apply_time', 'order_total_amount', 'order_count', 'modify_time', 'create_time'
46
- ]
44
+ return ['doudian_open_id', 'union_id', 'store_id', 'current_points', 'level_id', 'mobile', 'mask_mobile', 'encode_mobile', 'apply_time', 'order_total_amount', 'order_count', 'modify_time', 'create_time']
47
45
 
48
46
  @classmethod
49
47
  def get_primary_key(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hk-cdp
3
- Version: 1.0.107
3
+ Version: 1.0.109
4
4
  Summary: hk cdp
5
5
  Home-page: http://gitlab.tdtech.gao7.com/newfire/hk_cap/hk_cdp/server/hk_cdp.git
6
6
  Author: seven
@@ -21,7 +21,7 @@ hk_cdp/models/db_models/cap/cap_business_info_model.py,sha256=GnRMcS2n1bHgNIELHs
21
21
  hk_cdp/models/db_models/cap/cap_store_info_model.py,sha256=qewjcGdPnlK-R8yY564qogP7IuiqhcxyMAJrrNjprqY,1716
22
22
  hk_cdp/models/db_models/cdp/__init__.py,sha256=8AyJZ9QNMMgbxCoroCPpckaYWST0whyfaKPrLcwNUoA,213
23
23
  hk_cdp/models/db_models/cdp/cdp_store_info_model.py,sha256=f5XFVEST3jWrrSlEKPpPkClg4b1A1mFu8wVmk9zYvKg,2931
24
- hk_cdp/models/db_models/cdp/cdp_work_info_model.py,sha256=Fg9jyzGjqHAd974BywgQ4iH8KR-Cf9fCxo-4BE0dVGM,3749
24
+ hk_cdp/models/db_models/cdp/cdp_work_info_model.py,sha256=zbvmtSlrgvJUSp8IRbIWe839lqceSfDPsg6Naj9jS6I,3768
25
25
  hk_cdp/models/db_models/member/__init__.py,sha256=848n8bTcWDnFiqDnucKrEMskbXJMLz29ju6s6ta2bR4,311
26
26
  hk_cdp/models/db_models/member/member_asset_log_model.py,sha256=NnUbiCAmJcmB16iVDnsSQITlDo4Sw8zsUEIk6cgS00w,3079
27
27
  hk_cdp/models/db_models/member/member_asset_model.py,sha256=zhH7JSStpU3HBxedN90Ch4ZFvc3SvP9jXub1XvE9SHE,2086
@@ -61,13 +61,13 @@ hk_cdp/models/db_models/tt/tt_rds_item_model.py,sha256=WCgZIo1lBgR1VWfS-8SALXWcI
61
61
  hk_cdp/models/db_models/tt/tt_rds_refund_model.py,sha256=y51lwWDHHLIrNw-YjIKTm3EuS3PbWcIl-ZE_S9LYCBE,1987
62
62
  hk_cdp/models/db_models/tt/tt_rds_trade_model.py,sha256=BBc0uHI7VDRWRcCGZHniWtkk3-ToDr6hKGhQwEiryvY,1948
63
63
  hk_cdp/models/db_models/tt/tt_source_buyer_model.py,sha256=xftM1m2DMIQVyw6y1vJgNlVqqL63k8iMgdLpg5GiI9w,1779
64
- hk_cdp/models/db_models/tt/tt_source_history_member_model.py,sha256=Z7DeqNWTfnGEMvaa2WGJhc4hZ-r6PzfTUsqgjswWf6A,2086
64
+ hk_cdp/models/db_models/tt/tt_source_history_member_model.py,sha256=aCm-m8qGyrzNDpYMXjvFfdKh501WEX6ClAqcd11KXg8,2179
65
65
  hk_cdp/models/db_models/user/__init__.py,sha256=O_F1_TiR_075ATAHcahxTKJwUdYeY-QzJqzO0EbsaCM,68
66
66
  hk_cdp/models/db_models/user/user_data_model.py,sha256=hswh3ELJtBilEgzr7W6MfmaWsnSr93oO0nizbbPeRAk,2757
67
67
  hk_cdp/models/db_models/user/user_info_model.py,sha256=TywpvlFGkch9hO_szyhin-ed4xfTWBM7L59IU96SfxU,4138
68
68
  hk_cdp/models/db_models/user/user_trends_model.py,sha256=oxJCBnJQEvFr1_heV_cxRrPIic6_oSoLqARc6ldp2LM,1592
69
- hk_cdp-1.0.107.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
70
- hk_cdp-1.0.107.dist-info/METADATA,sha256=9b-C1SesIfXAtGNPo2D92W-9rhdnUI-uDxVgm2Mza7A,7102
71
- hk_cdp-1.0.107.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
72
- hk_cdp-1.0.107.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
73
- hk_cdp-1.0.107.dist-info/RECORD,,
69
+ hk_cdp-1.0.109.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
70
+ hk_cdp-1.0.109.dist-info/METADATA,sha256=4PevNIpKXOBMOl5-dYCmpg5n7ciqt0sukfb51kjayzk,7102
71
+ hk_cdp-1.0.109.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
72
+ hk_cdp-1.0.109.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
73
+ hk_cdp-1.0.109.dist-info/RECORD,,