增肌发券规则
This commit is contained in:
@@ -98,8 +98,9 @@ class Activity extends Model
|
||||
//发券
|
||||
public function grant($mobile, $outletId = null)
|
||||
{
|
||||
|
||||
try {
|
||||
$code = '66406' . date('ymdH') . mt_rand(1000000, 9999999);
|
||||
$code = 'YSD' . date('ymd') . mt_rand(100000, 999999);
|
||||
|
||||
if ($this->type == SELF::TYPE_EXTEND) {
|
||||
$start_at = now();
|
||||
|
||||
Reference in New Issue
Block a user