| | |
| | | $param['template']['backdrop']['width'] = $imageInfo[0]; |
| | | foreach ($param['template']['unit'] as $key => $value) { |
| | | // 写入公司 |
| | | $dealer['unit'][] = 'xxxxx公司' . ($key + 1); |
| | | $dealer['unit'][] = 'xxxxx公司'; |
| | | } |
| | | // 写入职位 |
| | | //$dealer['duties'][] = '职位'; |
| | | foreach ($param['template']['duties'] as $key => $value) { |
| | | // 写入职位 |
| | | $dealer['duties'][] = '职位'.($key + 1); |
| | | } |
| | | $dealer['duties'][] = '职位'; |
| | | |
| | | foreach ($param['template']['address'] as $key => $value) { |
| | | // 写入地址 |
| | | $dealer['address'][] = '广西壮族自治区南宁市江南区壮锦大道八桂绿城·龙湖御景-A栋-2单元'.($key + 1).'号'; |
| | | } |
| | | // 写入地址 |
| | | $dealer['address'][] = '广西壮族自治区南宁市江南区壮锦大道八桂绿城·龙湖御景-A栋-2单元xxx号'; |
| | | |
| | | |
| | | $Qrcode = new Poster($dealer); |
| | | $paramL['image'] = $Qrcode->getImageE($param['template'], $template_id); |