|
@@ -952,7 +952,7 @@ class LoginController extends Controller
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$Channel = $config->Channel;
|
|
$Channel = $config->Channel;
|
|
|
- if($Channel!=env('REGION_24680_DEFAULT_CHANNEL',99))$ReferrType = 1;
|
|
|
|
|
|
|
+ if($Channel!=env('REGION_24680_DEFAULT_CHANNEL',100))$ReferrType = 1;
|
|
|
|
|
|
|
|
}else{
|
|
}else{
|
|
|
|
|
|
|
@@ -1069,7 +1069,7 @@ class LoginController extends Controller
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
GlobalUserInfo::$me=$globalUserInfo;
|
|
GlobalUserInfo::$me=$globalUserInfo;
|
|
|
- if($Channel==env('REGION_24680_DEFAULT_CHANNEL',99)){
|
|
|
|
|
|
|
+ if($Channel==env('REGION_24680_DEFAULT_CHANNEL',100)){
|
|
|
Util::WriteLog('c99',json_encode($_SERVER));
|
|
Util::WriteLog('c99',json_encode($_SERVER));
|
|
|
}
|
|
}
|
|
|
//注册钱数要归0
|
|
//注册钱数要归0
|
|
@@ -1102,7 +1102,7 @@ class LoginController extends Controller
|
|
|
|
|
|
|
|
public function registerAccountInfo(Request $request, $PackageName = 'com.24680.br', $Channel = 0,$account=null)
|
|
public function registerAccountInfo(Request $request, $PackageName = 'com.24680.br', $Channel = 0,$account=null)
|
|
|
{
|
|
{
|
|
|
- if (empty($Channel) || !$Channel) $Channel = env('REGION_24680_DEFAULT_CHANNEL',99);
|
|
|
|
|
|
|
+ if (empty($Channel) || !$Channel) $Channel = env('REGION_24680_DEFAULT_CHANNEL',100);
|
|
|
|
|
|
|
|
//防止串行
|
|
//防止串行
|
|
|
$app=DB::connection('write')->table('QPPlatformDB.dbo.ChannelPackageName')->where('Channel', $Channel)->first();
|
|
$app=DB::connection('write')->table('QPPlatformDB.dbo.ChannelPackageName')->where('Channel', $Channel)->first();
|