添加网站文件
This commit is contained in:
17
vendor/yly-openapi/yly-openapi-sdk/Lib/Api/RpcService.php
vendored
Normal file
17
vendor/yly-openapi/yly-openapi-sdk/Lib/Api/RpcService.php
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Api;
|
||||
|
||||
use App\Config\YlyConfig;
|
||||
use App\Protocol\YlyRpcClient;
|
||||
|
||||
class RpcService{
|
||||
|
||||
protected $client;
|
||||
|
||||
public function __construct($token, YlyConfig $config)
|
||||
{
|
||||
$this->client = new YlyRpcClient($token, $config);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user