添加用户缓存及更新,添加配置文件增删改查接口,添加文件功能.添加配置文件添加请求
This commit is contained in:
parent
f1695df463
commit
5a3f899772
|
|
@ -205,7 +205,7 @@ func (c *ConfigFileService) SearchOneConfigFile(req *proto.ConfigFileReq, userId
|
||||||
if err2 != nil {
|
if err2 != nil {
|
||||||
return []proto.SearchOneConfigFileResp{}, err2
|
return []proto.SearchOneConfigFileResp{}, err2
|
||||||
}
|
}
|
||||||
resp := []proto.SearchOneConfigFileResp{{ID: config_file.ID, FileName: config_file.FileName, Content: string(content), CreatedAt: config_file.CreatedAt, UpdatedAt: config_file.UpdatedAt}}
|
resp := []proto.SearchOneConfigFileResp{{ID: config_file.ID, FilePath: config_file.FilePath, FileName: config_file.FileName, Content: string(content), CreatedAt: config_file.CreatedAt, UpdatedAt: config_file.UpdatedAt}}
|
||||||
return resp, nil
|
return resp, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue