lvhao 4 weeks ago
parent
commit
35e84f7ac0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/CoreApp/controllers/Shop.php

+ 1 - 1
core/CoreApp/controllers/Shop.php

@@ -339,7 +339,7 @@ class Shop extends Start_Controller {
 			$tokenUrl = 'https://api.aliexpress.com/rest/token';
 			$tokenUrl = 'https://api.aliexpress.com/rest/token';
 			$postData = [
 			$postData = [
 				'grant_type'    => 'authorization_code',
 				'grant_type'    => 'authorization_code',
-				'client_id'     => $$setting['appkey'],
+				'client_id'     => $setting['appkey'],
 				'client_secret' => $setting['secret'],
 				'client_secret' => $setting['secret'],
 				'code'          => $code,
 				'code'          => $code,
 				'redirect_uri'  => 'http://'.$_SERVER['HTTP_HOST'].'/shop/code'
 				'redirect_uri'  => 'http://'.$_SERVER['HTTP_HOST'].'/shop/code'