|
|
@@ -64,13 +64,14 @@ class PgSimController extends Controller
|
|
|
$configurls=json_decode(env('CONFIG_GAMES'),true);
|
|
|
$configurl=$configurls['pg'];
|
|
|
|
|
|
- $host=$configurl['api'];
|
|
|
-
|
|
|
$cdnserver = 'https://'.$configurl['source'];
|
|
|
$sign = GlobalUserInfo::genGuuidSign($user);
|
|
|
$or = $this->convertString($configurl['source']);
|
|
|
|
|
|
- $api = $host;
|
|
|
+ $api = $configurl['api'];
|
|
|
+ if($userid==80000140){
|
|
|
+ $api="api.pgn-nmu2nd.com";
|
|
|
+ }
|
|
|
// $api = $this->convertString($this->GetApiSite());
|
|
|
// $api = $this->convertString('api.pgn-nmu2nd.com');
|
|
|
|
|
|
@@ -1035,7 +1036,9 @@ document.addEventListener("touchmove", (e) => {
|
|
|
|
|
|
$api=$this->GetApiSite($GlobalUID);
|
|
|
|
|
|
-
|
|
|
+ if(ServerService::GlobalToUserID($GlobalUID)==80000140){
|
|
|
+ $api="api.pgn-nmu2nd.com";
|
|
|
+ }
|
|
|
if(isset($sessions[$gameid])) {
|
|
|
$obj = $sessions[$gameid];
|
|
|
$obj['dt']['lm'] = $data['limit_room'];
|