27 lines
695 B
PHP
Executable File
27 lines
695 B
PHP
Executable File
<?php
|
|
// API模块配置
|
|
return [
|
|
# 接口允许访问的域名
|
|
'api_domains' => [
|
|
'localhost',
|
|
'127.0.0.1',
|
|
'192.168.1.56',
|
|
'test.zfunbox.cn',
|
|
'testapi.zfunbox.cn'
|
|
],
|
|
# 后台允许访问的域名
|
|
'admin_domains' => [
|
|
'localhost',
|
|
'127.0.0.1',
|
|
'192.168.1.56',
|
|
'test.zfunbox.cn',
|
|
],
|
|
// 不需要验证域名的白名单路径
|
|
'whitelist_paths' => [
|
|
'notify/*', // 支付回调等通知
|
|
'health', // 健康检查
|
|
'ping', // 服务可用性检查
|
|
'debug', // 调试接口
|
|
'wechat/callback', // 微信回调
|
|
],
|
|
]; |