调用代码为:$this->resourceClient = $this->client->resource;
这是client的 public $client = null;
private $serverUrl = null;
public function __construct(){
$resGatewayUrl= RES_SERVICE_URL;
$this->logger = Logger::getInstance();
$this->serverUrl = $resGatewayUrl;
$this->client = new ResourceServiceClient(CLIENT_APP_NAME, CLIENT_APP_SECRET);
$this->client->set_host($this->serverUrl);
} 这是ResourceServiceClient 中所有的属性和方法:
里面并没有resource属性,请问这是为什么?
这是client的 public $client = null;
private $serverUrl = null;
public function __construct(){
$resGatewayUrl= RES_SERVICE_URL;
$this->logger = Logger::getInstance();
$this->serverUrl = $resGatewayUrl;
$this->client = new ResourceServiceClient(CLIENT_APP_NAME, CLIENT_APP_SECRET);
$this->client->set_host($this->serverUrl);
} 这是ResourceServiceClient 中所有的属性和方法:
里面并没有resource属性,请问这是为什么?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货