Commit 23acc8ef828e45faffce53ac6baed787253807e4
1 parent
e25df5be
Exists in
master
and in
1 other branch
[Feat] Alterando texto do qrcode.
Showing
1 changed file
with
10 additions
and
6 deletions
Show diff stats
MdWsSeiRest.php
| ... | ... | @@ -277,8 +277,7 @@ class MdWsSeiRest extends SeiIntegracao |
| 277 | 277 | ."_" |
| 278 | 278 | .SessaoSEI::getInstance()->getNumIdOrgaoUsuario() |
| 279 | 279 | ."_" |
| 280 | - .SessaoSEI::getInstance()->getNumIdContextoUsuario() | |
| 281 | - ."__"; | |
| 280 | + .SessaoSEI::getInstance()->getNumIdContextoUsuario(); | |
| 282 | 281 | $html = CacheSEI::getInstance()->getAtributo($nomeArquivo); |
| 283 | 282 | |
| 284 | 283 | if($html){ |
| ... | ... | @@ -327,13 +326,18 @@ class MdWsSeiRest extends SeiIntegracao |
| 327 | 326 | |
| 328 | 327 | $htmlQrCode .= '<div style="text-align: center;">'; |
| 329 | 328 | $htmlQrCode .= '<div style="height: 12px; background-color: #01A5DA; border-bottom: 4px solid #AFCF2C;"></div>'; |
| 330 | - $htmlQrCode .= '<img style="margin: 20px auto 6px;" align="center" src="data:image/png;base64, ' | |
| 331 | - . base64_encode($binQrCode) . '" />'; | |
| 332 | - $htmlQrCode .= '<p>'; | |
| 329 | + $htmlQrCode .= '<p style="text-align: left; margin: 5px;">'; | |
| 333 | 330 | $htmlQrCode .= '<strong style="font-weight: bolder">'; |
| 334 | - $htmlQrCode .= 'Faça a leitura do código acima para acessar o aplicativo do SEI no seu telefone.'; | |
| 331 | + $htmlQrCode .= 'Acesse as lojas App Store ou Google Play e instale o aplicativo do SEI! No seu celular.'; | |
| 335 | 332 | $htmlQrCode .= '</strong>'; |
| 336 | 333 | $htmlQrCode .= '</p>'; |
| 334 | + $htmlQrCode .= '<p style="text-align: left; margin: 15px 5px 5px 5px;">'; | |
| 335 | + $htmlQrCode .= '<strong style="font-weight: bolder">'; | |
| 336 | + $htmlQrCode .= 'Abra o aplicativo do SEI! e faça a leitura do código abaixo para sincronizá-lo com sua conta.'; | |
| 337 | + $htmlQrCode .= '</strong>'; | |
| 338 | + $htmlQrCode .= '</p>'; | |
| 339 | + $htmlQrCode .= '<img style="margin: 20px auto 6px;" align="center" src="data:image/png;base64, ' | |
| 340 | + . base64_encode($binQrCode) . '" />'; | |
| 337 | 341 | $htmlQrCode .= '</div>'; |
| 338 | 342 | |
| 339 | 343 | return $htmlQrCode; | ... | ... |