当前位置: 首页 > 工具软件 > AsGard > 使用案例 >

mercury php,mercury-asgard

韩耘豪
2023-12-01

注:程序采用配置流的思路

1:请在根目录创建.env文件

2:将下面的文字复制在.env文件中

3:根据自己的开发环境对配置项进行修改

hostname="10.206.0.8"

database="mercury"

username="root"

password="Mercury789!"

hostport="3306"

database_deploy = 0

database_debug = true

database_separate = true

app_debug = true

redis_host="10.206.0.12"

redis_port="6379"

redis_pass = "Mercury789!"

#推荐团长范围

distance = "2000"

#全局

public_api_host="http://dev.api.wukongmall.cn"

is_use_public_service="true"

#对应不同身份的域名

server_name_operators="api.zd.wukongmall.cn"

server_name_agency="api.fx.wukongmall.cn"

#底层服务配置

[CORE]

URL = "http://dev.api.wukongmall.cn"

PAY_URL = "http://dev.api.wukongmall.cn"

TIMEOUT = 40

ZIP_HOST="122.51.104.9:8000"

DATABASE="mercury"

#买家小程序支付使用此url

PAY_KEY_1 = "OPR:"

#微信公众号会h5支付使用此url

PAY_KEY_2 = "OPR:"

#账户余额提现 key

TRANSFERS_KEY = "OPR:"

#日志配置信息

[LOG]

支持FILE,SOCKET,app\LogToRedis,TYPE = "app\LogToRedis"

TYPE = "File"

PATH = ""

REMOTE_KEY = "wk_log"

REMOTE_TYPE = "test"

[WECHAT]

WX_APPID = ""

WX_SECRET = ""

APPLET_APPID = ""

APPLET_SECRET = ""

BUYER_APPLET_APPID = ""

BUYER_APPLET_SECRET = ""

#买家取货

BUYERPICKUP = ""

#注册缴费

PAYMENT = ""

#加盟通知

REGISTER = ""

#审核结果通知

REJECT = ""

#审核进度通知

PROCESSING = ""

H5_PAY = ""

#腾讯云配置

[CLOUD]

URL = "https://mercury-1301755348.file.myqcloud.com"

VIEW_URL = "https://mercury-1301755348.file.myqcloud.com"

REGION = "ap-nanjing"

APP_Id = "1301755348"

APP_NAME = "mercury"

SECRET_ID = "AKID4vTnrcCUYLr9BxkejY6MioiMq3zdmXtz"

SECRET_KEY = "OVN4WhfaDWYMvDE1mGRP5VfiWCbiX1D9"

BUCKET = "mercury-1301755348"

[SMS]

sms_app_id=

sms_app_key=

create database mercury default character set utf8mb4 collate utf8mb4_general_ci;

 类似资料:

相关阅读

相关文章

相关问答