master
elf 3 years ago
parent c3b0a426a7
commit e8d7d27c54

@ -0,0 +1,27 @@
<?php
namespace Base\Tool\GameResource;
/**
* 神灵之契-测试资源接口
*/
class SlzqClient extends XlqyClient
{
const SIGN_NAME = 'sign';
const SUCCESS = '0000';
const APP_ID = '3EA8DEF8819872EBD';
const SIGN_KEY = '9VRPE9xKDggsCscvnnQUbf6I124HWxVw';
// const APP_ID = '1E1724B3359481095'; // IOS
// const SIGN_KEY = 'gr51n39msBI71aDh45s9yXvtcaOTef5s'; // IOS
protected $baseUrl = 'http://zzghapi.hnputihd.com';
protected $logTag = 'rebate:SLZQ ';
protected $apis = [
'send-email' => ['uri' => '/apip/payWM122S00/emRebate', 'method' => 'post'],
'send-testing' => ['uri' => '/apip/payWM122S00/testingOrder', 'method' => 'post'],
'send-props' => ['uri' => '/apip/payWM122S00/buyProp', 'method' => 'post'],
];
}

@ -22,6 +22,7 @@ class XlqyClient
protected $logTag = 'rebate:XLQY ';
protected $baseUrl = 'http://xx2api.hnputihd.com';
protected $client;
protected $currentName;
@ -34,7 +35,7 @@ class XlqyClient
public function __construct($game = null)
{
$this->client = new Client([
'base_uri' => 'http://xx2api.hnputihd.com',
'base_uri' => $this->baseUrl,
'timeout' => 10.0,
]);
}

Loading…
Cancel
Save