This commit is contained in:
aozhiwei 2020-05-06 18:05:34 +08:00
parent 074f7ea7df
commit dc41112293

View File

@ -131,7 +131,7 @@ class SubscribeController {
$data = array();
$date = phpcommon\timestamp_to_datetime(time());
//通知签到
if (floor((time() - phpcommon\getdayseconds(time())) / 3600) == 17) {
if (floor((time() - phpcommon\getdayseconds(time())) / 3600) == 8) {
while (true) {
$rows = $conn->execQuery('SELECT idx, accountid, openid, signtime ' .
' FROM subscribe WHERE signorder=1 AND idx > :last_idx LIMIT 0, 1000;',
@ -145,7 +145,7 @@ class SubscribeController {
if ($row['idx'] > $last_idx) {
$last_idx = $row['idx'];
}
if (floor((time() - phpcommon\getdayseconds($row['signtime'])) / 3600) != 17) {
if (floor((time() - phpcommon\getdayseconds($row['signtime'])) / 3600) != 32) {
continue;
}
$data = array(