You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
payment/app/Helper/RedisKey.php

16 lines
339 B
PHP

<?php
declare(strict_types=1);
namespace App\Helper;
class RedisKey
{
public static function getGenerateAppIdKey($timestamp) {
return 'gennerate_app_id:' . date('Ymd', $timestamp);
}
public static function getGenerateOrderNoKey($timestamp) {
return 'gennerate_order_no:' . date('YmdHi', $timestamp);
}
}