创建智算任务增加token

This commit is contained in:
zhangwei 2025-01-02 18:47:45 +08:00
parent 852976b37b
commit 939f261acb
3 changed files with 0 additions and 3 deletions

View File

@ -41,7 +41,6 @@ type Config struct {
FunctionName string
Url string
Type string
MemberName string
}
MinioConf struct {

View File

@ -142,7 +142,6 @@ func (l *CommitGeneralTaskLogic) CommitGeneralTask(req *types.GeneralTaskReq) er
Url: l.svcCtx.Config.BlockChain.Url,
ContractAddress: l.svcCtx.Config.BlockChain.ContractAddress,
FunctionName: l.svcCtx.Config.BlockChain.FunctionName,
MemberName: l.svcCtx.Config.BlockChain.MemberName,
Type: l.svcCtx.Config.BlockChain.Type,
Token: req.Token,
Args: []string{strconv.FormatInt(taskModel.Id, 10), string(bytes)},

View File

@ -124,7 +124,6 @@ func (l *CommitHpcTaskLogic) CommitHpcTask(req *types.CommitHpcTaskReq) (resp *t
Url: l.svcCtx.Config.BlockChain.Url,
ContractAddress: l.svcCtx.Config.BlockChain.ContractAddress,
FunctionName: l.svcCtx.Config.BlockChain.FunctionName,
MemberName: l.svcCtx.Config.BlockChain.MemberName,
Type: l.svcCtx.Config.BlockChain.Type,
Args: []string{strconv.FormatInt(taskModel.Id, 10), string(bytes)},
})