資源簡(jiǎn)介
來(lái)客推小程序分銷(xiāo)商城源碼是一個(gè)模仿拼多多的功能模塊來(lái)進(jìn)行開(kāi)發(fā)的微信小程序系統(tǒng)。軟件架構(gòu):PHP5.6+ MYSQL5.5+ 自主研發(fā)框架分銷(xiāo)商等級(jí):1、權(quán)限設(shè)置(1)等級(jí)名稱(chēng):自定義名稱(chēng)(2) 是否自動(dòng)升級(jí):目前是以會(huì)員卡形式升級(jí),自動(dòng)升級(jí)(暫不開(kāi)放)(3) 排序號(hào):直接影響分銷(xiāo)商等級(jí) 請(qǐng)從小到大排列,排序號(hào)越大所處等級(jí)越高2、消費(fèi)金轉(zhuǎn)余額(1)指推薦人可獲得轉(zhuǎn)換的額度 (發(fā)放傭金中會(huì)優(yōu)先執(zhí)行此處,并不與贈(zèng)送的消費(fèi)金相結(jié)合)3、贈(zèng)送消費(fèi)金 /積分(1) 購(gòu)買(mǎi)人所能獲得的對(duì)應(yīng)獎(jiǎng)勵(lì)4、會(huì)員商品折扣-----(暫未開(kāi)放)5、會(huì)員專(zhuān)區(qū)傭金(1) 購(gòu)買(mǎi)該等級(jí)的商品所能得到的傭金 (使用逗號(hào)隔開(kāi),大于1即為固定金額,小余1即為比例,共有幾個(gè)為幾級(jí),從第一級(jí)開(kāi)始, ','為英文狀態(tài)下的逗號(hào))6、會(huì)員專(zhuān)區(qū)消費(fèi)金(1) 同第5點(diǎn)所述 (僅最多開(kāi)放3層級(jí))7、分銷(xiāo)比例(1)基礎(chǔ)分銷(xiāo)商品購(gòu)買(mǎi)所能獲得的傭金比例8、分銷(xiāo)管理比例(1) 內(nèi)設(shè)定合伙人等級(jí)(最高)以一級(jí)為例 查找上級(jí)的合伙人給的傭金9、升級(jí)條件(1)目前是以會(huì)員卡形式升級(jí)(暫不開(kāi)放)10 、分銷(xiāo)權(quán)限(1) 現(xiàn)僅開(kāi)放推廣二維碼功能其他:1.傭金結(jié)算時(shí)
代碼片段和文件信息
/**
?*?@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í)間???名稱(chēng)
-----------?---------??----------?-----??----
?????目錄???????????0??2019-03-12?14:35??open\
?????目錄???????????0??2019-03-12?14:35??open\app\
?????目錄???????????0??2019-03-12?14:35??open\app\backups\
?????文件???????????4??2019-03-12?14:35??open\app\backups\data.txt
?????目錄???????????0??2019-03-12?14:35??open\app\data\
?????文件?????????260??2019-03-12?14:35??open\app\data\databa
?????文件??????251069??2019-03-12?14:35??open\app\data\install.sql
?????文件?????????709??2019-03-12?14:35??open\app\index.php
?????目錄???????????0??2019-03-12?14:35??open\app\install\
?????文件?????????786??2019-03-12?14:35??open\app\install\authcode.php
?????文件????????1563??2019-03-12?14:35??open\app\install\index.php
?????目錄???????????0??2019-03-12?14:35??open\app\install\modpub\
?????目錄???????????0??2019-03-12?14:35??open\app\install\modpub\css\
?????文件????????3143??2019-03-12?14:35??open\app\install\modpub\css\ba
?????文件????????9744??2019-03-12?14:35??open\app\install\modpub\css\Popup.css
?????文件???????30053??2019-03-12?14:35??open\app\install\modpub\css\sanming.css
?????文件????????1766??2019-03-12?14:35??open\app\install\modpub\css\select.css
?????文件?????????227??2019-03-12?14:35??open\app\install\modpub\css\webjs.js
?????目錄???????????0??2019-03-12?14:35??open\app\install\modpub\images\
?????文件?????????884??2019-03-12?14:35??open\app\install\modpub\images\027.gif
?????文件?????????637??2019-03-12?14:35??open\app\install\modpub\images\2.gif
?????文件??????????94??2019-03-12?14:35??open\app\install\modpub\images\button_bg.gif
?????文件?????????383??2019-03-12?14:35??open\app\install\modpub\images\datetime.gif
?????文件????????2794??2019-03-12?14:35??open\app\install\modpub\images\gb-05.gif
?????文件??????????65??2019-03-12?14:35??open\app\install\modpub\images\gb.gif
?????文件?????????115??2019-03-12?14:35??open\app\install\modpub\images\gb_msn.gif
?????文件??????????97??2019-03-12?14:35??open\app\install\modpub\images\gb_out.gif
?????文件?????????106??2019-03-12?14:35??open\app\install\modpub\images\gb_site.gif
?????文件?????????108??2019-03-12?14:35??open\app\install\modpub\images\gb_where.gif
?????文件????????6492??2019-03-12?14:35??open\app\install\modpub\images\head_12012.jpg
?????文件?????????105??2019-03-12?14:35??open\app\install\modpub\images\l1.gif
............此處省略5440個(gè)文件信息
評(píng)論
共有 條評(píng)論