调整接口

This commit is contained in:
2020-11-04 14:42:27 +08:00
parent a8852873d2
commit 102b7e1846
7 changed files with 2220 additions and 1574 deletions

View File

@@ -101,7 +101,7 @@ class Activity extends Model
try {
// $code = 'YSD' . date('ymd') . mt_rand(100000, 999999);
$code = '66406' . date('ymd') . mt_rand(100000, 999999);
$code = '66406' . date('ymdH') . mt_rand(1000000, 9999999);
if ($this->type == SELF::TYPE_EXTEND) {
$start_at = now();
$end_at = now()->addDays($this->days);