修改部分枚举字段的编号与注释确保 0 值的正确语义
This commit is contained in:
@@ -84,14 +84,14 @@ func main() {
|
||||
ClientSecret: string(testSecret),
|
||||
GrantClient: true,
|
||||
GrantRefresh: true,
|
||||
Spec: 0,
|
||||
Spec: 3,
|
||||
Name: "默认客户端",
|
||||
}, &m.Client{
|
||||
ClientID: "tasks",
|
||||
ClientSecret: string(tasksSecret),
|
||||
GrantClient: true,
|
||||
GrantRefresh: true,
|
||||
Spec: 0,
|
||||
Spec: 3,
|
||||
Name: "异步任务处理服务",
|
||||
})
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user