社区团购小程序开源源码免费


微信小程序电商平台(前后端开源PHP),包含分销,拼团,抽奖,红包,九宫格(老虎机)游戏等功能,整个系统架构非常简单,适合小型团队或者个人开发者二次开发。 小程序 + APP + 公众号 + PC + 生活号 注重界面美感与用户体验,打造独特电商系统生态圈
资源截图
代码片段和文件信息
/**
 * @license Highcharts JS v2.3.3 (2012-11-02)
 *
 * (c) 20012-2014
 *
 * Author: Gert Vaartjes
 *
 * License: www.highcharts.com/license
 */
package com.highcharts.export.converter;

import java.io.File;
import java.io.IOException;
import java.net.SocketTimeoutException;
import java.util.HashMap;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.concurrent.TimeoutException;

import org.apache.commons.io.FileUtils;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.google.gson.Gson;
import com.highcharts.export.pool.PoolException;
import com.highcharts.export.pool.BlockingQueuePool;
import com.highcharts.export.server.Server;
import com.highcharts.export.util.MimeType;

@Service(“svgConverter“)
public class SVGConverter {

@Autowired
private BlockingQueuePool serverPool;
protected static Logger logger = Logger.getLogger(“converter“);
private static final String SVG_DOCTYPE = “l version=“1.0“ standalone=“no“?>“;

public String convert(String input MimeType mime
String constructor String callback String globalOptions Float width Float scale String filename) throws SVGConverterException PoolException NoSuchElementException TimeoutException {
return this.convert(input globalOptions null null mime constructor callback width scale filename);
}

public String convert(String input String globalOptions String dataOptions String customCode MimeType mime
String constructor String callback Float width Float scale String filename) throws SVGConverterException PoolException NoSuchElementException TimeoutException {

Map params = new HashMap();
Gson gson = new Gson();

if (filename != null) {
params.put(“outfile“ filename);
} else {
params.put(“type“ mime.name().toLowerCase());
}

params.put(“infile“ input);

if (constructor != null && !constructor.isEmpty()) {
params.put(“constr“ constructor);
}

if (callback != null && !callback.isEmpty()) {
params.put(“callback“ callback);
}

if (globalOptions != null && !globalOptions.isEmpty()) {
params.put(“globaloptions“ globalOptions);
}

if (dataOptions != null && !dataOptions.isEmpty()) {
params.put(“dataoptions“ dataOptions);
}

if (customCode != null && !customCode.isEmpty()) {
params.put(“customcode“ customCode);
}

if (width != null) {
params.put(“width“ String.valueOf(width));
}

if (scale != null) {
params.put(“scale“ String.valueOf(scale));
}

// parameters to JSON
String json = gson.toJson(params);

// send to phantomJs
String output = ““;
output = requestServer(json);

// check first for errors
if (output.length() > 5 && output.substring(05).equalsIgnoreCase(“error“

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-12-17 03:52  open
     文件       10251  2018-12-17 03:52  openLICENSE
     文件        7302  2018-12-17 03:52  openREADME.md
     目录           0  2018-12-17 03:52  openapp
     目录           0  2018-12-17 03:52  openappLKT
     文件         786  2018-12-17 03:52  openappLKTauthcode.php
     目录           0  2018-12-17 03:52  openappLKTfckeditor
     目录           0  2018-12-17 03:52  openappLKTfckeditoreditor
     目录           0  2018-12-17 03:52  openappLKTfckeditoreditorcss
     目录           0  2018-12-17 03:52  openappLKTfckeditoreditorcssehaviors
     文件         221  2018-12-17 03:52  openappLKTfckeditoreditorcssehaviorsdisablehandles.htc
     文件         786  2018-12-17 03:52  openappLKTfckeditoreditorcssehaviorsshowtableborders.htc
     文件        2538  2018-12-17 03:52  openappLKTfckeditoreditorcssfck_editorarea.css
     文件        3946  2018-12-17 03:52  openappLKTfckeditoreditorcssfck_internal.css
     文件        1647  2018-12-17 03:52  openappLKTfckeditoreditorcssfck_showtableborders_gecko.css
     目录           0  2018-12-17 03:52  openappLKTfckeditoreditorcssimages
     文件         288  2018-12-17 03:52  openappLKTfckeditoreditorcssimageslock_address.png
     文件         293  2018-12-17 03:52  openappLKTfckeditoreditorcssimageslock_blockquote.png
     文件         229  2018-12-17 03:52  openappLKTfckeditoreditorcssimageslock_div.png
     文件         218  2018-12-17 03:52  openappLKTfckeditoreditorcssimageslock_h1.png
     文件         220  2018-12-17 03:52  openappLKTfckeditoreditorcssimageslock_h2.png
     文件         219  2018-12-17 03:52  openappLKTfckeditoreditorcssimageslock_h3.png
     文件         229  2018-12-17 03:52  openappLKTfckeditoreditorcssimageslock_h4.png
     文件         236  2018-12-17 03:52  openappLKTfckeditoreditorcssimageslock_h5.png
     文件         216  2018-12-17 03:52  openappLKTfckeditoreditorcssimageslock_h6.png
     文件         205  2018-12-17 03:52  openappLKTfckeditoreditorcssimageslock_p.png
     文件         223  2018-12-17 03:52  openappLKTfckeditoreditorcssimageslock_pre.png
     文件         184  2018-12-17 03:52  openappLKTfckeditoreditorcssimagesfck_anchor.gif
     文件         599  2018-12-17 03:52  openappLKTfckeditoreditorcssimagesfck_flashlogo.gif
     文件         105  2018-12-17 03:52  openappLKTfckeditoreditorcssimagesfck_hiddenfield.gif
     文件          54  2018-12-17 03:52  openappLKTfckeditoreditorcssimagesfck_pagebreak.gif
............此处省略5439个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)