hk-cdp 1.0.100__py3-none-any.whl → 1.0.103__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.
Potentially problematic release.
This version of hk-cdp might be problematic. Click here for more details.
- hk_cdp/libs/customize/asset_base_model.py +2 -3
- hk_cdp/models/db_models/taobao/taobao_source_history_member_model.py +2 -1
- hk_cdp/models/db_models/user/user_data_model.py +3 -5
- {hk_cdp-1.0.100.dist-info → hk_cdp-1.0.103.dist-info}/METADATA +1 -1
- {hk_cdp-1.0.100.dist-info → hk_cdp-1.0.103.dist-info}/RECORD +8 -8
- {hk_cdp-1.0.100.dist-info → hk_cdp-1.0.103.dist-info}/LICENSE +0 -0
- {hk_cdp-1.0.100.dist-info → hk_cdp-1.0.103.dist-info}/WHEEL +0 -0
- {hk_cdp-1.0.100.dist-info → hk_cdp-1.0.103.dist-info}/top_level.txt +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"""
|
|
3
3
|
:Author: HuangJianYi
|
|
4
4
|
:Date: 2020-05-12 20:11:48
|
|
5
|
-
@LastEditTime: 2025-
|
|
5
|
+
@LastEditTime: 2025-07-24 21:51:42
|
|
6
6
|
@LastEditors: HuangJianYi
|
|
7
7
|
:description:
|
|
8
8
|
"""
|
|
@@ -208,9 +208,8 @@ class AssetBaseModel():
|
|
|
208
208
|
member_asset_log.remark = remark
|
|
209
209
|
member_asset_log.operate_user_id = operate_user_id
|
|
210
210
|
member_asset_log.operate_user_name = operate_user_name
|
|
211
|
-
|
|
211
|
+
member_asset_log.valid_end_date = valid_end_date
|
|
212
212
|
if valid_end_date and valid_end_date not in ["2900-01-01 00:00:00", "2900-01-01 00:00:00.000"]:
|
|
213
|
-
member_asset_log.valid_end_date = valid_end_date
|
|
214
213
|
member_asset_log.valid_type = 2
|
|
215
214
|
else:
|
|
216
215
|
member_asset_log.valid_type = 1
|
|
@@ -34,6 +34,7 @@ class TaobaoSourceHistoryMember:
|
|
|
34
34
|
self.points = "" # 消费者积分余额
|
|
35
35
|
self.mix_mobile = "" # 加密手机号
|
|
36
36
|
self.mobile = "" # 手机号
|
|
37
|
+
self.mask_mobile = "" # 掩码手机号
|
|
37
38
|
self.first_entry_time = "1900-01-01 00:00:00" # 首次入会时间
|
|
38
39
|
self.last_entry_time = "1900-01-01 00:00:00" # 首次入会时间
|
|
39
40
|
self.modify_time = "1900-01-01 00:00:00.000" # 修改时间
|
|
@@ -41,7 +42,7 @@ class TaobaoSourceHistoryMember:
|
|
|
41
42
|
|
|
42
43
|
@classmethod
|
|
43
44
|
def get_field_list(self):
|
|
44
|
-
return ["ouid", "store_id", "grade", "grade_name", "snapshot_info", "gmt_modified", "points", "mix_mobile", "mobile", "first_entry_time", "last_entry_time", "modify_time", "create_time"]
|
|
45
|
+
return ["ouid", "store_id", "grade", "grade_name", "snapshot_info", "gmt_modified", "points", "mix_mobile", "mobile", 'mask_mobile', "first_entry_time", "last_entry_time", "modify_time", "create_time"]
|
|
45
46
|
|
|
46
47
|
@classmethod
|
|
47
48
|
def get_primary_key(self):
|
|
@@ -39,6 +39,7 @@ class UserData:
|
|
|
39
39
|
self.last_trade_date = "1970-01-01 00:00:00.000" # 最近交易时间
|
|
40
40
|
self.trade_success_price = 0.0000 # 交易成功金额
|
|
41
41
|
self.trade_success_num = 0 # 交易成功笔数
|
|
42
|
+
self.buy_num = 0 # 购买件数
|
|
42
43
|
self.refund_price = 0.0000 # 退款金额
|
|
43
44
|
self.refund_num = 0 # 退款笔数
|
|
44
45
|
self.presell_order_num = 0 # 预售下单笔数
|
|
@@ -50,11 +51,8 @@ class UserData:
|
|
|
50
51
|
@classmethod
|
|
51
52
|
def get_field_list(self):
|
|
52
53
|
return [
|
|
53
|
-
'id', 'user_id', 'ouid', 'business_id', 'platform_id', 'store_id', 'plat_store_id', 'first_order_date',
|
|
54
|
-
'
|
|
55
|
-
'trade_success_price', 'trade_success_num', 'refund_price', 'refund_num',
|
|
56
|
-
'presell_order_num', 'presell_pay_num', 'presell_order_price',
|
|
57
|
-
'presell_pay_price', 'buy_back_day'
|
|
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', 'refund_price', 'refund_num',
|
|
55
|
+
'presell_order_num', 'presell_pay_num', 'presell_order_price', 'presell_pay_price', 'buy_back_day'
|
|
58
56
|
]
|
|
59
57
|
|
|
60
58
|
@classmethod
|
|
@@ -3,7 +3,7 @@ hk_cdp/handler/__init__.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
|
|
|
3
3
|
hk_cdp/handler/cdp_base.py,sha256=CgLnJPuxRzpfIZvxk9-7Tu1qfcsFm-xKLYkOaWw9gp0,2605
|
|
4
4
|
hk_cdp/libs/__init__.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
|
|
5
5
|
hk_cdp/libs/customize/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
hk_cdp/libs/customize/asset_base_model.py,sha256=
|
|
6
|
+
hk_cdp/libs/customize/asset_base_model.py,sha256=qejT8iZhTTIyCB2GR9jEizVYpGBMfkehlGEv2DGzUx0,23589
|
|
7
7
|
hk_cdp/libs/customize/cdp_helper.py,sha256=st4NOYbFBT4WIOJ3j7bcAyml503z2ayiU78hbrNisGM,11810
|
|
8
8
|
hk_cdp/libs/customize/rainbow_helper.py,sha256=M9gb3MyHf8SHGtX27GC8llivvAZxV_fb1CqJK_crfZ4,2372
|
|
9
9
|
hk_cdp/libs/customize/tiktok_spi_helper.py,sha256=CBzZOZlwcJdI22HOewIPTvAPWOHYdyvq7OAZhijTlFA,3575
|
|
@@ -50,7 +50,7 @@ hk_cdp/models/db_models/taobao/taobao_rds_item_model.py,sha256=VLs0Jd0rcZeTJ-ljm
|
|
|
50
50
|
hk_cdp/models/db_models/taobao/taobao_rds_refund_model.py,sha256=1hCIIaIz3Ud_2HsuuMMMc3Ea9F7mY0LRL3a1HdQpgus,1727
|
|
51
51
|
hk_cdp/models/db_models/taobao/taobao_rds_trade_model.py,sha256=zmZzunkuVdZ9l9FxgYfQyP-XNqJyedT415pRWnRpRCI,1659
|
|
52
52
|
hk_cdp/models/db_models/taobao/taobao_source_buyer_model.py,sha256=i5s2BryvepkV12EC7TdGTLb4hlLEaDsAhOp7RCMe9WY,2255
|
|
53
|
-
hk_cdp/models/db_models/taobao/taobao_source_history_member_model.py,sha256=
|
|
53
|
+
hk_cdp/models/db_models/taobao/taobao_source_history_member_model.py,sha256=m2_YzlpoPL6jhZv4pYW4Vg4LXMGqDFLpj6g9erX3yMw,2199
|
|
54
54
|
hk_cdp/models/db_models/trade/__init__.py,sha256=QxTCD3TJRFF4SZU83T-lATdDIKTuTmFopGpRs_Lps2E,101
|
|
55
55
|
hk_cdp/models/db_models/trade/trade_give_info_model.py,sha256=l70K-aiyOkNRy2NPLGDOG-vUnM6Vw0NqAdbwW7cxT0k,1868
|
|
56
56
|
hk_cdp/models/db_models/trade/trade_info_model.py,sha256=fX4OiHjaFx8DnOj0SMq-LTZRa-lVjz2mLvsjJM1qw_Y,4713
|
|
@@ -63,11 +63,11 @@ hk_cdp/models/db_models/tt/tt_rds_trade_model.py,sha256=BBc0uHI7VDRWRcCGZHniWtkk
|
|
|
63
63
|
hk_cdp/models/db_models/tt/tt_source_buyer_model.py,sha256=xftM1m2DMIQVyw6y1vJgNlVqqL63k8iMgdLpg5GiI9w,1779
|
|
64
64
|
hk_cdp/models/db_models/tt/tt_source_history_member_model.py,sha256=jMw8QqyG84rx0Jdtg7RHwYaNxz_ylLA0UjkhvGsqzAc,2080
|
|
65
65
|
hk_cdp/models/db_models/user/__init__.py,sha256=O_F1_TiR_075ATAHcahxTKJwUdYeY-QzJqzO0EbsaCM,68
|
|
66
|
-
hk_cdp/models/db_models/user/user_data_model.py,sha256=
|
|
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.
|
|
70
|
-
hk_cdp-1.0.
|
|
71
|
-
hk_cdp-1.0.
|
|
72
|
-
hk_cdp-1.0.
|
|
73
|
-
hk_cdp-1.0.
|
|
69
|
+
hk_cdp-1.0.103.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
|
|
70
|
+
hk_cdp-1.0.103.dist-info/METADATA,sha256=c3yyIKhVjAPbTCxPHvMlgtrhUnbGbC5iAZWdx6jWKKQ,7102
|
|
71
|
+
hk_cdp-1.0.103.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
|
|
72
|
+
hk_cdp-1.0.103.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
|
|
73
|
+
hk_cdp-1.0.103.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|