Merge branch 'main' of http://192.168.12.3:8090/bugmaker/fonchain-artistinfo
This commit is contained in:
commit
f39da17ec6
@ -17,6 +17,9 @@ import (
|
||||
func main() {
|
||||
fmt.Println("第一处")
|
||||
config.SetProviderService(&controller.ArtistInfoProvider{})
|
||||
config.SetProviderService(&controller.ContractProvider{})
|
||||
config.SetProviderService(&controller.ArtWorkProvider{})
|
||||
config.SetProviderService(&controller.SupplyProvider{})
|
||||
db.Init(m.SERVER_CONFIG)
|
||||
cache.InitRedis(m.SERVER_CONFIG)
|
||||
if err := config.Load(); err != nil {
|
||||
|
@ -12,21 +12,21 @@ dubbo:
|
||||
protocols:
|
||||
triple: #triple
|
||||
name: tri
|
||||
port: 20004
|
||||
port: 20016
|
||||
provider:
|
||||
services:
|
||||
ArtistProvider:
|
||||
interface: com.fontree.microservices.common.Artist
|
||||
ArtistInfoProvider:
|
||||
interface: com.fontree.microservices.common.ArtistInfo
|
||||
retries: 0
|
||||
ContractProvider:
|
||||
interface: com.fontree.microservices.common.Contract
|
||||
retries: 0
|
||||
ArtWorkProvider:
|
||||
interface: com.fontree.microservices.common.ArtWork
|
||||
retries: 0
|
||||
SupplyProvider:
|
||||
interface: com.fontree.microservices.common.Supply
|
||||
retries: 0
|
||||
# filter: myServerFilter
|
||||
# application: "1234"
|
||||
filter: tps
|
||||
tps.limiter: method-service
|
||||
tps.limit.strategy: fixedWindow
|
||||
tps.limit.rejected.handler: DefaultValueHandler
|
||||
tps.limit.interval: 1000
|
||||
tps.limit.rate: 3
|
||||
warmup: 100 #预热时间
|
||||
logger:
|
||||
zap-config:
|
||||
level: info # 日志级别
|
||||
|
@ -1,18 +0,0 @@
|
||||
# endorseService Info
|
||||
# testNet addrs
|
||||
endorseServiceHost: "39.156.69.83:37100"
|
||||
complianceCheck:
|
||||
# 是否需要进行合规性背书
|
||||
isNeedComplianceCheck: false
|
||||
# 是否需要支付合规性背书费用
|
||||
isNeedComplianceCheckFee: false
|
||||
# 合规性背书费用
|
||||
complianceCheckEndorseServiceFee: 400
|
||||
# 支付合规性背书费用的收款地址
|
||||
complianceCheckEndorseServiceFeeAddr: aB2hpHnTBDxko3UoP2BpBZRujwhdcAFoT
|
||||
# 如果通过合规性检查,签发认证签名的地址
|
||||
complianceCheckEndorseServiceAddr: jknGxa6eyum1JrATWvSJKW3thJ9GKHA9n
|
||||
#创建平行链所需要的最低费用
|
||||
minNewChainAmount: "100"
|
||||
crypto: "xchain"
|
||||
txVersion: 1
|
@ -1,18 +0,0 @@
|
||||
# endorseService Info
|
||||
# testNet addrs
|
||||
endorseServiceHost: "14.215.179.74:37101"
|
||||
complianceCheck:
|
||||
# 是否需要进行合规性背书
|
||||
isNeedComplianceCheck: true
|
||||
# 是否需要支付合规性背书费用
|
||||
isNeedComplianceCheckFee: true
|
||||
# 合规性背书费用
|
||||
complianceCheckEndorseServiceFee: 100
|
||||
# 支付合规性背书费用的收款地址
|
||||
complianceCheckEndorseServiceFeeAddr: cHvBK1TTB52GYtVxHK7HnW8N9RTqkN99R
|
||||
# 如果通过合规性检查,签发认证签名的地址
|
||||
complianceCheckEndorseServiceAddr: XDxkpQkfLwG6h56e896f3vBHhuN5g6M9u
|
||||
#创建平行链所需要的最低费用
|
||||
minNewChainAmount: "100"
|
||||
crypto: "xchain"
|
||||
txVersion: 1
|
@ -1,18 +0,0 @@
|
||||
# endorseService Info
|
||||
# testNet addrs
|
||||
# endorseServiceHost: "120.48.24.223:37101"
|
||||
endorseServiceHost: "127.0.0.1:37101"
|
||||
complianceCheck:
|
||||
# 是否需要进行合规性背书
|
||||
isNeedComplianceCheck: false
|
||||
# 是否需要支付合规性背书费用
|
||||
isNeedComplianceCheckFee: false
|
||||
# 合规性背书费用
|
||||
complianceCheckEndorseServiceFee: 400
|
||||
# 支付合规性背书费用的收款地址
|
||||
complianceCheckEndorseServiceFeeAddr: WwLgfAatHyKx2mCJruRaML4oVf7Chzp42
|
||||
# 如果通过合规性检查,签发认证签名的地址
|
||||
complianceCheckEndorseServiceAddr: WwLgfAatHyKx2mCJruRaML4oVf7Chzp42
|
||||
#创建平行链所需要的最低费用
|
||||
minNewChainAmount: "100"
|
||||
crypto: "xchain"
|
@ -3,15 +3,15 @@ mode = prod #正式prod #测试dev
|
||||
|
||||
[mysql]
|
||||
Db = mysql
|
||||
DbHost = 192.168.1.35
|
||||
DbPort = 9005
|
||||
DbUser = root
|
||||
DbPassWord = sLl0b7stlbwvZ883TV
|
||||
DbArtist = artist
|
||||
DbHost = mysql
|
||||
DbPort = 3306
|
||||
DbUser = fonchain
|
||||
DbPassWord = C250PflXIWv2SQm
|
||||
DbName = artistmgmt
|
||||
|
||||
[redis]
|
||||
RedisDB = 2
|
||||
RedisAddr = 192.168.1.35:6379
|
||||
RedisAddr = redis:6379
|
||||
RedisPW =
|
||||
RedisDBNAme =
|
||||
|
||||
|
@ -3,30 +3,34 @@ dubbo:
|
||||
enable: true # default is true
|
||||
path: /metrics # default is /metrics
|
||||
port: 9091 # default is 9090
|
||||
namespace: dubboArtist # default is dubbo 作为数据上报 metrics 的前缀
|
||||
namespace: dubboArtist # default is dubbo 作为数据上报 metrics 的前
|
||||
registries:
|
||||
demoZK:
|
||||
protocol: zookeeper
|
||||
timeout: 3s
|
||||
address: 192.168.1.35:2181
|
||||
# address: 127.0.0.1:2181
|
||||
# address: 121.229.45.214:9004
|
||||
# address: 114.218.158.24:2181
|
||||
address: 172.16.100.93:2181
|
||||
protocols:
|
||||
triple: #triple
|
||||
name: tri
|
||||
port: 20004
|
||||
# ip: 121.229.45.214
|
||||
port: 20016
|
||||
provider:
|
||||
services:
|
||||
ArtistProvider:
|
||||
interface: com.fontree.microservices.common.Artist
|
||||
ArtistInfoProvider:
|
||||
interface: com.fontree.microservices.common.ArtistInfo
|
||||
retries: 0
|
||||
ContractProvider:
|
||||
interface: com.fontree.microservices.common.Contract
|
||||
retries: 0
|
||||
ArtWorkProvider:
|
||||
interface: com.fontree.microservices.common.ArtWork
|
||||
retries: 0
|
||||
SupplyProvider:
|
||||
interface: com.fontree.microservices.common.Supply
|
||||
retries: 0
|
||||
filter: tps
|
||||
# token: "dubbo"
|
||||
# application: "1234"
|
||||
tps.limiter: method-service
|
||||
tps.limit.strategy: fixedWindow
|
||||
tps.limit.rejected.handler: DefaultValueHandler
|
||||
tps.limit.interval: 1000
|
||||
tps.limit.rate: 3
|
||||
warmup: 100 #预热时间
|
||||
logger:
|
||||
zap-config:
|
||||
level: info # 日志级别
|
||||
|
@ -1,18 +0,0 @@
|
||||
# endorseService Info
|
||||
# testNet addrs
|
||||
endorseServiceHost: "39.156.69.83:37100"
|
||||
complianceCheck:
|
||||
# 是否需要进行合规性背书
|
||||
isNeedComplianceCheck: false
|
||||
# 是否需要支付合规性背书费用
|
||||
isNeedComplianceCheckFee: false
|
||||
# 合规性背书费用
|
||||
complianceCheckEndorseServiceFee: 400
|
||||
# 支付合规性背书费用的收款地址
|
||||
complianceCheckEndorseServiceFeeAddr: aB2hpHnTBDxko3UoP2BpBZRujwhdcAFoT
|
||||
# 如果通过合规性检查,签发认证签名的地址
|
||||
complianceCheckEndorseServiceAddr: jknGxa6eyum1JrATWvSJKW3thJ9GKHA9n
|
||||
#创建平行链所需要的最低费用
|
||||
minNewChainAmount: "100"
|
||||
crypto: "xchain"
|
||||
txVersion: 1
|
@ -1,18 +0,0 @@
|
||||
# endorseService Info
|
||||
# testNet addrs
|
||||
endorseServiceHost: "14.215.179.74:37101"
|
||||
complianceCheck:
|
||||
# 是否需要进行合规性背书
|
||||
isNeedComplianceCheck: true
|
||||
# 是否需要支付合规性背书费用
|
||||
isNeedComplianceCheckFee: true
|
||||
# 合规性背书费用
|
||||
complianceCheckEndorseServiceFee: 100
|
||||
# 支付合规性背书费用的收款地址
|
||||
complianceCheckEndorseServiceFeeAddr: cHvBK1TTB52GYtVxHK7HnW8N9RTqkN99R
|
||||
# 如果通过合规性检查,签发认证签名的地址
|
||||
complianceCheckEndorseServiceAddr: XDxkpQkfLwG6h56e896f3vBHhuN5g6M9u
|
||||
#创建平行链所需要的最低费用
|
||||
minNewChainAmount: "100"
|
||||
crypto: "xchain"
|
||||
txVersion: 1
|
@ -1,18 +0,0 @@
|
||||
# endorseService Info
|
||||
# testNet addrs
|
||||
# endorseServiceHost: "120.48.24.223:37101"
|
||||
endorseServiceHost: "127.0.0.1:37101"
|
||||
complianceCheck:
|
||||
# 是否需要进行合规性背书
|
||||
isNeedComplianceCheck: false
|
||||
# 是否需要支付合规性背书费用
|
||||
isNeedComplianceCheckFee: false
|
||||
# 合规性背书费用
|
||||
complianceCheckEndorseServiceFee: 400
|
||||
# 支付合规性背书费用的收款地址
|
||||
complianceCheckEndorseServiceFeeAddr: WwLgfAatHyKx2mCJruRaML4oVf7Chzp42
|
||||
# 如果通过合规性检查,签发认证签名的地址
|
||||
complianceCheckEndorseServiceAddr: WwLgfAatHyKx2mCJruRaML4oVf7Chzp42
|
||||
#创建平行链所需要的最低费用
|
||||
minNewChainAmount: "100"
|
||||
crypto: "xchain"
|
@ -3,11 +3,11 @@ mode = dev #正式prod #测试dev
|
||||
|
||||
[mysql]
|
||||
Db = mysql
|
||||
DbHost = 172.16.100.99 #214
|
||||
DbHost = 121.229.45.214
|
||||
DbPort = 9007
|
||||
DbUser = artuser
|
||||
DbPassWord = "C250PflXIWv2SQm8"
|
||||
DbArtist = artist
|
||||
DbName = artistmgmt
|
||||
|
||||
[redis]
|
||||
RedisDB = 2
|
||||
|
@ -16,21 +16,21 @@ dubbo:
|
||||
triple: #triple
|
||||
name: tri
|
||||
# ip: 121.229.45.214
|
||||
port: 20004
|
||||
port: 20016
|
||||
provider:
|
||||
services:
|
||||
ArtistProvider:
|
||||
interface: com.fontree.microservices.common.Artist
|
||||
ArtistInfoProvider:
|
||||
interface: com.fontree.microservices.common.ArtistInfo
|
||||
retries: 0
|
||||
ContractProvider:
|
||||
interface: com.fontree.microservices.common.Contract
|
||||
retries: 0
|
||||
ArtWorkProvider:
|
||||
interface: com.fontree.microservices.common.ArtWork
|
||||
retries: 0
|
||||
SupplyProvider:
|
||||
interface: com.fontree.microservices.common.Supply
|
||||
retries: 0
|
||||
filter: tps
|
||||
# token: "dubbo"
|
||||
# application: "1234"
|
||||
tps.limiter: method-service
|
||||
tps.limit.strategy: fixedWindow
|
||||
tps.limit.rejected.handler: DefaultValueHandler
|
||||
tps.limit.interval: 1000
|
||||
tps.limit.rate: 3
|
||||
warmup: 100 #预热时间
|
||||
logger:
|
||||
zap-config:
|
||||
level: info # 日志级别
|
||||
|
@ -1,18 +0,0 @@
|
||||
# endorseService Info
|
||||
# testNet addrs
|
||||
endorseServiceHost: "39.156.69.83:37100"
|
||||
complianceCheck:
|
||||
# 是否需要进行合规性背书
|
||||
isNeedComplianceCheck: false
|
||||
# 是否需要支付合规性背书费用
|
||||
isNeedComplianceCheckFee: false
|
||||
# 合规性背书费用
|
||||
complianceCheckEndorseServiceFee: 400
|
||||
# 支付合规性背书费用的收款地址
|
||||
complianceCheckEndorseServiceFeeAddr: aB2hpHnTBDxko3UoP2BpBZRujwhdcAFoT
|
||||
# 如果通过合规性检查,签发认证签名的地址
|
||||
complianceCheckEndorseServiceAddr: jknGxa6eyum1JrATWvSJKW3thJ9GKHA9n
|
||||
#创建平行链所需要的最低费用
|
||||
minNewChainAmount: "100"
|
||||
crypto: "xchain"
|
||||
txVersion: 1
|
@ -1,18 +0,0 @@
|
||||
# endorseService Info
|
||||
# testNet addrs
|
||||
endorseServiceHost: "14.215.179.74:37101"
|
||||
complianceCheck:
|
||||
# 是否需要进行合规性背书
|
||||
isNeedComplianceCheck: true
|
||||
# 是否需要支付合规性背书费用
|
||||
isNeedComplianceCheckFee: true
|
||||
# 合规性背书费用
|
||||
complianceCheckEndorseServiceFee: 100
|
||||
# 支付合规性背书费用的收款地址
|
||||
complianceCheckEndorseServiceFeeAddr: cHvBK1TTB52GYtVxHK7HnW8N9RTqkN99R
|
||||
# 如果通过合规性检查,签发认证签名的地址
|
||||
complianceCheckEndorseServiceAddr: XDxkpQkfLwG6h56e896f3vBHhuN5g6M9u
|
||||
#创建平行链所需要的最低费用
|
||||
minNewChainAmount: "100"
|
||||
crypto: "xchain"
|
||||
txVersion: 1
|
@ -1,18 +0,0 @@
|
||||
# endorseService Info
|
||||
# testNet addrs
|
||||
# endorseServiceHost: "120.48.24.223:37101"
|
||||
endorseServiceHost: "127.0.0.1:37101"
|
||||
complianceCheck:
|
||||
# 是否需要进行合规性背书
|
||||
isNeedComplianceCheck: false
|
||||
# 是否需要支付合规性背书费用
|
||||
isNeedComplianceCheckFee: false
|
||||
# 合规性背书费用
|
||||
complianceCheckEndorseServiceFee: 400
|
||||
# 支付合规性背书费用的收款地址
|
||||
complianceCheckEndorseServiceFeeAddr: WwLgfAatHyKx2mCJruRaML4oVf7Chzp42
|
||||
# 如果通过合规性检查,签发认证签名的地址
|
||||
complianceCheckEndorseServiceAddr: WwLgfAatHyKx2mCJruRaML4oVf7Chzp42
|
||||
#创建平行链所需要的最低费用
|
||||
minNewChainAmount: "100"
|
||||
crypto: "xchain"
|
Loading…
Reference in New Issue
Block a user