Browse Source

Merge pull request 'Modify the input parameter information of some interfaces, and some fields are not required.' (#16) from zhangweiii/pcm-coordinator:v0.1.0-xjlab-alpha1 into v0.1.0-xjlab-alpha1

Former-commit-id: b2d328e8f0
v0.1.0-xjlab-alpha1
zhangweiii 1 year ago
parent
commit
16b55c27b8
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      api/desc/core/pcm-core.api
  2. +2
    -2
      api/internal/types/types.go

+ 2
- 2
api/desc/core/pcm-core.api View File

@@ -573,8 +573,8 @@ type SaveHashcatReq {
CrackEstimatedTime string `json:"crackEstimatedTime"` // 预计时间 CrackEstimatedTime string `json:"crackEstimatedTime"` // 预计时间
CrackProgress string `json:"crackProgress"` // 进度 CrackProgress string `json:"crackProgress"` // 进度
CrackResult string `json:"crackResult"` // 结果 CrackResult string `json:"crackResult"` // 结果
Started string `json:"started"` // 开始时间
Stopped string `json:"stopped"` // 结束时间
Started string `json:"started,optional"` // 开始时间
Stopped string `json:"stopped,optional"` // 结束时间
KernelFeature string `json:"kernelFeature"` KernelFeature string `json:"kernelFeature"`
HashMode string `json:"hashMode"` HashMode string `json:"hashMode"`
Rejected string `json:"rejected"` Rejected string `json:"rejected"`


+ 2
- 2
api/internal/types/types.go View File

@@ -525,8 +525,8 @@ type SaveHashcatReq struct {
CrackEstimatedTime string `json:"crackEstimatedTime"` // 预计时间 CrackEstimatedTime string `json:"crackEstimatedTime"` // 预计时间
CrackProgress string `json:"crackProgress"` // 进度 CrackProgress string `json:"crackProgress"` // 进度
CrackResult string `json:"crackResult"` // 结果 CrackResult string `json:"crackResult"` // 结果
Started string `json:"started"` // 开始时间
Stopped string `json:"stopped"` // 结束时间
Started string `json:"started,optional"` // 开始时间
Stopped string `json:"stopped,optional"` // 结束时间
KernelFeature string `json:"kernelFeature"` KernelFeature string `json:"kernelFeature"`
HashMode string `json:"hashMode"` HashMode string `json:"hashMode"`
Rejected string `json:"rejected"` Rejected string `json:"rejected"`


Loading…
Cancel
Save