修复平台代管订单流程
This commit is contained in:
@@ -63,6 +63,9 @@ func (r *Repository) TransferOwner(ctx context.Context, adminID uint64, listingI
|
||||
|
||||
beforeOwnerID := listing.OwnerID
|
||||
listing.OwnerID = target.ID
|
||||
listing.HandoffMode = "owner"
|
||||
listing.SettlementMode = "owner_wallet"
|
||||
listing.ManagedAdminID = nil
|
||||
account.OwnerID = target.ID
|
||||
if err := tx.Save(account).Error; err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user