hk-cdp 1.0.69__py3-none-any.whl → 1.0.70__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.

@@ -216,4 +216,22 @@ class CdpHelper:
216
216
  "total_point": total_integral
217
217
  })
218
218
  return sync_member_info, sync_integral_log
219
-
219
+
220
+
221
+ @classmethod
222
+ def get_platform_name(self, platform_id):
223
+ """
224
+ 合成同步平台需要的信息
225
+ :param platform_id: 平台标识
226
+ :return:
227
+ """
228
+ if platform_id == 1:
229
+ return '淘宝平台'
230
+ elif platform_id == 2:
231
+ return '抖音平台'
232
+ elif platform_id == 3:
233
+ return '京东平台'
234
+ elif platform_id == 4:
235
+ return '微信平台'
236
+ else:
237
+ return '未知平台'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hk-cdp
3
- Version: 1.0.69
3
+ Version: 1.0.70
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
@@ -4,7 +4,7 @@ hk_cdp/handler/cdp_base.py,sha256=CgLnJPuxRzpfIZvxk9-7Tu1qfcsFm-xKLYkOaWw9gp0,26
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
6
  hk_cdp/libs/customize/asset_base_model.py,sha256=9ymMjP1BZ7ltPPgs_HejpOza9ZdtZwVxMI1t_K9DGzI,23463
7
- hk_cdp/libs/customize/cdp_helper.py,sha256=nMtRyWsnDGDNEge8NNcpyYWOpxuPNP5MkWPSSBwVVqU,8820
7
+ hk_cdp/libs/customize/cdp_helper.py,sha256=c_v7EDVc3UPSaAQFTRcelHV7os210fNPHmm5AEOpdRY,9316
8
8
  hk_cdp/libs/customize/tiktok_spi_helper.py,sha256=CBzZOZlwcJdI22HOewIPTvAPWOHYdyvq7OAZhijTlFA,3575
9
9
  hk_cdp/models/__init__.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
10
10
  hk_cdp/models/cdp_model.py,sha256=W4eKGr9BzlTcNdFeAfglzHRcG3wA2PuIUui7f1Q3G8I,5477
@@ -59,8 +59,8 @@ hk_cdp/models/db_models/user/__init__.py,sha256=O_F1_TiR_075ATAHcahxTKJwUdYeY-Qz
59
59
  hk_cdp/models/db_models/user/user_data_model.py,sha256=_0PbEsUf5e2JY2PL3LLj09cGAtAmS0dhnJnLCDNdkNc,2696
60
60
  hk_cdp/models/db_models/user/user_info_model.py,sha256=IoI2ogHHER4EF2PB6O2kJ5NHBNdQH_jDW8qjhD8v-0M,4198
61
61
  hk_cdp/models/db_models/user/user_trends_model.py,sha256=CjlIbFFkTdTGIHYQ-cHkg9xUz92QC-sxmMBGPzcUvc4,1544
62
- hk_cdp-1.0.69.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
63
- hk_cdp-1.0.69.dist-info/METADATA,sha256=aFijUygKDDgpErokmhkNPHqcrFnAivWywqKFWRSx3Yc,7101
64
- hk_cdp-1.0.69.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
65
- hk_cdp-1.0.69.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
66
- hk_cdp-1.0.69.dist-info/RECORD,,
62
+ hk_cdp-1.0.70.dist-info/LICENSE,sha256=hKHSuDoDoyOk6vOrpkYnOXZ640PvhUa-BTQbRRtFsUk,1061
63
+ hk_cdp-1.0.70.dist-info/METADATA,sha256=4JlGNc0hwzr6L0WP0LZ-a_11g5gl-efsn9qwyo-hRSU,7101
64
+ hk_cdp-1.0.70.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
65
+ hk_cdp-1.0.70.dist-info/top_level.txt,sha256=omzIr_m5qnzhfcdscOVr4P4JUB49wlP6KztqvlqDntw,7
66
+ hk_cdp-1.0.70.dist-info/RECORD,,