|
|
@ -16,6 +16,7 @@ import java.io.ByteArrayInputStream; |
|
|
|
import java.io.IOException; |
|
|
|
import java.io.UnsupportedEncodingException; |
|
|
|
import java.net.ConnectException; |
|
|
|
import java.nio.Buffer; |
|
|
|
import java.util.*; |
|
|
|
|
|
|
|
@Data |
|
|
@ -65,7 +66,7 @@ public class WxXcxUtil { |
|
|
|
public String page; |
|
|
|
public Integer width; |
|
|
|
public Boolean auto_color; |
|
|
|
public Boolean line_color; |
|
|
|
public Object line_color; |
|
|
|
public Boolean is_hyaline; |
|
|
|
} |
|
|
|
|
|
|
@ -226,10 +227,10 @@ public class WxXcxUtil { |
|
|
|
WechatCode wechatCode = new WechatCode(); |
|
|
|
wechatCode.page = page; |
|
|
|
wechatCode.scene = scene; |
|
|
|
wechatCode.line_color = "#800080"; |
|
|
|
|
|
|
|
String postStr = JacksonUtil.beanToJson(wechatCode); |
|
|
|
System.out.println(postStr); |
|
|
|
|
|
|
|
HttpsUtil.httpsRequest(url,"POST",postStr,path); |
|
|
|
} |
|
|
|
|
|
|
|