songxingwei 3 rokov pred
rodič
commit
cadf266f5b
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      application/common/library/Common.php

+ 2 - 2
application/common/library/Common.php

@@ -375,11 +375,11 @@ class Common
         $arr=[
             'touser'=>$openid,
             'mp_template_msg'=>[
-                "appid"=>Config::get_values('wechat_appid'),
+                "appid"=>Config::get_values('small_wechat_id'),
                 "template_id"=>$template_id,
                 "url"=>$path,
                 'miniprogram'=>[
-                    "appid"=>Config::get_values('small_wechat_id')
+                    "appid"=>Config::get_values('wechat_appid')
                 ],
                 'data'=>$data
             ],