info
This commit is contained in:
+1
File diff suppressed because one or more lines are too long
+13
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "uni-config-center",
|
||||
"version": "0.0.3",
|
||||
"description": "配置中心",
|
||||
"main": "index.js",
|
||||
"keywords": [],
|
||||
"author": "DCloud",
|
||||
"license": "Apache-2.0",
|
||||
"origin-plugin-dev-name": "uni-config-center",
|
||||
"origin-plugin-version": "0.0.3",
|
||||
"plugin-dev-name": "uni-config-center",
|
||||
"plugin-version": "0.0.3"
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"clientAppIds": ["__UNI__EF95AB3"],
|
||||
"contentSecurity": {
|
||||
"allowCheckType": ["content", "image"]
|
||||
},
|
||||
"adConfig": {
|
||||
"securityKey": "Xxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
"watchAdUniqueType": "user"
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"passwordSecret": [{
|
||||
"type": "hmac-sha256",
|
||||
"version": 1
|
||||
}],
|
||||
"passwordStrength": "medium",
|
||||
"tokenSecret": "de1RnKNbj4cmk67QDG6a13BWttp0dH32",
|
||||
"requestAuthSecret": "",
|
||||
"tokenExpiresIn": 1209600,
|
||||
"tokenExpiresThreshold": 604800 ,
|
||||
"maxTokenLength": 10,
|
||||
"passwordErrorLimit": 6,
|
||||
"passwordErrorRetryTime": 3600,
|
||||
"autoSetInviteCode": false,
|
||||
"forceInviteCode": false,
|
||||
"idCardCertifyLimit": 1,
|
||||
"realNameCertifyLimit": 5,
|
||||
"sensitiveInfoEncryptSecret": "",
|
||||
"frvNeedAlivePhoto": false,
|
||||
"userRegisterDefaultRole": ["user"],
|
||||
"mp-weixin": {
|
||||
"tokenExpiresIn": 1209600,
|
||||
"tokenExpiresThreshold": 604800,
|
||||
"oauth": {
|
||||
"weixin": {
|
||||
"appid": "wxa31afb403815f0ac",
|
||||
"appsecret": "2264a3e337ccc5b125945516c2eba87c"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
const fs = require('fs');
|
||||
const path = require('path')
|
||||
module.exports = {
|
||||
// 统一 - 支付回调地址,格式为 "服务空间ID":"URL化地址"
|
||||
"notifyUrl": {
|
||||
"env-00jxt5y29hrd": "https://env-00jxt5y29hrd.dev-hz.cloudbasefunction.cn/uni-pay-co",
|
||||
},
|
||||
"notifyKey":"BX0PHCCD91nWbyynWjKKJ533wc9adRCf2REJcwtQF91GKtRnzWTXnB0BmmGKP1BF",
|
||||
// 微信支付相关
|
||||
"wxpay": {
|
||||
"enable": true, // 是否启用微信支付
|
||||
// 微信 - 小程序支付
|
||||
"mp": {
|
||||
"appId": "wxa31afb403815f0ac", // 小程序的appid
|
||||
"secret": "2264a3e337ccc5b125945516c2eba87c", // 小程序的secret
|
||||
"mchId": "", // 商户id
|
||||
"key": "", // v2的api key
|
||||
"pfx": fs.readFileSync(__dirname + '/wxpay/apiclient_cert.p12'), // v2需要用到的证书
|
||||
"v3Key": "", // v3的api key
|
||||
"appCertPath": path.join(__dirname, 'wxpay/apiclient_cert.pem'), // v3需要用到的证书
|
||||
"appPrivateKeyPath": path.join(__dirname, 'wxpay/apiclient_key.pem'), // v3需要用到的证书
|
||||
"wxpayPublicKeyPath": path.join(__dirname, 'wxpay/pub_key.pem'), // v3需要用到的证书 - 微信支付公钥证书(仅限开启了微信支付公钥的商户,若已开通微信支付平台证书的商户可无视此参数)
|
||||
"version": 3, // 启用支付的版本 2代表v2版本 3 代表v3版本
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user