feat: 后端全量更新 - 含所有本次需求

- Contract.php: 返回合约账户余额(balance_contract)
- My.php: 地址管理增加BTC/ETH
- AppContract.php: 一键平仓(closeall)
- AppProxy.php: 代理专属注册链接 + 分级权限(L1/L2)
- site.php: 手续费减半(0.018→0.009)
- agent_permission_setup.sql: 代理权限SQL
- crypto_news_crawler.py: 新闻自动采集脚本
This commit is contained in:
li
2026-03-30 20:16:32 +08:00
commit 1b24994e74
6721 changed files with 1308571 additions and 0 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,59 @@
<?php
$desktopApps = array(
'my_computer' => array(
"type" => "app",
"content" => "core.explorer('','".LNG('my_computer')."');",
"icon" => STATIC_PATH."images/file_icon/icon_others/computer.png",
"name" => LNG('my_computer'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "",
"resize" => 1
),
'recycle' => array(
"type" => "app",
"content" => "core.explorer('".KOD_USER_RECYCLE."','".LNG('recycle')."');",
"icon" => STATIC_PATH."images/file_icon/icon_others/recycle.png",
"name" => LNG('recycle'),
"menuType" => "systemBox menu-recycle-button",
"ext" => 'oexe',
"path" => "",
"resize" => 1
),
'PluginCenter' => array(
"type" => "app",
"content" => "core.openWindowBig('./index.php?pluginApp/index','".LNG('PluginCenter')."');",
"icon" => STATIC_PATH."images/file_icon/icon_others/plugins.png",
"name" => LNG('PluginCenter'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "",
"resize" => 1
),
'setting' => array(
"type" => "app",
"content" => "core.setting();",
"icon" => STATIC_PATH."images/file_icon/icon_others/setting.png",
"name" => LNG('setting'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "/",
"resize" => 1
),
'appStore' => array(
"type" => "app",
"content" => "core.appStore();",
"icon" => STATIC_PATH."images/file_icon/icon_others/appStore.png",
"name" => LNG('app_store'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "",
"resize" => 1
)
);
//管理员插件中心
if(!$GLOBALS['isRoot']){
unset($desktopApps['PluginCenter']);
}
return $desktopApps;
@@ -0,0 +1 @@
<?php exit;?>{"1":{"groupID":1,"name":"public","parentID":"","children":"","config":{"sizeMax":0,"sizeUse":0},"path":"public","createTime":""}}
@@ -0,0 +1 @@
<?php exit;?>{"1":{"userID":"1","name":"admin","password":"21232f297a57a5a743894a0e4a801fc3","role":"1","config":{"sizeMax":1,"sizeUse":5369},"groupInfo":{"1":"write"},"path":"admin","status":1,"createTime":"","sizeMax":"1","lastLogin":""},"100":{"userID":"100","name":"demo","password":"fe01ce2a7fbac8fafaed7c982a04e229","role":"2","config":{"sizeMax":5,"sizeUse":1048576},"groupInfo":{"1":"write"},"path":"demo","status":1,"lastLogin":"","createTime":""},"101":{"userID":"101","name":"guest","password":"084e0343a0486ff05530df6c705c8bb4","role":"100","config":{"sizeMax":0.1,"sizeUse":1048576},"groupInfo":{"1":"read"},"path":"guest","status":1,"lastLogin":"","createTime":""}}
@@ -0,0 +1 @@
<?php exit;?>{"1":{"name":"Administrator","extNotAllow":"","explorer.mkdir":0,"explorer.mkfile":0,"explorer.pathRname":0,"explorer.pathDelete":0,"explorer.zip":0,"explorer.unzip":0,"explorer.pathCopy":0,"explorer.pathChmod":0,"explorer.pathCute":0,"explorer.pathCuteDrag":0,"explorer.pathCopyDrag":0,"explorer.clipboard":0,"explorer.pathPast":0,"explorer.pathInfo":0,"explorer.serverDownload":0,"explorer.fileUpload":0,"explorer.search":0,"explorer.pathDeleteRecycle":0,"explorer.fileDownload":0,"explorer.zipDownload":0,"explorer.fileDownloadRemove":0,"explorer.fileProxy":0,"explorer.officeView":0,"explorer.officeSave":0,"app.userApp":0,"app.initApp":0,"app.add":0,"app.edit":0,"app.del":0,"user.changePassword":0,"editor.fileGet":0,"editor.fileSave":0,"userShare.set":0,"userShare.del":0,"setting.set":0,"setting.systemSetting":0,"setting.phpInfo":0,"fav.add":0,"fav.del":0,"fav.edit":0,"systemMember.get":0,"systemMember.add":0,"systemMember.doAction":0,"systemMember.edit":0,"systemGroup.get":0,"systemGroup.add":0,"systemGroup.del":0,"systemGroup.edit":0,"systemRole.add":0,"systemRole.del":0,"systemRole.edit":0},"2":{"name":"default","extNotAllow":"htm|html|php|phtml|pwml|asp|aspx|ascx|jsp|pl|htaccess|shtml|shtm|phtm","explorer.mkdir":1,"explorer.mkfile":1,"explorer.pathRname":1,"explorer.pathDelete":1,"explorer.zip":1,"explorer.unzip":1,"explorer.pathCopy":1,"explorer.pathChmod":0,"explorer.pathCute":1,"explorer.pathCuteDrag":1,"explorer.pathCopyDrag":0,"explorer.clipboard":1,"explorer.pathPast":1,"explorer.pathInfo":1,"explorer.serverDownload":1,"explorer.fileUpload":1,"explorer.search":1,"explorer.pathDeleteRecycle":0,"explorer.fileDownload":1,"explorer.zipDownload":0,"explorer.fileDownloadRemove":0,"explorer.fileProxy":0,"explorer.officeView":0,"explorer.officeSave":0,"app.userApp":1,"app.initApp":0,"app.add":0,"app.edit":0,"app.del":0,"user.changePassword":1,"editor.fileGet":0,"editor.fileSave":1,"userShare.set":1,"userShare.del":1,"setting.set":1,"setting.systemSetting":0,"setting.phpInfo":0,"fav.add":1,"fav.del":1,"fav.edit":1,"systemMember.get":0,"systemMember.add":0,"systemMember.doAction":0,"systemMember.edit":0,"systemGroup.get":0,"systemGroup.add":0,"systemGroup.del":0,"systemGroup.edit":0,"systemRole.add":0,"systemRole.del":0,"systemRole.edit":0},"100":{"name":"guest","extNotAllow":"htm|html|php|phtml|pwml|asp|aspx|ascx|jsp|pl|htaccess|shtml|shtm|phtm","explorer.mkdir":0,"explorer.mkfile":0,"explorer.pathRname":0,"explorer.pathDelete":0,"explorer.zip":0,"explorer.unzip":0,"explorer.pathCopy":0,"explorer.pathChmod":0,"explorer.pathCute":0,"explorer.pathCuteDrag":0,"explorer.pathCopyDrag":0,"explorer.clipboard":0,"explorer.pathPast":0,"explorer.pathInfo":0,"explorer.serverDownload":0,"explorer.fileUpload":0,"explorer.search":1,"explorer.pathDeleteRecycle":0,"explorer.fileDownload":0,"explorer.zipDownload":0,"explorer.fileDownloadRemove":0,"explorer.fileProxy":0,"explorer.officeView":0,"explorer.officeSave":0,"app.userApp":0,"app.initApp":0,"app.add":0,"app.edit":0,"app.del":0,"user.changePassword":0,"editor.fileGet":0,"editor.fileSave":0,"userShare.set":0,"userShare.del":0,"setting.set":0,"setting.systemSetting":0,"setting.phpInfo":0,"fav.add":0,"fav.del":0,"fav.edit":0,"systemMember.get":0,"systemMember.add":0,"systemMember.doAction":0,"systemMember.edit":0,"systemGroup.get":0,"systemGroup.add":0,"systemGroup.del":0,"systemGroup.edit":0,"systemRole.add":0,"systemRole.del":0,"systemRole.edit":0}}
@@ -0,0 +1,31 @@
<?php exit;?>{
"1": {
"name": "read",
"style": "blue-light",
"display": 1,
"actions": {
"read:list": 1,
"read:info": 1,
"read:copy": 1,
"read:preview": 1,
"read:download": 1
}
},
"2": {
"name": "write",
"style": "blue-deep",
"display": 1,
"actions": {
"read:list": 1,
"read:info": 1,
"read:copy": 1,
"read:preview": 1,
"read:download": 1,
"write:add": 1,
"write:edit": 1,
"write:change": 1,
"write:upload": 1,
"write:remove": 1
}
}
}
@@ -0,0 +1,196 @@
<?php exit;?>{
"systemPassword": "8QkjmMGGtVzsqawCp6zy",
"systemName": "KodExplorer",
"systemDesc": "——可道云.资源管理器",
"pathHidden": "Thumb.db,.DS_Store,.gitignore,.git",
"autoLogin": "0",
"needCheckCode": "0",
"firstIn": "explorer",
"passwordCheck": "0",
"newUserApp": "trello,一起写office,微信,365日历,石墨文档,ProcessOn,计算器,icloud,OfficeConverter",
"newUserFolder": "我的文档,图片,视频,音乐",
"newGroupFolder": "share,文档,图片资料,视频资料",
"groupShareFolder": "share",
"desktopFolder": "desktop",
"versionType": "A",
"rootListUser": 0,
"rootListGroup": 0,
"csrfProtect": 0,
"currentVersion": "4.49",
"wallpageDesktop": "1,2,3,4,5,6,7,8,9,10,11,12,13",
"wallpageLogin": "2,3,6,8,9,11,12",
"menu": [
{
"name": "desktop",
"type": "system",
"url": "index.php?desktop",
"target": "_self",
"use": "1"
},
{
"name": "explorer",
"type": "system",
"url": "index.php?explorer",
"target": "_self",
"use": "1"
}
],
"pluginList": {
"photoSwipe": {
"id": "photoSwipe",
"regiest": {
"user.commonJs.insert": "photoSwipePlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "jpg,jpeg,png,bmp,gif,ico,svg,cur,webp",
"fileSort": 20
}
},
"VLCPlayer": {
"id": "VLCPlayer",
"regiest": {
"user.commonJs.insert": "VLCPlayerPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "aac,arc,arj,asf,asx,avi,f4v,flv, m2ts,m4v,mp2,mov,mp3,mp4,mp4v,mpe,mpg,mts,mkv,ogv,3gp,mpeg,wav,wma,wmv,rm,rmvb,vob,webm,webmv, mp3,wav,wma,m4a,aac,oga,ogg,webma",
"fileSort": 1
}
},
"picasa": {
"id": "picasa",
"regiest": {
"user.commonJs.insert": "picasaPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "jpg,jpeg,png,bmp,gif,ico,svg,cur,webp",
"fileSort": 10
}
},
"jPlayer": {
"id": "jPlayer",
"regiest": {
"user.commonJs.insert": "jPlayerPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "mp3,wav,m4a,aac,oga,ogg,webma,mp4,m4v,flv,mov,f4v,ogv,webm,webmv,m3u8a,m3ua,flac,fla,rtmp,rtmpa",
"fileSort": 10
}
},
"imageExif": {
"id": "imageExif",
"regiest": {
"user.commonJs.insert": "imageExifPlugin.echoJs",
"share.image": "imageExifPlugin.imageCheck",
"explorer.image": "imageExifPlugin.imageCheck"
},
"status": 1,
"config": []
},
"officeLive": {
"id": "officeLive",
"regiest": {
"user.commonJs.insert": "officeLivePlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"pluginAuthOpen": 0,
"openWith": "dialog",
"apiServer": "https:\/\/view.officeapps.live.com\/op\/view.aspx?src=",
"fileExt": "doc,docx,docm,dot,dotx,dotm,rtf,xls,xlsx,xlt,xlsb,xlsm,csv,ppt,pptx,pps,ppsx,pptm,potm,ppam,potx,ppsm,odt,ods,odp,ott,ots,otp,wps,wpt",
"fileSort": 55
}
},
"zipView": {
"id": "zipView",
"regiest": {
"user.commonJs.insert": "zipViewPlugin.echoJs",
"globalRequest": "zipViewPlugin.changeData"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "zip,tar,gz,tgz,ipa,apk,rar,7z,iso,bz2,zx,z,arj,epub",
"fileSort": 10
}
},
"simpleClock": {
"id": "simpleClock",
"regiest": {
"user.commonJs.insert": "simpleClockPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1"
}
},
"toolsCommon": {
"id": "toolsCommon",
"regiest": {
"user.commonJs.insert": "toolsCommonPlugin.echoJs"
},
"status": 1,
"config": []
},
"webodf": {
"id": "webodf",
"regiest": {
"user.commonJs.insert": "webodfPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"openWith": "dialog",
"fileExt": "odf,odt,ods,odp",
"fileSort": 5000
}
},
"yzOffice": {
"id": "yzOffice",
"regiest": {
"user.commonJs.insert": "yzOfficePlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"openWith": "dialog",
"fileExt": "doc,docx,docm,dot,dotx,dotm,rtf,wps,wpt,xls,xlsx,xlt,xlsm,csv,ppt,pptx,pps,ppsx",
"fileSort": 50,
"cacheFile": "1",
"preview": "0"
}
},
"DPlayer": {
"id": "DPlayer",
"regiest": {
"user.commonJs.insert": "DPlayerPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"subtitle": "0",
"fileSort": 200,
"fileExt": "mp4,m4v,flv,mov,f4v,ogv,webm,webmv,mkv"
}
},
"adminer": {
"id": "adminer",
"regiest": {
"templateCommonHeader": "adminerPlugin.addMenu"
},
"status": 1,
"config": {
"pluginAuth": "role:1",
"menuSubMenu": 1
}
}
}
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,59 @@
<?php
$desktopApps = array(
'my_computer' => array(
"type" => "app",
"content" => "core.explorer('','".LNG('my_computer')."');",
"icon" => STATIC_PATH."images/file_icon/icon_others/computer.png",
"name" => LNG('my_computer'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "",
"resize" => 1
),
'recycle' => array(
"type" => "app",
"content" => "core.explorer('".KOD_USER_RECYCLE."','".LNG('recycle')."');",
"icon" => STATIC_PATH."images/file_icon/icon_others/recycle.png",
"name" => LNG('recycle'),
"menuType" => "systemBox menu-recycle-button",
"ext" => 'oexe',
"path" => "",
"resize" => 1
),
'PluginCenter' => array(
"type" => "app",
"content" => "core.openWindowBig('./index.php?pluginApp/index','".LNG('PluginCenter')."');",
"icon" => STATIC_PATH."images/file_icon/icon_others/plugins.png",
"name" => LNG('PluginCenter'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "",
"resize" => 1
),
'setting' => array(
"type" => "app",
"content" => "core.setting();",
"icon" => STATIC_PATH."images/file_icon/icon_others/setting.png",
"name" => LNG('setting'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "/",
"resize" => 1
),
'appStore' => array(
"type" => "app",
"content" => "core.appStore();",
"icon" => STATIC_PATH."images/file_icon/icon_others/appStore.png",
"name" => LNG('app_store'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "",
"resize" => 1
)
);
//管理员插件中心
if(!$GLOBALS['isRoot']){
unset($desktopApps['PluginCenter']);
}
return $desktopApps;
@@ -0,0 +1 @@
<?php exit;?>{"1":{"groupID":1,"name":"public","parentID":"","children":"","config":{"sizeMax":0,"sizeUse":0},"path":"public","createTime":""}}
@@ -0,0 +1 @@
<?php exit;?>{"1":{"userID":"1","name":"admin","password":"21232f297a57a5a743894a0e4a801fc3","role":"1","config":{"sizeMax":1,"sizeUse":5369},"groupInfo":{"1":"write"},"path":"admin","status":1,"createTime":"","sizeMax":"1","lastLogin":""},"100":{"userID":"100","name":"demo","password":"fe01ce2a7fbac8fafaed7c982a04e229","role":"2","config":{"sizeMax":5,"sizeUse":1048576},"groupInfo":{"1":"write"},"path":"demo","status":1,"lastLogin":"","createTime":""},"101":{"userID":"101","name":"guest","password":"084e0343a0486ff05530df6c705c8bb4","role":"100","config":{"sizeMax":0.1,"sizeUse":1048576},"groupInfo":{"1":"read"},"path":"guest","status":1,"lastLogin":"","createTime":""}}
@@ -0,0 +1 @@
<?php exit;?>{"1":{"name":"Administrator","extNotAllow":"","explorer.mkdir":0,"explorer.mkfile":0,"explorer.pathRname":0,"explorer.pathDelete":0,"explorer.zip":0,"explorer.unzip":0,"explorer.pathCopy":0,"explorer.pathChmod":0,"explorer.pathCute":0,"explorer.pathCuteDrag":0,"explorer.pathCopyDrag":0,"explorer.clipboard":0,"explorer.pathPast":0,"explorer.pathInfo":0,"explorer.serverDownload":0,"explorer.fileUpload":0,"explorer.search":0,"explorer.pathDeleteRecycle":0,"explorer.fileDownload":0,"explorer.zipDownload":0,"explorer.fileDownloadRemove":0,"explorer.fileProxy":0,"explorer.officeView":0,"explorer.officeSave":0,"app.userApp":0,"app.initApp":0,"app.add":0,"app.edit":0,"app.del":0,"user.changePassword":0,"editor.fileGet":0,"editor.fileSave":0,"userShare.set":0,"userShare.del":0,"setting.set":0,"setting.systemSetting":0,"setting.phpInfo":0,"fav.add":0,"fav.del":0,"fav.edit":0,"systemMember.get":0,"systemMember.add":0,"systemMember.doAction":0,"systemMember.edit":0,"systemGroup.get":0,"systemGroup.add":0,"systemGroup.del":0,"systemGroup.edit":0,"systemRole.add":0,"systemRole.del":0,"systemRole.edit":0},"2":{"name":"default","extNotAllow":"htm|html|php|phtml|pwml|asp|aspx|ascx|jsp|pl|htaccess|shtml|shtm|phtm","explorer.mkdir":1,"explorer.mkfile":1,"explorer.pathRname":1,"explorer.pathDelete":1,"explorer.zip":1,"explorer.unzip":1,"explorer.pathCopy":1,"explorer.pathChmod":0,"explorer.pathCute":1,"explorer.pathCuteDrag":1,"explorer.pathCopyDrag":0,"explorer.clipboard":1,"explorer.pathPast":1,"explorer.pathInfo":1,"explorer.serverDownload":1,"explorer.fileUpload":1,"explorer.search":1,"explorer.pathDeleteRecycle":0,"explorer.fileDownload":1,"explorer.zipDownload":0,"explorer.fileDownloadRemove":0,"explorer.fileProxy":0,"explorer.officeView":0,"explorer.officeSave":0,"app.userApp":1,"app.initApp":0,"app.add":0,"app.edit":0,"app.del":0,"user.changePassword":1,"editor.fileGet":0,"editor.fileSave":1,"userShare.set":1,"userShare.del":1,"setting.set":1,"setting.systemSetting":0,"setting.phpInfo":0,"fav.add":1,"fav.del":1,"fav.edit":1,"systemMember.get":0,"systemMember.add":0,"systemMember.doAction":0,"systemMember.edit":0,"systemGroup.get":0,"systemGroup.add":0,"systemGroup.del":0,"systemGroup.edit":0,"systemRole.add":0,"systemRole.del":0,"systemRole.edit":0},"100":{"name":"guest","extNotAllow":"htm|html|php|phtml|pwml|asp|aspx|ascx|jsp|pl|htaccess|shtml|shtm|phtm","explorer.mkdir":0,"explorer.mkfile":0,"explorer.pathRname":0,"explorer.pathDelete":0,"explorer.zip":0,"explorer.unzip":0,"explorer.pathCopy":0,"explorer.pathChmod":0,"explorer.pathCute":0,"explorer.pathCuteDrag":0,"explorer.pathCopyDrag":0,"explorer.clipboard":0,"explorer.pathPast":0,"explorer.pathInfo":0,"explorer.serverDownload":0,"explorer.fileUpload":0,"explorer.search":1,"explorer.pathDeleteRecycle":0,"explorer.fileDownload":0,"explorer.zipDownload":0,"explorer.fileDownloadRemove":0,"explorer.fileProxy":0,"explorer.officeView":0,"explorer.officeSave":0,"app.userApp":0,"app.initApp":0,"app.add":0,"app.edit":0,"app.del":0,"user.changePassword":0,"editor.fileGet":0,"editor.fileSave":0,"userShare.set":0,"userShare.del":0,"setting.set":0,"setting.systemSetting":0,"setting.phpInfo":0,"fav.add":0,"fav.del":0,"fav.edit":0,"systemMember.get":0,"systemMember.add":0,"systemMember.doAction":0,"systemMember.edit":0,"systemGroup.get":0,"systemGroup.add":0,"systemGroup.del":0,"systemGroup.edit":0,"systemRole.add":0,"systemRole.del":0,"systemRole.edit":0}}
@@ -0,0 +1,31 @@
<?php exit;?>{
"1": {
"name": "read",
"style": "blue-light",
"display": 1,
"actions": {
"read:list": 1,
"read:info": 1,
"read:copy": 1,
"read:preview": 1,
"read:download": 1
}
},
"2": {
"name": "write",
"style": "blue-deep",
"display": 1,
"actions": {
"read:list": 1,
"read:info": 1,
"read:copy": 1,
"read:preview": 1,
"read:download": 1,
"write:add": 1,
"write:edit": 1,
"write:change": 1,
"write:upload": 1,
"write:remove": 1
}
}
}
@@ -0,0 +1,196 @@
<?php exit;?>{
"systemPassword": "8QkjmMGGtVzsqawCp6zy",
"systemName": "KodExplorer",
"systemDesc": "——可道云.资源管理器",
"pathHidden": "Thumb.db,.DS_Store,.gitignore,.git",
"autoLogin": "0",
"needCheckCode": "0",
"firstIn": "explorer",
"passwordCheck": "0",
"newUserApp": "trello,一起写office,微信,365日历,石墨文档,ProcessOn,计算器,icloud,OfficeConverter",
"newUserFolder": "我的文档,图片,视频,音乐",
"newGroupFolder": "share,文档,图片资料,视频资料",
"groupShareFolder": "share",
"desktopFolder": "desktop",
"versionType": "A",
"rootListUser": 0,
"rootListGroup": 0,
"csrfProtect": 0,
"currentVersion": "4.49",
"wallpageDesktop": "1,2,3,4,5,6,7,8,9,10,11,12,13",
"wallpageLogin": "2,3,6,8,9,11,12",
"menu": [
{
"name": "desktop",
"type": "system",
"url": "index.php?desktop",
"target": "_self",
"use": "1"
},
{
"name": "explorer",
"type": "system",
"url": "index.php?explorer",
"target": "_self",
"use": "1"
}
],
"pluginList": {
"photoSwipe": {
"id": "photoSwipe",
"regiest": {
"user.commonJs.insert": "photoSwipePlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "jpg,jpeg,png,bmp,gif,ico,svg,cur,webp",
"fileSort": 20
}
},
"VLCPlayer": {
"id": "VLCPlayer",
"regiest": {
"user.commonJs.insert": "VLCPlayerPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "aac,arc,arj,asf,asx,avi,f4v,flv, m2ts,m4v,mp2,mov,mp3,mp4,mp4v,mpe,mpg,mts,mkv,ogv,3gp,mpeg,wav,wma,wmv,rm,rmvb,vob,webm,webmv, mp3,wav,wma,m4a,aac,oga,ogg,webma",
"fileSort": 1
}
},
"picasa": {
"id": "picasa",
"regiest": {
"user.commonJs.insert": "picasaPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "jpg,jpeg,png,bmp,gif,ico,svg,cur,webp",
"fileSort": 10
}
},
"jPlayer": {
"id": "jPlayer",
"regiest": {
"user.commonJs.insert": "jPlayerPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "mp3,wav,m4a,aac,oga,ogg,webma,mp4,m4v,flv,mov,f4v,ogv,webm,webmv,m3u8a,m3ua,flac,fla,rtmp,rtmpa",
"fileSort": 10
}
},
"imageExif": {
"id": "imageExif",
"regiest": {
"user.commonJs.insert": "imageExifPlugin.echoJs",
"share.image": "imageExifPlugin.imageCheck",
"explorer.image": "imageExifPlugin.imageCheck"
},
"status": 1,
"config": []
},
"officeLive": {
"id": "officeLive",
"regiest": {
"user.commonJs.insert": "officeLivePlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"pluginAuthOpen": 0,
"openWith": "dialog",
"apiServer": "https:\/\/view.officeapps.live.com\/op\/view.aspx?src=",
"fileExt": "doc,docx,docm,dot,dotx,dotm,rtf,xls,xlsx,xlt,xlsb,xlsm,csv,ppt,pptx,pps,ppsx,pptm,potm,ppam,potx,ppsm,odt,ods,odp,ott,ots,otp,wps,wpt",
"fileSort": 55
}
},
"zipView": {
"id": "zipView",
"regiest": {
"user.commonJs.insert": "zipViewPlugin.echoJs",
"globalRequest": "zipViewPlugin.changeData"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "zip,tar,gz,tgz,ipa,apk,rar,7z,iso,bz2,zx,z,arj,epub",
"fileSort": 10
}
},
"simpleClock": {
"id": "simpleClock",
"regiest": {
"user.commonJs.insert": "simpleClockPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1"
}
},
"toolsCommon": {
"id": "toolsCommon",
"regiest": {
"user.commonJs.insert": "toolsCommonPlugin.echoJs"
},
"status": 1,
"config": []
},
"webodf": {
"id": "webodf",
"regiest": {
"user.commonJs.insert": "webodfPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"openWith": "dialog",
"fileExt": "odf,odt,ods,odp",
"fileSort": 5000
}
},
"yzOffice": {
"id": "yzOffice",
"regiest": {
"user.commonJs.insert": "yzOfficePlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"openWith": "dialog",
"fileExt": "doc,docx,docm,dot,dotx,dotm,rtf,wps,wpt,xls,xlsx,xlt,xlsm,csv,ppt,pptx,pps,ppsx",
"fileSort": 50,
"cacheFile": "1",
"preview": "0"
}
},
"DPlayer": {
"id": "DPlayer",
"regiest": {
"user.commonJs.insert": "DPlayerPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"subtitle": "0",
"fileSort": 200,
"fileExt": "mp4,m4v,flv,mov,f4v,ogv,webm,webmv,mkv"
}
},
"adminer": {
"id": "adminer",
"regiest": {
"templateCommonHeader": "adminerPlugin.addMenu"
},
"status": 1,
"config": {
"pluginAuth": "role:1",
"menuSubMenu": 1
}
}
}
}
+59
View File
@@ -0,0 +1,59 @@
<?php
$desktopApps = array(
'my_computer' => array(
"type" => "app",
"content" => "core.explorer('','".LNG('my_computer')."');",
"icon" => STATIC_PATH."images/file_icon/icon_others/computer.png",
"name" => LNG('my_computer'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "",
"resize" => 1
),
'recycle' => array(
"type" => "app",
"content" => "core.explorer('".KOD_USER_RECYCLE."','".LNG('recycle')."');",
"icon" => STATIC_PATH."images/file_icon/icon_others/recycle.png",
"name" => LNG('recycle'),
"menuType" => "systemBox menu-recycle-button",
"ext" => 'oexe',
"path" => "",
"resize" => 1
),
'PluginCenter' => array(
"type" => "app",
"content" => "core.openWindowBig('./index.php?pluginApp/index','".LNG('PluginCenter')."');",
"icon" => STATIC_PATH."images/file_icon/icon_others/plugins.png",
"name" => LNG('PluginCenter'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "",
"resize" => 1
),
'setting' => array(
"type" => "app",
"content" => "core.setting();",
"icon" => STATIC_PATH."images/file_icon/icon_others/setting.png",
"name" => LNG('setting'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "/",
"resize" => 1
),
'appStore' => array(
"type" => "app",
"content" => "core.appStore();",
"icon" => STATIC_PATH."images/file_icon/icon_others/appStore.png",
"name" => LNG('app_store'),
"menuType" => "systemBox menu-default",
"ext" => 'oexe',
"path" => "",
"resize" => 1
)
);
//管理员插件中心
if(!$GLOBALS['isRoot']){
unset($desktopApps['PluginCenter']);
}
return $desktopApps;
View File
+14
View File
@@ -0,0 +1,14 @@
<?php exit;?>{
"1": {
"groupID": 1,
"name": "public",
"parentID": "",
"children": "",
"config": {
"sizeMax": 0,
"sizeUse": 0
},
"path": "public",
"createTime": 1708160661
}
}
+53
View File
@@ -0,0 +1,53 @@
<?php exit;?>{
"1": {
"name": "admin",
"path": "admin",
"password": "dab8398412a1f07151e476ddb3be9a16",
"userID": "1",
"role": "1",
"config": {
"sizeMax": "0",
"sizeUse": 1024
},
"groupInfo": {
"1": "write"
},
"createTime": 1708160661,
"status": 1,
"lastLogin": 1708160678
},
"100": {
"userID": "100",
"name": "demo",
"password": "fe01ce2a7fbac8fafaed7c982a04e229",
"role": "2",
"config": {
"sizeMax": 5,
"sizeUse": 1048576
},
"groupInfo": {
"1": "write"
},
"path": "demo",
"status": 1,
"lastLogin": "",
"createTime": 1708160661
},
"101": {
"userID": "101",
"name": "guest",
"password": "084e0343a0486ff05530df6c705c8bb4",
"role": "100",
"config": {
"sizeMax": 0.1,
"sizeUse": 1048576
},
"groupInfo": {
"1": "read"
},
"path": "guest",
"status": 1,
"lastLogin": "",
"createTime": 1708160661
}
}
+1
View File
@@ -0,0 +1 @@
<?php exit;?>{"1":{"name":"Administrator","extNotAllow":"","explorer.mkdir":0,"explorer.mkfile":0,"explorer.pathRname":0,"explorer.pathDelete":0,"explorer.zip":0,"explorer.unzip":0,"explorer.pathCopy":0,"explorer.pathChmod":0,"explorer.pathCute":0,"explorer.pathCuteDrag":0,"explorer.pathCopyDrag":0,"explorer.clipboard":0,"explorer.pathPast":0,"explorer.pathInfo":0,"explorer.serverDownload":0,"explorer.fileUpload":0,"explorer.search":0,"explorer.pathDeleteRecycle":0,"explorer.fileDownload":0,"explorer.zipDownload":0,"explorer.fileDownloadRemove":0,"explorer.fileProxy":0,"explorer.officeView":0,"explorer.officeSave":0,"app.userApp":0,"app.initApp":0,"app.add":0,"app.edit":0,"app.del":0,"user.changePassword":0,"editor.fileGet":0,"editor.fileSave":0,"userShare.set":0,"userShare.del":0,"setting.set":0,"setting.systemSetting":0,"setting.phpInfo":0,"fav.add":0,"fav.del":0,"fav.edit":0,"systemMember.get":0,"systemMember.add":0,"systemMember.doAction":0,"systemMember.edit":0,"systemGroup.get":0,"systemGroup.add":0,"systemGroup.del":0,"systemGroup.edit":0,"systemRole.add":0,"systemRole.del":0,"systemRole.edit":0},"2":{"name":"default","extNotAllow":"htm|html|php|phtml|pwml|asp|aspx|ascx|jsp|pl|htaccess|shtml|shtm|phtm","explorer.mkdir":1,"explorer.mkfile":1,"explorer.pathRname":1,"explorer.pathDelete":1,"explorer.zip":1,"explorer.unzip":1,"explorer.pathCopy":1,"explorer.pathChmod":0,"explorer.pathCute":1,"explorer.pathCuteDrag":1,"explorer.pathCopyDrag":0,"explorer.clipboard":1,"explorer.pathPast":1,"explorer.pathInfo":1,"explorer.serverDownload":1,"explorer.fileUpload":1,"explorer.search":1,"explorer.pathDeleteRecycle":0,"explorer.fileDownload":1,"explorer.zipDownload":0,"explorer.fileDownloadRemove":0,"explorer.fileProxy":0,"explorer.officeView":0,"explorer.officeSave":0,"app.userApp":1,"app.initApp":0,"app.add":0,"app.edit":0,"app.del":0,"user.changePassword":1,"editor.fileGet":0,"editor.fileSave":1,"userShare.set":1,"userShare.del":1,"setting.set":1,"setting.systemSetting":0,"setting.phpInfo":0,"fav.add":1,"fav.del":1,"fav.edit":1,"systemMember.get":0,"systemMember.add":0,"systemMember.doAction":0,"systemMember.edit":0,"systemGroup.get":0,"systemGroup.add":0,"systemGroup.del":0,"systemGroup.edit":0,"systemRole.add":0,"systemRole.del":0,"systemRole.edit":0},"100":{"name":"guest","extNotAllow":"htm|html|php|phtml|pwml|asp|aspx|ascx|jsp|pl|htaccess|shtml|shtm|phtm","explorer.mkdir":0,"explorer.mkfile":0,"explorer.pathRname":0,"explorer.pathDelete":0,"explorer.zip":0,"explorer.unzip":0,"explorer.pathCopy":0,"explorer.pathChmod":0,"explorer.pathCute":0,"explorer.pathCuteDrag":0,"explorer.pathCopyDrag":0,"explorer.clipboard":0,"explorer.pathPast":0,"explorer.pathInfo":0,"explorer.serverDownload":0,"explorer.fileUpload":0,"explorer.search":1,"explorer.pathDeleteRecycle":0,"explorer.fileDownload":0,"explorer.zipDownload":0,"explorer.fileDownloadRemove":0,"explorer.fileProxy":0,"explorer.officeView":0,"explorer.officeSave":0,"app.userApp":0,"app.initApp":0,"app.add":0,"app.edit":0,"app.del":0,"user.changePassword":0,"editor.fileGet":0,"editor.fileSave":0,"userShare.set":0,"userShare.del":0,"setting.set":0,"setting.systemSetting":0,"setting.phpInfo":0,"fav.add":0,"fav.del":0,"fav.edit":0,"systemMember.get":0,"systemMember.add":0,"systemMember.doAction":0,"systemMember.edit":0,"systemGroup.get":0,"systemGroup.add":0,"systemGroup.del":0,"systemGroup.edit":0,"systemRole.add":0,"systemRole.del":0,"systemRole.edit":0}}
@@ -0,0 +1,31 @@
<?php exit;?>{
"1": {
"name": "read",
"style": "blue-light",
"display": 1,
"actions": {
"read:list": 1,
"read:info": 1,
"read:copy": 1,
"read:preview": 1,
"read:download": 1
}
},
"2": {
"name": "write",
"style": "blue-deep",
"display": 1,
"actions": {
"read:list": 1,
"read:info": 1,
"read:copy": 1,
"read:preview": 1,
"read:download": 1,
"write:add": 1,
"write:edit": 1,
"write:change": 1,
"write:upload": 1,
"write:remove": 1
}
}
}
+196
View File
@@ -0,0 +1,196 @@
<?php exit;?>{
"systemPassword": "8QkjmMGGtVzsqawCp6zy",
"systemName": "KodExplorer",
"systemDesc": "——可道云.资源管理器",
"pathHidden": "Thumb.db,.DS_Store,.gitignore,.git",
"autoLogin": "0",
"needCheckCode": "0",
"firstIn": "explorer",
"passwordCheck": "0",
"newUserApp": "trello,一起写office,微信,365日历,石墨文档,ProcessOn,计算器,icloud,OfficeConverter",
"newUserFolder": "我的文档,图片,视频,音乐",
"newGroupFolder": "share,文档,图片资料,视频资料",
"groupShareFolder": "share",
"desktopFolder": "desktop",
"versionType": "A",
"rootListUser": 0,
"rootListGroup": 0,
"csrfProtect": 0,
"currentVersion": "4.49",
"wallpageDesktop": "1,2,3,4,5,6,7,8,9,10,11,12,13",
"wallpageLogin": "2,3,6,8,9,11,12",
"menu": [
{
"name": "desktop",
"type": "system",
"url": "index.php?desktop",
"target": "_self",
"use": "1"
},
{
"name": "explorer",
"type": "system",
"url": "index.php?explorer",
"target": "_self",
"use": "1"
}
],
"pluginList": {
"photoSwipe": {
"id": "photoSwipe",
"regiest": {
"user.commonJs.insert": "photoSwipePlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "jpg,jpeg,png,bmp,gif,ico,svg,cur,webp",
"fileSort": 20
}
},
"VLCPlayer": {
"id": "VLCPlayer",
"regiest": {
"user.commonJs.insert": "VLCPlayerPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "aac,arc,arj,asf,asx,avi,f4v,flv, m2ts,m4v,mp2,mov,mp3,mp4,mp4v,mpe,mpg,mts,mkv,ogv,3gp,mpeg,wav,wma,wmv,rm,rmvb,vob,webm,webmv, mp3,wav,wma,m4a,aac,oga,ogg,webma",
"fileSort": 1
}
},
"picasa": {
"id": "picasa",
"regiest": {
"user.commonJs.insert": "picasaPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "jpg,jpeg,png,bmp,gif,ico,svg,cur,webp",
"fileSort": 10
}
},
"jPlayer": {
"id": "jPlayer",
"regiest": {
"user.commonJs.insert": "jPlayerPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "mp3,wav,m4a,aac,oga,ogg,webma,mp4,m4v,flv,mov,f4v,ogv,webm,webmv,m3u8a,m3ua,flac,fla,rtmp,rtmpa",
"fileSort": 10
}
},
"imageExif": {
"id": "imageExif",
"regiest": {
"user.commonJs.insert": "imageExifPlugin.echoJs",
"share.image": "imageExifPlugin.imageCheck",
"explorer.image": "imageExifPlugin.imageCheck"
},
"status": 1,
"config": []
},
"officeLive": {
"id": "officeLive",
"regiest": {
"user.commonJs.insert": "officeLivePlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"pluginAuthOpen": 0,
"openWith": "dialog",
"apiServer": "https:\/\/view.officeapps.live.com\/op\/view.aspx?src=",
"fileExt": "doc,docx,docm,dot,dotx,dotm,rtf,xls,xlsx,xlt,xlsb,xlsm,csv,ppt,pptx,pps,ppsx,pptm,potm,ppam,potx,ppsm,odt,ods,odp,ott,ots,otp,wps,wpt",
"fileSort": 55
}
},
"zipView": {
"id": "zipView",
"regiest": {
"user.commonJs.insert": "zipViewPlugin.echoJs",
"globalRequest": "zipViewPlugin.changeData"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"fileExt": "zip,tar,gz,tgz,ipa,apk,rar,7z,iso,bz2,zx,z,arj,epub",
"fileSort": 10
}
},
"simpleClock": {
"id": "simpleClock",
"regiest": {
"user.commonJs.insert": "simpleClockPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1"
}
},
"toolsCommon": {
"id": "toolsCommon",
"regiest": {
"user.commonJs.insert": "toolsCommonPlugin.echoJs"
},
"status": 1,
"config": []
},
"webodf": {
"id": "webodf",
"regiest": {
"user.commonJs.insert": "webodfPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"openWith": "dialog",
"fileExt": "odf,odt,ods,odp",
"fileSort": 5000
}
},
"yzOffice": {
"id": "yzOffice",
"regiest": {
"user.commonJs.insert": "yzOfficePlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"openWith": "dialog",
"fileExt": "doc,docx,docm,dot,dotx,dotm,rtf,wps,wpt,xls,xlsx,xlt,xlsm,csv,ppt,pptx,pps,ppsx",
"fileSort": 50,
"cacheFile": "1",
"preview": "0"
}
},
"DPlayer": {
"id": "DPlayer",
"regiest": {
"user.commonJs.insert": "DPlayerPlugin.echoJs"
},
"status": 1,
"config": {
"pluginAuth": "all:1",
"subtitle": "0",
"fileSort": 200,
"fileExt": "mp4,m4v,flv,mov,f4v,ogv,webm,webmv,mkv"
}
},
"adminer": {
"id": "adminer",
"regiest": {
"templateCommonHeader": "adminerPlugin.addMenu"
},
"status": 1,
"config": {
"pluginAuth": "role:1",
"menuSubMenu": 1
}
}
}
}