no message
This commit is contained in:
parent
5ee907c615
commit
7641622325
@ -168,6 +168,45 @@ final class Test extends Base
|
||||
|
||||
}
|
||||
|
||||
public function badian()
|
||||
{
|
||||
$jobs = new Cron();
|
||||
$jobs->cleanDb();
|
||||
// $jobs->resetNodeBandwidth();
|
||||
$jobs->reportPayUser(); // 付费用户统计
|
||||
$jobs->resetDuckBandwidth(); // 重置每日的duck流量
|
||||
$jobs->reportBandWidth(); // 报告流量给tg
|
||||
$jobs->resetFreeUserBandwidth(); // 重置免费用户的流量
|
||||
$jobs->sendDailyTrafficReport(); // 流量报告?不重要
|
||||
$jobs->clearTodayWidth(); // 重置每日的用户使用流量
|
||||
|
||||
$jobs->smtpClearDayCount(); // 重置stmp的day_count
|
||||
|
||||
// 每日清除前一天残留TgStep
|
||||
$jobs->clearTgStep();
|
||||
|
||||
// 每日统计报表 - 用户
|
||||
$jobs->userCount();
|
||||
|
||||
if (Config::obtain('enable_detect_inactive_user')) {
|
||||
$jobs->detectInactiveUser();
|
||||
}
|
||||
|
||||
if (Config::obtain('remove_inactive_user_link_and_invite')) {
|
||||
$jobs->removeInactiveUserLinkAndInvite();
|
||||
}
|
||||
|
||||
if (Config::obtain('telegram_diary')) {
|
||||
$jobs->sendTelegramDiary();
|
||||
}
|
||||
|
||||
$jobs->resetTodayBandwidth();
|
||||
|
||||
if (Config::obtain('telegram_daily_job')) {
|
||||
$jobs->sendTelegramDailyJob();
|
||||
}
|
||||
}
|
||||
|
||||
public function orderCombo()
|
||||
{
|
||||
$job = new Cron();
|
||||
|
||||
46
ttt1.text
46
ttt1.text
@ -1,30 +1,16 @@
|
||||
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '商品ID',
|
||||
`type` varchar(255) NOT NULL DEFAULT 'tabp' COMMENT '类型',
|
||||
`name` varchar(255) NOT NULL DEFAULT '' COMMENT '名称',
|
||||
`price` decimal(12,2) unsigned NOT NULL DEFAULT 0.00 COMMENT '售价',
|
||||
`content` longtext NOT NULL DEFAULT '{}' COMMENT '内容' CHECK (json_valid(`content`)),
|
||||
`limit` longtext NOT NULL DEFAULT '{}' COMMENT '购买限制' CHECK (json_valid(`limit`)),
|
||||
`status` tinyint(1) unsigned NOT NULL DEFAULT 1 COMMENT '销售状态',
|
||||
`create_time` int(11) unsigned NOT NULL DEFAULT 0 COMMENT '创建时间',
|
||||
`update_time` int(11) unsigned NOT NULL DEFAULT 0 COMMENT '更新时间',
|
||||
`sale_count` int(11) unsigned NOT NULL DEFAULT 0 COMMENT '累计销量',
|
||||
`stock` int(11) NOT NULL DEFAULT -1 COMMENT '库存',
|
||||
`class_time` varchar(255) DEFAULT NULL,
|
||||
`reward` tinyint(1) DEFAULT 1 COMMENT '允许返利',
|
||||
`code` varchar(255) NOT NULL COMMENT '唯一code',
|
||||
`name_sub` varchar(255) DEFAULT NULL,
|
||||
`sale_count_shadow` int(11) DEFAULT 0 COMMENT '假销售count',
|
||||
`sale_shadow_oneday` int(11) DEFAULT 0 COMMENT '一天假卖几个',
|
||||
`end_time` int(11) DEFAULT 0 COMMENT '自动下架时间,0为不限期',
|
||||
`start_time` int(11) DEFAULT 0 COMMENT '自动上架时间',
|
||||
`memo` varchar(255) DEFAULT NULL COMMENT '备注,仅后台可见',
|
||||
`is_huodong` tinyint(1) DEFAULT 0 COMMENT '是否是活动商品,目前是没用上,但是业务逻辑上应该有',
|
||||
`coupon_disable` tinyint(1) DEFAULT 0 COMMENT '是否阻止优化码,这个优先级最高',
|
||||
`autorenew_count` int(11) DEFAULT 0 COMMENT '自动续费数量,提前续订也算',
|
||||
`order_group` tinyint(2) DEFAULT 1 COMMENT '排序组',
|
||||
`huodong_up_str` varchar(255) DEFAULT NULL COMMENT '提升了什么',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `code` (`code`),
|
||||
KEY `id` (`id`),
|
||||
KEY `type` (`type`),
|
||||
KEY `status` (`status`)
|
||||
server {
|
||||
|
||||
listen 80 default_server;
|
||||
server_name _;
|
||||
|
||||
return 301 https://zzz.com;
|
||||
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
listen 443 ssl default_server;
|
||||
server_name _;
|
||||
|
||||
return 301 https://zzz.com
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user