云海寻仙记2测试资源

master
elf 2 years ago
parent c76fbc349b
commit 1381caaa30

@ -251,6 +251,7 @@ class TestingResourceService
'base_game_id' => $gameId, 'base_game_id' => $gameId,
'base_quota' => $baseQuota, 'base_quota' => $baseQuota,
'rate' => $rate, 'rate' => $rate,
'has_itf' => 1,
]; ];
$setting = M('testing_game_setting', 'tab_')->where(['base_game_id' => $gameId])->find(); $setting = M('testing_game_setting', 'tab_')->where(['base_game_id' => $gameId])->find();

@ -54,6 +54,8 @@ class GameResource
338 => LeyouClient::class, // 混沌天决(苹果版) 338 => LeyouClient::class, // 混沌天决(苹果版)
363 => YhxxjClient::class, // 云海寻仙记(安卓版) 363 => YhxxjClient::class, // 云海寻仙记(安卓版)
364 => YhxxjClient::class, // 云海寻仙记(苹果版) 364 => YhxxjClient::class, // 云海寻仙记(苹果版)
365 => YhxxjClient::class, // 云海寻仙记2(安卓版)
366 => YhxxjClient::class, // 云海寻仙记2(苹果版)
]; ];
public function __construct($game) public function __construct($game)

@ -0,0 +1,17 @@
<?php
namespace Base\Tool\GameResource;
/**
* 云海寻仙记2-测试资源接口
*/
class YhxxjClient2 extends YhxxjClient
{
const SIGN_KEY = 'aiuh1i2349oijo3aa232423aq3215490gu34khb23';
protected $logTag = 'rebate:YHXXJ ';
protected $baseUrl = 'http://fross.jfungame.com:13996';
}

@ -342,6 +342,9 @@ class HomeController extends Controller
if(in_array($game['id'], [219, 220])) { if(in_array($game['id'], [219, 220])) {
$game['relation_game_name'] = '麻雀飞青天'; $game['relation_game_name'] = '麻雀飞青天';
} }
if(in_array($game['id'], [365, 366])) {
$game['relation_game_name'] = '云海寻仙记';
}
// dd($game); // dd($game);
$this->assign("serviceQQ", $serviceQQ); $this->assign("serviceQQ", $serviceQQ);

Loading…
Cancel
Save