public class WXQRCode extends Object
private static String path
public String writeToJpg(String savePath, String contents, String orderId, String logoPath)
savePath - 保存路径,没有传null,如果传值,路径则为savePath+定制路径contents - 二维码内容orderId - 商户订单idlogoPath - logoPath,全路径,不带则不传public String writeEwmTOOtherImg(String savePath, String contents, String orderId, String mainPath) throws IOException
savePath - 保存路径,没有传null,如果传值,路径则为savePath+定制路径contents - 二维码内容orderId - 商户订单idmainPath - 主图地址,全路径,不带则不传IOExceptionCopyright © 2020. All rights reserved.