diff --git a/o2o/add_store_commission.go b/o2o/add_store_commission.go index 9062aef..73ebfba 100644 --- a/o2o/add_store_commission.go +++ b/o2o/add_store_commission.go @@ -80,8 +80,8 @@ func SettleStoreCommission(eg *xorm.Engine, session *xorm.Session, args map[stri mAfterAmount := mBeforeAmount + amount // o2o_fin_user_flow 新增流水记录 var o2oFinUserFlow = model.O2oFinUserFlow{ - Uid: relate.Uid, - MerchantId: relate.Uid, + Uid: 0, + MerchantId: manager.StoreManager, StoreId: manager.Id, Type: 0, Amount: zhios_o2o_business_utils.Float64ToStrByPrec(amount, 9),