资源简介

微信小程序电商平台(前后端开源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  open\LICENSE
     文件        7302  2018-12-17 03:52  open\README.md
     目录           0  2018-12-17 03:52  open\app\
     目录           0  2018-12-17 03:52  open\app\LKT\
     文件         786  2018-12-17 03:52  open\app\LKT\authcode.php
     目录           0  2018-12-17 03:52  open\app\LKT\fckeditor\
     目录           0  2018-12-17 03:52  open\app\LKT\fckeditor\editor\
     目录           0  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\
     目录           0  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\behaviors\
     文件         221  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\behaviors\disablehandles.htc
     文件         786  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\behaviors\showtableborders.htc
     文件        2538  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\fck_editorarea.css
     文件        3946  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\fck_internal.css
     文件        1647  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\fck_showtableborders_gecko.css
     目录           0  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\
     文件         288  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\block_address.png
     文件         293  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\block_blockquote.png
     文件         229  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\block_div.png
     文件         218  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\block_h1.png
     文件         220  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\block_h2.png
     文件         219  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\block_h3.png
     文件         229  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\block_h4.png
     文件         236  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\block_h5.png
     文件         216  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\block_h6.png
     文件         205  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\block_p.png
     文件         223  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\block_pre.png
     文件         184  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\fck_anchor.gif
     文件         599  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\fck_flashlogo.gif
     文件         105  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\fck_hiddenfield.gif
     文件          54  2018-12-17 03:52  open\app\LKT\fckeditor\editor\css\images\fck_pagebreak.gif
............此处省略5439个文件信息

评论

共有 条评论