更新调货详情
This commit is contained in:
parent
7ba9772db9
commit
55fc4563a8
@ -283,8 +283,9 @@ class CommunityRepository extends BaseRepository
|
||||
$data['is_fans'] = $is_fans;
|
||||
if ($data['is_type'] == self::COMMUNITY_TYPE_RESALE) {
|
||||
$data['total_price'] = '0';
|
||||
foreach ($data['resale'] as $value) {
|
||||
foreach ($data['resale'] as $k=>$value) {
|
||||
$data['total_price'] = bcadd($data['total_price'], bcmul($value['price'], $value['number'], 2), 2);
|
||||
$data['resale'][$k]['attr'] = '123';
|
||||
}
|
||||
$data['mer_avatar'] = '';
|
||||
$data['mer_name'] = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user