...
|
...
|
@@ -1008,7 +1008,7 @@ func (service OrderInfoService) UpdateBonusByGoodNumber(orderId int64, goodId in |
|
|
orderBonuSrv.Subscribe(&subscriber.OrderLogSubscriber{
|
|
|
TransactionContext: transactionContext.(*transaction.TransactionContext),
|
|
|
})
|
|
|
err = orderBonuSrv.UpdateBounsByGoodNumber(orderId, goodId, adminId, goodNumber, reason)
|
|
|
err = orderBonuSrv.UpdateBounsByGoodNumber(orderId, adminId, goodId, goodNumber, reason)
|
|
|
if err != nil {
|
|
|
return lib.ThrowError(lib.INTERNAL_SERVER_ERROR, err.Error())
|
|
|
}
|
...
|
...
|
@@ -1043,7 +1043,7 @@ func (service OrderInfoService) UpdateBonusByPartnerBonusPercent(orderId int64, |
|
|
orderBonuSrv.Subscribe(&subscriber.OrderLogSubscriber{
|
|
|
TransactionContext: transactionContext.(*transaction.TransactionContext),
|
|
|
})
|
|
|
err = orderBonuSrv.UpdateBounsByPartnerBonusPercent(orderId, goodId, adminId, percent, reason)
|
|
|
err = orderBonuSrv.UpdateBounsByPartnerBonusPercent(orderId, adminId, goodId, percent, reason)
|
|
|
if err != nil {
|
|
|
return lib.ThrowError(lib.INTERNAL_SERVER_ERROR, err.Error())
|
|
|
}
|
...
|
...
|
|