ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
```shell # 后台管理地址 BhBackgroundDomain="https://www.baidu.com/" # gateway ServerGatewayHost= ServerGatewayPort=8201 ServerMode=test /release # API # 代理前缀 /api-web BhGatewayAPIDomain=https://www.baidu.com/CreatePayment.html BhGatewayAPIHost= BhGatewayAPIPort=8092 # resolver #BhServerResolverSchema=ant_server BhServerResolverSchema=bc_server BhServerName=bc_mall BhServerETCDAliveTTL=5 # auth BhServerAuthEnable=false # schedules BhServerSchedulesEnable=true #开启api验证 BhCheckEncryptEnable=false # mysql BhDatabaseDriver=mysql BhDatabaseUsername=root BhDatabasePassword="123456" BhDatabaseHost=172.16.3.40 BhDatabasePort=3306 BhDatabaseDBName=#数据库名 BhDatabaseParameters="charset=utf8mb4&timeout=30s&loc=Local&autocommit=true" # mysql options BhDatabaseOrmDebug=true BhDatabaseTablePrefix=t_ BhDatabaseMaxOpenConn=0 BhDatabaseMaxIdleConn=10 BhDatabaseConnMaxLifetime=0s # etcd BhETCDEndpoints=172.16.3.52:2379 #注意使用docker容器,IP不要127.0.0.1或者localhost,而应该是宿主机IP,不然获取到是容器虚拟IP就会连接不上,其它也类似。 BhETCDDialTimeout=3s # ssl ServerSSLEnable=false ServerSSLCaFile= ServerSSLCertFile=config/server.pem ServerSSLKeyFile=config/server.key ServerSSLServerName=test.com # gateway BhGatewaySSLEnable=false BhGatewaySSLCaFile= BhGatewaySSLCertFile=config/server.pem BhGatewaySSLKeyFile=config/server.key BhGatewaySSLServerName=bc_mall.test # Encrypt,秘钥必须是32位,偏移量必须是16位 EncryptEnable=true AntEncryptKey="A***********yUR" AntEncryptIv = "76T***********p" # 钱包加密,秘钥必须是32位,偏移量必须是16位 WalletEncryptKey=nQ***********1 WalletEncryptIv=Bc***********P #wechat mini app BhWxMiniAppId=wx************f6 BhWxMiniAppSecret=b6************b8 BhWxPublicAppId=wx7************d BhWxPublicAppSecret=e************6 # wechat merchant BhMacId=15************21 BhApiKey=4ED************888 #BhWxAppId=wx00c00000b61b1004 #BhWxAppSecret=00000000000000000000000000000000 #保存图片路径可保存子服务器上或者阿里云oss或者亚马逊S3等对象存储 BhUploadDestination=local #local BhLocalHost=http://172.16.3.52:8200/ #普通用户上传视频最大40M BhUploadVideoMax=40 #VIP用户上传视频最大55M # upload : ali-oss / aws-s3 # 不填默认 ali-oss BhUploadDestination="ali-oss" #oss BhOssAccessKeyId=LT************h0 BhOssAccessKeySecret=Uj4k**********o7s0Kt BhOssEndpoint=https://oss-cn-shenzhen.aliyuncs.com BhOssHost=https://bucket.oss-cn-shenzhen.aliyuncs.com BhOssCdn=https://bucket.oss-cn-shenzhen.aliyuncs.com BhOssBucket=bucket # aws s3 BHAwsS3Region="ap-southeast-1" BHAwsS3Endpoint="s3.ap-southeast-1.amazonaws.com" BHAwsS3Username="admins3" BHAwsS3SecretId="AKIARFKGOHD3EDJEXOQM" BHAwsS3SecretKey="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" BHAwsS3Token= BHAwsS3Bucket="antmall" BHAwsS3SubDir="" BHAwsS3Domain="https://antmall.s3-ap-southeast-1.amazonaws.com/" #短信验证,根据第三方接口配置选择 # sms : 5c.com.cn / www.yunpian.com BhSmsDomain="www.yunpian.com" # 短信有效期,单位:时(h)/分(m)/秒(s) BhSmsExpire=5m # 是否真正的发送验证吗 BhSmsEnable=false # 5c.com.cn Bh5cEndpoint="http://m.5c.com.cn/api/send/index.php" Bh5cUsername= Bh5cPassword= Bh5cApiKey= Bh5cCallbackURL= Bh5cCodeTemplate="您的验证码为:#code#。" Bh5cCodeTemplateFormat="#code#" # www.yunpian.com BhYpEndpoint="https://sms.yunpian.com/v2/sms/single_send.json" BhYpApiKey=*************** BhYpCallbackURL= BhYpCodeTemplate="【美团外卖】您的验证码是#code#。如非本人操作,请忽略本短信" BhYpCodeTemplateFormat="#code#" #alipay-test #BhAlipayAppId=0000000000000000 #alipay BhAlipayAppId = "2019052265279917" BhAlipayPublicKey = "***" BhAlipayPrivateKey = "***" # redis BhRedisAddress=172.16.3.52:6379 BhRedisPassWord="123456" BhRedisDB=2 #BhRedisAddress=172.16.3.52:6379 #BhRedisPassWord="123456" #BhRedisDB=1 # eth 测试节点 BhEthEndpoint=https://ropsten.infura.io/v3/cbc1dd8f85c7493ea16449f2ebe47eed # 测试链 #ETH正式节点 #BhEthEndpoint=https://mainnet.infura.io BhEthDataDir="tmp/eth-datadir" BhEthKeystoreDir="tmp/eth-keystore" # eth 测试环境 chainid:在admin.nodeInfo中查找 BhEthTest=true BhEthTestAddress=0xd**********************d2cd33a7bb BhEthTestAddressPrivate=c5a99ec******************************6c9598386 #usdt 测试地址 UsdtRec20TokenAddress='0xC7cE*****************************171C8F' UsdtTest=true UsdtTestAddress=0x0*****************************eEd UserTestAddressPrivate=c5*****************************6c9598386 # BME 测试地址 BMERec20TokenAddress = '0xB*****************************67' #钱包加密 WalletEncryptKey=U0L*****************************aW4ifQ WalletEncryptIv=Jm*****************************yMj #平台币 StRec20TokenAddress='0x58*****************************9A' BhEthBlockHost="https://api-ropsten.etherscan.io" # 中币行情 zb.com/api # 如果API请求变的慢,请打开上面网站,查看最新的URL # 示例 usdt->人民币 :http://api.zb.plus/data/v1/ticker?market=usdt_qc # 示例 btc->usdt :http://api.zb.live/data/v1/ticker?market=btc_usdt BhCoinTickerApiUrlZb=http://api.zb.live/data/v1/ticker # 旷视 实名认证 FacePlusPlusOCRAPIKey=zTk******************************y_EZ8 FacePlusPlusOCRAPISecret=w9******************************kl FacePlusPlusOCRAPIUrl=https://api-cn.faceplusplus.com/cardpp/v1/ocridcard FacePlusPlusOCRIsSevere=false ```