Browse Source

超算提交任务增加token

pull/405/head
zhangwei 10 months ago
parent
commit
75df1f9938
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      internal/logic/hpc/commithpctasklogic.go

+ 1
- 0
internal/logic/hpc/commithpctasklogic.go View File

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


Loading…
Cancel
Save