| 123456789101112131415161718192021222324 | # Author renyupeng# coding=utf-8# @Time    : 2024/1/4 上午10:16# @Site    : # @File    : platform_cookie_update.py# @Software: PyCharm# @contact: renyupeng@c-top.com.cn# @Tel 1501435553from utils.mysql_utils import MysqlUtilsclass platform_cookie_update:    @staticmethod    def get_one_cookie_handler():        sql = "select cookie,user_name  " \              "from kwai_promoter.platform_supply_chain_cookie where status =0 and level_staus =1"        result = MysqlUtils().QueryAll(sql)        return result    @staticmethod    def get_two_cookie_handler():        sql = "select cookie,user_name  from " \              "kwai_promoter.platform_supply_chain_cookie where status =0 and level_staus =2"        result = MysqlUtils().QueryAll(sql)        return result
 |