|
|
@@ -1588,7 +1588,7 @@ class wxUtil
|
|
|
public static function applySetOrderPathInfo($merchant, $isOpen = 0)
|
|
|
{
|
|
|
$accessToken = self::getMiniProgramAccessToken($merchant, $isOpen);
|
|
|
- $url = "https://api.weixin.qq.com/wxa/security/applysetorderpathinfo?component_access_token={$accessToken}";
|
|
|
+ $url = "https://api.weixin.qq.com/wxa/security/applysetorderpathinfo?access_token={$accessToken}";
|
|
|
$curl = new curl\Curl();
|
|
|
$appId = $merchant['miniAppId'] ?? '';
|
|
|
$data = [
|