fix: 自注册/Line注册用户 bet_type 改为 1,修复移动端看不到桌子
doRegister() 和 lineAuth() 中 bet_type 硬编码为 3, 而所有 active 桌子均为 bet_type=1,导致 all_table() 查询结果为空返回"获取信息失败"。 同步修复数据库存量 10 条受影响用户记录。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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()){
|
||||
|
||||
Reference in New Issue
Block a user