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

24 lines
617 B
PHTML

2 years ago
<?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);
}
1 year ago
public static function getGenerateRequestIdKey($timestamp) {
return 'gennerate_request_id:' . date('YmdHi', $timestamp);
}
1 year ago
public static function getGenerateBindCardKey($timestamp) {
return 'gennerate_bank_card:' . date('YmdHi', $timestamp);
}
2 years ago
}