ソースを参照

配置陪护公众号

hzd 1 ヶ月 前
コミット
07abc0c57c

+ 4 - 4
application/admin/view/index/def.html

@@ -237,10 +237,10 @@
 <!--                        <img src="{:url('Qrcode/qrcode',['code'=>$xshopcode,'type'=>1])}" alt="商城客户端二维码">-->
 <!--                        <div class="title">商城客户端二维码</div>-->
 <!--                    </div>-->
-<!--                    <div class="qrcode2">-->
-<!--                        <img src="{:url('Qrcode/qrcode',['code'=>$phcode,'type'=>1])}" alt="陪护客户端二维码">-->
-<!--                        <div class="title">陪护客户端二维码</div>-->
-<!--                    </div>-->
+                    <div class="qrcode2">
+                        <img src="{:url('Qrcode/qrcode',['code'=>$phcode,'type'=>1])}" alt="陪护客户端二维码">
+                        <div class="title">陪护客户端二维码</div>
+                    </div>
 <!--                    {notempty name="wxcode"}-->
 <!--                    <div class="qrcode2">-->
 <!--                        <img src="{$wxcode}" alt="小程序二维码">-->

+ 6 - 4
config/app.php

@@ -244,11 +244,13 @@ return [
     ],*/
 
     'wx_config' => [
-        'app_id' => 'wx98c5fd5111be3125',
-        'secret' => '0f6b3f1eb5198b0e89cff977d67c3740',
+//        'app_id' => 'wx98c5fd5111be3125',
+//        'secret' => '0f6b3f1eb5198b0e89cff977d67c3740',
+        'app_id' => 'wx439b9d9527727911',
+        'secret' => '3a667f19a68cae15bd4276c7edad6346',
 
-        'mch_id' => '', // 商户号
-        'key' => '',   // API 密钥
+        'mch_id' => '1685985755', // 商户号
+        'key' => '29452e7ad4db9fb53ddc1a8ab66ecb2a',   // API 密钥  操作密码:667421
 
         // 如需使用敏感接口(如退款、发送红包等)需要配置 API 证书路径(登录商户平台下载 API 证书)
         'cert_path' => env('root_path').'public/certs/apiclient_cert.pem',

+ 1 - 0
public/MP_verify_XPMHqY7W2rDvocJL.txt

@@ -0,0 +1 @@
+XPMHqY7W2rDvocJL

BIN
public/certs/apiclient_cert.p12


+ 21 - 20
public/certs/apiclient_cert.pem

@@ -1,24 +1,25 @@
 -----BEGIN CERTIFICATE-----
-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