feat(tenant): 增加双站共享货架与跨站下单
This commit is contained in:
@@ -70,7 +70,9 @@ func (r *Repository) TransferOwner(ctx context.Context, adminID uint64, listingI
|
||||
listing.HandoffMode = "owner"
|
||||
listing.SettlementMode = "owner_wallet"
|
||||
listing.ManagedAdminID = nil
|
||||
listing.SourceTenantID = target.TenantID
|
||||
account.OwnerID = target.ID
|
||||
account.SourceTenantID = target.TenantID
|
||||
if err := tx.Save(account).Error; err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user