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