2024-05-30 19:16:59 +08:00
|
|
|
|
<?php
|
|
|
|
|
/*
|
|
|
|
|
* @Author: 田老师 4021673@qq.com
|
|
|
|
|
* @Date: 2022-05-16 17:57:44
|
2024-06-04 20:43:25 +08:00
|
|
|
|
* @LastEditTime: 2024-06-04 20:39:52
|
2024-05-30 19:16:59 +08:00
|
|
|
|
* @Description: Do not edit
|
|
|
|
|
*/
|
|
|
|
|
return array(
|
|
|
|
|
//'配置项'=>'配置值'
|
|
|
|
|
'LOAD_EXT_CONFIG' => "db",
|
|
|
|
|
//更换模板变量规则,修改配置项
|
|
|
|
|
'TMPL_PARSE_STRING' => array( //添加自己的模板变量规则
|
|
|
|
|
'__DATA__' => __ROOT__ . '/Data'
|
|
|
|
|
),
|
|
|
|
|
"host" => "https://www.szdot.top/",
|
|
|
|
|
//微信配置参数
|
|
|
|
|
'weixin' => array(
|
|
|
|
|
'appid' => 'wx8347571d6893a383', //微信appid
|
|
|
|
|
'secret' => 'ac1c6f456a6451812403c75bd113f9d0', //微信secret
|
|
|
|
|
'mch_id' => '1625070753', //商户号
|
|
|
|
|
'mch_secret_key' => 'qwertyuiopasdfghjklzxcvbnm123456', //v3商户秘钥
|
2024-06-04 20:43:25 +08:00
|
|
|
|
'mch_secret_cert' => 'C:/phpstudy_pro/cert/apiclient_key.pem', //私钥
|
|
|
|
|
'mch_public_cert_path' => 'C:/phpstudy_pro/cert/apiclient_cert.pem', //公钥
|
|
|
|
|
'wechat_public_cert_path' => 'C:/phpstudy_pro/cert/wechatpay_5878026B07BD819CCC25AC95FA31AE45BB6BC0D9.pem', //微信平台公钥证书路径
|
|
|
|
|
'payLogger_path' => 'C:/phpstudy_pro/cert/logs/wechat.log', //微信支付日志路径文件
|
2024-05-30 19:16:59 +08:00
|
|
|
|
),
|
|
|
|
|
'LimitApi' => "*", //限制可以访问api的域名 通配符* 开放所有域名
|
|
|
|
|
'powerId' => '2dc23dcfecc05fb1', //主管理员的shop_id 用于权限判断
|
|
|
|
|
'jwtKey' => 'T!o@k_en', //签发 解析token的key
|
|
|
|
|
//mqtt
|
|
|
|
|
'mqtt' => array(
|
|
|
|
|
'server' => 'szdot.top', // mqtt服务器
|
|
|
|
|
'port' => 1883, // mqtt端口
|
|
|
|
|
'username' => 'admin', // mqtt用户名
|
|
|
|
|
'password' => '123456', // mqtt密码
|
|
|
|
|
'client_id' => 'phpMQTT-publisher', // client_id
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
);
|