|
@@ -240,6 +240,9 @@ class Base
|
|
|
|
|
|
if ($this->connect['sign_appsecret'] && $this->connect['sign_appsecret_location'] == 1) {
|
|
if ($this->connect['sign_appsecret'] && $this->connect['sign_appsecret_location'] == 1) {
|
|
$sign[$this->connect['sign_appsecret']] = $this->connect['appsecret'];
|
|
$sign[$this->connect['sign_appsecret']] = $this->connect['appsecret'];
|
|
|
|
+ if (isset($sign['api_product'])) {
|
|
|
|
+ $sign[$this->connect['sign_appsecret']] = sha1($this->connect['appkey'] . '|' . $this->connect['appsecret']);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
if ($this->connect['sign_sort'] == 2) {
|
|
if ($this->connect['sign_sort'] == 2) {
|