修改二维码生成类在线上环境生成的二维码图片的文字规则
This commit is contained in:
parent
aef165f2a8
commit
05eb6e1d92
@ -1,12 +1,11 @@
|
||||
package com.xhpc.charging.station.utils.img;
|
||||
|
||||
import javax.imageio.ImageIO;
|
||||
import java.awt.*;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.imageio.ImageIO;
|
||||
|
||||
/**
|
||||
* @Author WH
|
||||
* @Date 2021/9/10 17:44
|
||||
@ -270,8 +269,8 @@ public class ImageUtil {
|
||||
|
||||
g2.drawString(PileNumber+"号桩",25,154);
|
||||
|
||||
g2.setFont(new Font("黑体",Font.BOLD,130));
|
||||
g2.drawString(letter,250,180);
|
||||
g2.setFont(new Font("楷体", Font.BOLD, 130));
|
||||
g2.drawString(letter, 250, 180);
|
||||
g2.setFont(new Font("楷体",Font.BOLD,60));
|
||||
//g2.drawString("枪",320,174);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user