mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-08-17 21:25:47 +02:00
1. Added Mail Marketing Automation trigger tasks 2. Added Mail Marketing Groups Import, Export, Merge 3. Added Mail Marketing Subscribers to support paste import 4. Added Mail Marketing Template Import Export Duplicate 5. Added Mail server add timed automatic reply 6. Added HTTPS Protection function for Website (disables automatic HTTP to HTTPS redirection when enabled) 7. Optimize Website Interface Button Integration 8. Optimize the response speed of WP Toolkit interface
39 lines
1.0 KiB
Python
39 lines
1.0 KiB
Python
# coding: utf-8
|
|
# -------------------------------------------------------------------
|
|
# 宝塔Linux面板
|
|
# -------------------------------------------------------------------
|
|
# Copyright (c) 2015-2099 宝塔软件(http://bt.cn) All rights reserved.
|
|
# -------------------------------------------------------------------
|
|
# Author: cjxin <cjxin@bt.cn>
|
|
# -------------------------------------------------------------------
|
|
#
|
|
# ------------------------------
|
|
|
|
import os, sys, time, json, re
|
|
import traceback
|
|
|
|
if '/www/server/panel/class/' not in sys.path:
|
|
sys.path.insert(0, '/www/server/panel/class/')
|
|
import public, db
|
|
from datalistModel.base import dataBase
|
|
|
|
|
|
class main(dataBase):
|
|
|
|
def __init__(self):
|
|
pass
|
|
|
|
"""
|
|
@name 获取公共数据后,格式化为网站列表需要的数据
|
|
"""
|
|
def get_data_list(self, get):
|
|
return get.data_list
|
|
|
|
"""
|
|
@追加and查询条件
|
|
"""
|
|
def get_data_where(self,get):
|
|
wheres = []
|
|
if 'pid' in get:
|
|
wheres.append(("(pid = ?)", (get.pid)))
|
|
return wheres |