-
大小: 59.62MB文件類型: .zip金幣: 1下載: 0 次發(fā)布日期: 2022-05-24
- 語言: PHP
- 標(biāo)簽: 社區(qū)團(tuán)購??小程序??分銷系統(tǒng)??
資源簡介
微信小程序電商平臺(前后端開源PHP),包含分銷,拼團(tuán),抽獎,紅包,九宮格(老虎機(jī))游戲等功能,整個(gè)系統(tǒng)架構(gòu)非常簡單,適合小型團(tuán)隊(duì)或者個(gè)人開發(fā)者二次開發(fā)。 小程序 + APP + 公眾號 + PC + 生活號 注重界面美感與用戶體驗(yàn),打造獨(dú)特電商系統(tǒng)生態(tài)圈
代碼片段和文件信息
/**
?*?@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“
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????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個(gè)文件信息
評論
共有 條評論