修改佣金写入的错误
This commit is contained in:
parent
b75419a20f
commit
fe119cf1a1
@ -142,11 +142,11 @@ class CommissionDao
|
|||||||
$timestamp = time();
|
$timestamp = time();
|
||||||
$json = ['timestamp' => $timestamp, 'data' => ['order_id' => $order['order_id'], 'order_sn' => $order['order_sn'], 'order_money' => bcmul($order['pay_price'], 100), 'promotion_code' => $promotionCode]];
|
$json = ['timestamp' => $timestamp, 'data' => ['order_id' => $order['order_id'], 'order_sn' => $order['order_sn'], 'order_money' => bcmul($order['pay_price'], 100), 'promotion_code' => $promotionCode]];
|
||||||
if ($type == 3) {
|
if ($type == 3) {
|
||||||
$json['street_code'] = $promotionCode;
|
$json['data']['street_code'] = $promotionCode;
|
||||||
} elseif ($type == 4) {
|
} elseif ($type == 4) {
|
||||||
$json['courier_phone'] = $promotionCode;
|
$json['data']['courier_phone'] = $promotionCode;
|
||||||
} else {
|
} else {
|
||||||
$json['promotion_code'] = $promotionCode;
|
$json['data']['promotion_code'] = $promotionCode;
|
||||||
}
|
}
|
||||||
$aes = new \AES();
|
$aes = new \AES();
|
||||||
$iv = $aes->buildIv($timestamp);
|
$iv = $aes->buildIv($timestamp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user