创建智算任务增加token
This commit is contained in:
parent
852976b37b
commit
939f261acb
|
@ -41,7 +41,6 @@ type Config struct {
|
|||
FunctionName string
|
||||
Url string
|
||||
Type string
|
||||
MemberName string
|
||||
}
|
||||
|
||||
MinioConf struct {
|
||||
|
|
|
@ -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)},
|
||||
|
|
|
@ -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)},
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue