rabin 1 年之前
父节点
当前提交
8dfbcf986b
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/bao/connect/lib/Func/Base.php

+ 3 - 0
src/bao/connect/lib/Func/Base.php

@@ -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) {