feat: 实现 AI 钓鱼与百家乐游戏的参与逻辑,并支持后台面板配置开关

This commit is contained in:
2026-03-26 11:49:36 +08:00
parent 532dc20a2d
commit a68e82107e
9 changed files with 422 additions and 78 deletions
@@ -112,6 +112,22 @@
<span class="absolute right-3 top-2.5 text-gray-400 text-sm"></span>
</div>
</div>
<div>
<label class="block text-sm font-bold text-gray-700 mb-1">AI 参与钓鱼游戏</label>
<select name="chatbot_fishing_enabled"
class="w-40 border border-gray-300 rounded-md p-2 text-sm focus:ring-indigo-500 focus:border-indigo-500">
<option value="1" {{ $chatbotFishingEnabled ? 'selected' : '' }}> 开启</option>
<option value="0" {{ !$chatbotFishingEnabled ? 'selected' : '' }}> 关闭</option>
</select>
</div>
<div>
<label class="block text-sm font-bold text-gray-700 mb-1">AI 参与百家乐</label>
<select name="chatbot_baccarat_enabled"
class="w-40 border border-gray-300 rounded-md p-2 text-sm focus:ring-indigo-500 focus:border-indigo-500">
<option value="1" {{ $chatbotBaccaratEnabled ? 'selected' : '' }}> 开启</option>
<option value="0" {{ !$chatbotBaccaratEnabled ? 'selected' : '' }}> 关闭</option>
</select>
</div>
<button type="submit"
class="px-6 py-2 bg-slate-800 text-white rounded-md font-bold hover:bg-slate-900 text-sm transition h-[38px]">
保存运行参数