@ -85,7 +85,7 @@ class Wholesaler
$url = "https://api.weixin.qq.com/wxa/security/applysetorderpathinfo?component_access_token=$token";
$result = $this->curlPost($url, json_encode($data));
$result = json_decode($result, true);
return !empty($result['errcode']) ? $result['errcode'] : $msg;
return !empty($result['errmsg']) ? $result['errmsg'] : $msg;
}
public function getStableAccessToken()