分润功能log
This commit is contained in:
parent
75c65fd0f1
commit
3e481fde16
|
@ -212,11 +212,11 @@ class ShopCallController extends BaseApiController
|
||||||
// 计算分润
|
// 计算分润
|
||||||
if (!$userSelf->isEmpty()) {
|
if (!$userSelf->isEmpty()) {
|
||||||
UserLogic::userProfit($userSelf, $orderMoney, $proportion, $orderNo);
|
UserLogic::userProfit($userSelf, $orderMoney, $proportion, $orderNo);
|
||||||
$noticeUser[] = ['type' => 3, 'account' => $userSelf['account'], 'user_profit' => bcmul($orderMoney, 0.01, 2)];
|
$noticeUser[] = ['type' => 3, 'account' => $userSelf['account'], 'user_profit' => bcmul($orderMoney, 0.01)];
|
||||||
}
|
}
|
||||||
if (!$courier->isEmpty()) {
|
if (!$courier->isEmpty()) {
|
||||||
UserLogic::userProfit($courier, $orderMoney, $proportion, $orderNo);
|
UserLogic::userProfit($courier, $orderMoney, $proportion, $orderNo);
|
||||||
$noticeUser[] = ['type' => 4, 'account' => $courier['account'], 'user_profit' => bcmul($orderMoney, 0.01, 2)];
|
$noticeUser[] = ['type' => 4, 'account' => $courier['account'], 'user_profit' => bcmul($orderMoney, 0.01)];
|
||||||
}
|
}
|
||||||
|
|
||||||
$request['user'] = $noticeUser;
|
$request['user'] = $noticeUser;
|
||||||
|
|
Loading…
Reference in New Issue