类 Six
- java.lang.Object
-
- net.risesoft.interfaces.Six
-
public class Six extends Object
-
-
构造器概要
构造器 构造器 说明 Six()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static CodeAddressm603(String code, Integer picSize, Integer codeType)生成码图接口static CodePicBase64m604(String code, Integer isMargin, String unitIcon, Integer qrCodeSize, Integer color)生成带边框的码图static CodePicBase64m605(String idCode, String code, Integer useLogo, String unitLogo, Integer marginType, Integer categoryId, Integer marginTypeLv2, Integer codeType, Integer codeSize, String codeColor)生成质量认证二维码图
-
-
-
方法详细资料
-
m603
public static CodeAddress m603(String code, Integer picSize, Integer codeType)
生成码图接口- 参数:
code- IDcode 码号picSize- 像素大小(px)codeType- 码制1:Qr 2:龙贝- 返回:
-
m604
public static CodePicBase64 m604(String code, Integer isMargin, String unitIcon, Integer qrCodeSize, Integer color)
生成带边框的码图- 参数:
code- IDcode 码号isMargin- 是否带边框(必填)0:不带边框 1:带边框unitIcon- 单位logo(将单位logo图片转换为base64字符串)qrCodeSize- 像素大小(必填,单位:px)(当is_margin=1时,qrcode_size只能为400、600、800中的一个值)color- 码图颜色(必填)0:彩色1:黑色- 返回:
-
m605
public static CodePicBase64 m605(String idCode, String code, Integer useLogo, String unitLogo, Integer marginType, Integer categoryId, Integer marginTypeLv2, Integer codeType, Integer codeSize, String codeColor)
生成质量认证二维码图- 参数:
idCode- 单位主码(必填)code- IDcode 码号useLogo- 是否嵌入单位Logo(必填)0:不嵌入1:嵌入unitLogo- 单位Logo(将单位Logo图片转换为base64字符串)marginType- 边框样式(必填)MarginTypeEnumcategoryId- 品类ID(当margin_type等于10时必填) 1 产品追溯 2 信息展示 3 内控 4 电子票证marginTypeLv2- 方形边框二级分类(当margin_type等于20时必填)取值范围:1 - 7;默认值:1codeType- 码制(必填)CodeTypeEnumcodeSize- 码图尺寸(必填,单位:cm,只能为3、5、10中的一个值)codeColor- 码图颜色值(如:黑色的颜色值为“#000000”,只需要传入“000000”即可;该参数只对QR码有效,其他码制一律为黑色)- 返回:
-
-