Browse Source

update

master
DengBiao 2 years ago
parent
commit
ca37a924e6
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      internal/business/comm/cloud_upload.go
  2. +1
    -1
      test/tcp_conn/main.go

+ 1
- 1
internal/business/comm/cloud_upload.go View File

@@ -17,7 +17,7 @@ func (*cloudUpload) FileReqUpload(ctx context.Context, uid, dirName, fName strin


callbackUrl := svc.SysCfgGet("-1", "cloud_file_upload_call_back_url") callbackUrl := svc.SysCfgGet("-1", "cloud_file_upload_call_back_url")
fileBucketHost := svc.SysCfgGet(masterId, "file_bucket_host") fileBucketHost := svc.SysCfgGet(masterId, "file_bucket_host")
fileBucketScheme := svc.SysCfgGet(masterId, "file_bucket_scheme")
fileBucketScheme := svc.SysCfgGet("-1", "file_bucket_scheme")


callbackUrl = fmt.Sprintf(callbackUrl, masterId, fileBucketHost, fileBucketScheme) callbackUrl = fmt.Sprintf(callbackUrl, masterId, fileBucketHost, fileBucketScheme)




+ 1
- 1
test/tcp_conn/main.go View File

@@ -87,7 +87,7 @@ func (c *TcpClient) SignIn() {
signIn := pb.SignInInput{ signIn := pb.SignInInput{
UserId: c.UserId, UserId: c.UserId,
DeviceId: c.DeviceId, DeviceId: c.DeviceId,
Token: "GPFMVIWQKIKLLPHMDYECZJONPCAAKUWKMNGXRTSP",
Token: "LGTMCTLHAUBHNPBHSYWRIUDPGMXHUEFNAKLYZMTD",
} }
c.Output(pb.PackageType_PT_SIGN_IN, time.Now().UnixNano(), &signIn) c.Output(pb.PackageType_PT_SIGN_IN, time.Now().UnixNano(), &signIn)
} }


Loading…
Cancel
Save