支持后台转移发布所有权
This commit is contained in:
@@ -15,8 +15,8 @@ func NewListingChatCreatorAdapter() *ListingChatCreatorAdapter {
|
||||
}
|
||||
|
||||
// EnsureListingConversation 实现接口
|
||||
func (a *ListingChatCreatorAdapter) EnsureListingConversation(tx *gorm.DB, listing model.RentalListing) (uint64, error) {
|
||||
conv, err := EnsureListingConversation(tx, listing)
|
||||
func (a *ListingChatCreatorAdapter) EnsureListingConversation(tx *gorm.DB, listing model.RentalListing, supportAdminID uint64) (uint64, error) {
|
||||
conv, err := EnsureListingConversation(tx, listing, supportAdminID)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user