pb update

This commit is contained in:
Gordon
2022-08-21 23:25:39 +08:00
parent b176701e51
commit c1a2dee0e9
7 changed files with 298 additions and 452 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ func SetConversation(c *gin.Context) {
return
}
log.NewInfo(req.OperationID, utils.GetSelfFuncName(), "req: ", req)
reqPb.Conversation = &pbUser.Conversation{}
reqPb.Conversation = &pbConversation.Conversation{}
err := utils.CopyStructFields(&reqPb, req)
err = utils.CopyStructFields(reqPb.Conversation, req.Conversation)
if err != nil {