From d69322a7fba620d029c5fb7598edd92dd78e4979 Mon Sep 17 00:00:00 2001 From: li Date: Sat, 14 Mar 2026 16:47:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=87=AA=E6=B3=A8=E5=86=8C/Line?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E7=94=A8=E6=88=B7=20bet=5Ftype=20=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=201=EF=BC=8C=E4=BF=AE=E5=A4=8D=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E7=9C=8B=E4=B8=8D=E5=88=B0=E6=A1=8C=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit doRegister() 和 lineAuth() 中 bet_type 硬编码为 3, 而所有 active 桌子均为 bet_type=1,导致 all_table() 查询结果为空返回"获取信息失败"。 同步修复数据库存量 10 条受影响用户记录。 Co-Authored-By: Claude Sonnet 4.6 --- application/onlinechip/controller/Pcapi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/onlinechip/controller/Pcapi.php b/application/onlinechip/controller/Pcapi.php index d663c06..8a9391f 100755 --- a/application/onlinechip/controller/Pcapi.php +++ b/application/onlinechip/controller/Pcapi.php @@ -3445,7 +3445,7 @@ class Pcapi extends Controller{ $insertData['price_tc_hjths'] = $agentParent['price_tc_hjths']; $insertData['area_id'] = $agentParent['area_id']; - $insertData['bet_type'] = 3; + $insertData['bet_type'] = 1; $insertData['reg_time'] = time(); if(getIp()){ @@ -3660,7 +3660,7 @@ class Pcapi extends Controller{ $insertData['price_tc_ths'] = $agentParent['price_tc_ths']; $insertData['price_tc_hjths'] = $agentParent['price_tc_hjths']; $insertData['area_id'] = $agentParent['area_id']; - $insertData['bet_type'] = 3; + $insertData['bet_type'] = 1; $insertData['reg_time'] = time(); if(getIp()){