Compare commits

..

No commits in common. "aa640fcbff01eb55120c97d95277015371a6e3f0" and "6d0ff3468011c41897f55d623820a8753d101162" have entirely different histories.

3 changed files with 13 additions and 4 deletions

View File

@ -10,7 +10,7 @@ Ak = "ALTAKxrqOQHnAN525Tb2GX4Bhe"
Sk = "d2ecaa9d75114d3b9f42b99014198306"
BucketName = "dci-file-new"
BosUrl = ".bj.bcebos.com"
BosBaseDir = "fiee"
BosBaseDir = "fonchain-main"
BosHttp = "https://"
BosDomain = "cdns.fontree.cn"
[oss]
@ -18,7 +18,7 @@ AccessKeyId = "LTAI5tLz1fSK53FQAEC9uNSb"
AccessKeySecret = "oGB9chrQzQzITXR2IGv37Ji5WxZh4j"
Endpoint = "oss-cn-hangzhou.aliyuncs.com"
BucketName = "fontree-test"
BaseDir = "fiee"
BaseDir = "fonchain-main"
CdnHost = "https://cdn-test.szjixun.cn"
[redis]
@ -34,3 +34,12 @@ Password = "Gy.123456"
[stripe]
Webhookkey = "we_1QuursAB1Vm8VfJquKmHQSVg"
[oss]
AccessKeyId = "LTAI5tLz1fSK53FQAEC9uNSb"
AccessKeySecret = "oGB9chrQzQzITXR2IGv37Ji5WxZh4j"
Endpoint = "oss-cn-hangzhou.aliyuncs.com"
BucketName = "fontree-test"
BaseDir = "fiee"
CdnHost = "https://cdn-test.szjixun.cn"

2
go.mod
View File

@ -17,7 +17,7 @@ go 1.18
//github.com/fonchain_enterprise/utils/ipAddrQuery => ../utils/ipAddrQuery
//github.com/fonchain_enterprise/utils/jwt => ../utils/jwt
//github.com/fonchain_enterprise/utils/logger => ../utils/logger
replace github.com/fonchain_enterprise/utils/objstorage => ../utils/objstorage
replace github.com/fonchain_enterprise/utils/objstorage => ../../tyfon-/utils/objstorage
require (
dubbo.apache.org/dubbo-go/v3 v3.0.2

View File

@ -64,7 +64,7 @@ func NewRouter() *gin.Engine {
}
}
// 上传
upData := r.Group("upload")
upData := privateGroup.Group("upload")
upData.Use(middleware.CheckLogin(service.AccountProvider))
{
upData.POST("img", upload.UploadImg)