You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
833 B
36 lines
833 B
3 years ago
|
#!/usr/bin/env python
|
||
|
# -*- coding:utf-8 -*-
|
||
|
# author: NinEveN
|
||
|
# date: 2022/2/15
|
||
|
import logging
|
||
|
|
||
3 years ago
|
from django.dispatch import Signal
|
||
3 years ago
|
|
||
|
logger = logging.getLogger(__name__)
|
||
|
|
||
|
"""
|
||
|
更新应用的时候,是否同时更新超级签名数据
|
||
|
"""
|
||
3 years ago
|
run_resign_task_signal = Signal(providing_args=["app_obj"])
|
||
3 years ago
|
|
||
|
"""
|
||
|
删除应用时的信号,用户清理签名相关数据
|
||
|
"""
|
||
|
|
||
3 years ago
|
delete_app_signal = Signal(providing_args=["app_obj"])
|
||
3 years ago
|
|
||
3 years ago
|
"""
|
||
|
下载超级签名数据
|
||
|
"""
|
||
|
xsign_app_download_url_signal = Signal(providing_args=["app_pk", "udid", "download_url_type", "limit"])
|
||
3 years ago
|
|
||
|
"""
|
||
|
迁移超级签名数据
|
||
|
"""
|
||
|
xsign_migrate_data_signal = Signal(providing_args=["app_release_obj", "user_obj", "new_storage_obj", "clean_old_data"])
|
||
|
|
||
|
"""
|
||
|
清理超级签名数据
|
||
|
"""
|
||
|
xsign_clean_data_signal = Signal(providing_args=["app_release_obj", "storage_obj"])
|