调整接口
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user