Browse Source

sunguidong

zhangguidong 2 years ago
parent
commit
3cd131c309
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/admin/controller/Goodorder.php

+ 2 - 2
application/admin/controller/Goodorder.php

@@ -95,8 +95,8 @@ class Goodorder extends Backend
                     'app_id' => 'wxdc450b7c5d0a0f80',
                     'mch_id' => '1635096198',
                     'key' => 'e3NkU3L7vmz84H92kfKT5d9qBCOmvdEB',    // API v2 密钥 (注意: 是v2密钥 是v2密钥 是v2密钥)
-                    'cert_path'          => common_url().'/cert/apiclient_cert.pem', // XXX: 绝对路径!!!!
-                    'key_path'           => common_url().'/cert/apiclient_key.pem',      // XXX: 绝对路径!!!
+                    'cert_path'          => ROOT_PATH.'public/cert/apiclient_cert.pem', // XXX: 绝对路径!!!!
+                    'key_path'           => ROOT_PATH.'public/cert/apiclient_key.pem',      // XXX: 绝对路径!!!
                     'notify_url' => common_url() . '/api/Notice/tableware_notify',     // 你也可以在下单时单独设置来想覆盖它
                 ];