|
@@ -174,6 +174,7 @@ public class SenInfoCheckUtil {
|
|
|
* 获取二维码图片
|
|
* 获取二维码图片
|
|
|
*/
|
|
*/
|
|
|
public static void getShopQr(String shopId,String shopTypeId, HttpServletResponse response){
|
|
public static void getShopQr(String shopId,String shopTypeId, HttpServletResponse response){
|
|
|
|
|
+ log.info("shopId: "+shopId+",shopTypeId: "+shopTypeId);
|
|
|
String mpToken = getMpToken();
|
|
String mpToken = getMpToken();
|
|
|
//获取二维码数据
|
|
//获取二维码数据
|
|
|
String url = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token="+mpToken;
|
|
String url = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token="+mpToken;
|
|
@@ -184,7 +185,7 @@ public class SenInfoCheckUtil {
|
|
|
if("是".equals(one.getValue())){
|
|
if("是".equals(one.getValue())){
|
|
|
map.put("page","pages/index/index");
|
|
map.put("page","pages/index/index");
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+// map.put("env_version","trial");
|
|
|
map.put("width", 280);
|
|
map.put("width", 280);
|
|
|
String jsonString = JSON.toJSONString(map);
|
|
String jsonString = JSON.toJSONString(map);
|
|
|
InputStream inputStream = sendPostBackStream(url, jsonString);
|
|
InputStream inputStream = sendPostBackStream(url, jsonString);
|
|
@@ -203,6 +204,7 @@ public class SenInfoCheckUtil {
|
|
|
* 获取二维码图片
|
|
* 获取二维码图片
|
|
|
*/
|
|
*/
|
|
|
public static void getShopQr2(String shopId,String shopTypeId, HttpServletResponse response){
|
|
public static void getShopQr2(String shopId,String shopTypeId, HttpServletResponse response){
|
|
|
|
|
+ log.info("shopId: "+shopId+",shopTypeId: "+shopTypeId);
|
|
|
String mpToken = getMpToken();
|
|
String mpToken = getMpToken();
|
|
|
//获取二维码数据
|
|
//获取二维码数据
|
|
|
String url = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token="+mpToken;
|
|
String url = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token="+mpToken;
|