| | |
| | | $money = sprintf('%.2f',$data['team_money']); |
| | | $remark .= "团队业绩满{$money}元"; |
| | | } |
| | | if($data['open_buy_product'] == 1){ |
| | | if(!empty($remark)){ |
| | | $remark .= '\r\n'; |
| | | if ($data['condition_type']=='and'&&$data['open_type_product']==0){ |
| | | $remark .= "并且"; |
| | | }else{ |
| | | $remark .= "或"; |
| | | } |
| | | } |
| | | $product_name = ''; |
| | | if (isset($data['product_image']) && is_array($data['product_image'])) { |
| | | foreach ($data['product_image'] as $k => $item){ |
| | | $product_name .= $item['product_name'].($k!=0?'、':''); |
| | | } |
| | | } |
| | | $remark .= "购买指定商品{$product_name}"; |
| | | } |
| | | return $remark; |
| | | } |
| | | |