yzk_wechat_event/apps/system/choices.py

77 lines
1.8 KiB
Python
Raw Normal View History

from django.db import models
class PaymentType(models.IntegerChoices):
YFD = 1, '云发单'
JFJC = 2, '接粉检测'
ALIVE_ACTIVITY_PAGE = 3, '活动单页(活)'
DEAD_ACTIVITY_PAGE = 4, '活动单页(死)'
class PaymentActivityType(models.IntegerChoices):
ELM = 1, 'elm'
ALIPAY = 2, '支付宝'
COMPLAINT_PAGE = 3, '投诉页'
class ActivityType(models.IntegerChoices):
ELM = 1, 'elm赏金'
ALIPAY = 2, '支付宝'
COMPLAINT_PAGE = 3, '投诉页'
MIDDLE_PAGE = 4, '中间页'
class ActivityLinkType(models.IntegerChoices):
DEAD = 0, '死链接'
ALIVE = 1, '活链接'
class AuthorizationPlatformType(models.IntegerChoices):
# ALIPAY = 1, '支付宝'
ELM = 2, '饿了么'
MT = 3, '美团'
TB = 4, '淘宝'
PDD = 5, '拼多多'
JD = 6, '京东'
class AuthorizationType(models.IntegerChoices):
COOKIE = 1, '插件模拟登录'
APP_SECRET = 2, 'app_secret'
AUTHORIZATION = 3, '账号授权'
class DomainBusinessType(models.IntegerChoices):
SHORT_CHAIN = 1, '短链'
LANDING_PAGE = 2, '落地页'
QUICK_CODE = 3, '快码'
class DomainType(models.IntegerChoices):
QUICK_CODE = 1, '快码'
SELF_BIND = 2, '自己绑定'
QUICK_STATION = 3, '快站'
class QuickCodeCreateMethodType(models.IntegerChoices):
PROGRAM = 1, '程序生成'
MANUAL = 2, '人工生成'
MANUAL_COPY = 3, '手动复制'
class QuickCodeType(models.IntegerChoices):
OFFICIAL = 1, '官方'
PRIVATE = 2, '自己'
class AuthorizationCookieCheckResultChoices(models.IntegerChoices):
FAIL = 0, '检测失败'
SUCCESS = 1, '检测成功'
class DbEnum(models.TextChoices):
XBTOOL = 'xbtool', '小程序工具'
HDY = 'hdy', '活动页'
QWHM = 'qwhm', '企微活码'
QWJQR = 'qwjqr', '企微机器人'