Add gold credit feature gated by SuperAdmin enable_gold_credit.
Port tables, APIs, and overdue cron from goldali, default the flag off, and keep customer routes behind auth. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1223,6 +1223,11 @@ class ConfigService
|
||||
return $this->getBool('enable_product_funds', false);
|
||||
}
|
||||
|
||||
public function isGoldCreditEnabled(): bool
|
||||
{
|
||||
return $this->getBool('enable_gold_credit', false);
|
||||
}
|
||||
|
||||
/**
|
||||
* سوییچ اصلی جیبیت (can_edit=0، پیشفرض روشن).
|
||||
* خاموش = هیچ فراخوانی احراز هویت به جیبیت انجام نمیشود.
|
||||
|
||||
Reference in New Issue
Block a user