多商戶-商戶端填寫云打印機編號后電子面板獲取不了,報錯:平臺錯誤:請求方法不存在,請檢查地址是否正確!的對應修復方式。
修改crmeb/services/express/storage/Express.php文件
代碼如下,可直接復制!注釋掉之前的,直接更換成下方的代碼
public function temp(string $com)
{
$param = ['com' => $com];
return $this->accessToken->httpRequest(self::EXPRESS_TEMP_V2, $param,'get',true, ['version:v1.1']);
}
public function tempV2(string $com)
{
$param = ['com' => $com];
return $this->accessToken->httpRequest(self::EXPRESS_TEMP_V2,$param,'get');
}