This commit is contained in:
@@ -42,12 +42,13 @@ func (c *TitleController) Get(ctx context.Context, req *GetReq) (res *cool.BaseR
|
||||
for _, v := range alltitile {
|
||||
tt := TitleRes{
|
||||
|
||||
ID: v,
|
||||
Name: titles[v].Name,
|
||||
ID: v,
|
||||
}
|
||||
if titles[v].Remark != nil {
|
||||
tt.Desc = *titles[v].Remark
|
||||
info := titles[v]
|
||||
if info.Remark != nil {
|
||||
tt.Desc = *info.Remark
|
||||
}
|
||||
tt.Name = info.Name
|
||||
ret = append(ret, tt)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user