├── Template
├── Admin
│ ├── fs
│ ├── footer.html
│ ├── edit_pwd.html
│ ├── login_log.html
│ ├── add_link.html
│ ├── edit_link.html
│ ├── login.html
│ ├── access_log.html
│ ├── edit_user.html
│ ├── header.html
│ ├── control_link.html
│ ├── index.html
│ ├── add.html
│ ├── control_feedback.html
│ ├── edit.html
│ ├── control.html
│ └── control_post.html
├── Home
│ ├── footer.html
│ ├── not_auth.html
│ ├── error.html
│ ├── jump.html
│ ├── 404.html
│ ├── close.html
│ ├── friendlinks.html
│ ├── about.html
│ └── header.html
└── Install
│ ├── start.html
│ ├── step_4.html
│ ├── step_3.html
│ ├── step_1.html
│ ├── step_2.html
│ └── localhost_test.sql
├── Core
├── Database
│ └── .empty_file
├── Config
│ ├── apikey.php
│ ├── loginInfo.php
│ ├── webSet.php
│ └── server.php
├── init.php
└── install.php
├── Include
├── 404.php
├── About.php
├── Home.php
├── Jump.php
├── Error.php
├── Friendlinks.php
├── Doc.php
├── Admin.php
├── Install.php
├── Firewall
│ ├── DisSQL.php
│ └── CCProtect.php
├── PHPMailer
│ └── Exception.php
├── Index.php
└── Common.php
├── favicon.ico
├── index.php
├── assets
├── images
│ ├── 404.png
│ ├── app.png
│ ├── fix.png
│ ├── pay
│ │ ├── ali.jpg
│ │ ├── qq.jpg
│ │ └── wechat.jpg
│ ├── user_bg.jpg
│ └── background.png
├── fonts
│ └── roboto
│ │ ├── Roboto-Black.woff
│ │ ├── Roboto-Bold.woff
│ │ ├── Roboto-Bold.woff2
│ │ ├── Roboto-Light.woff
│ │ ├── Roboto-Thin.woff
│ │ ├── Roboto-Thin.woff2
│ │ ├── Roboto-Black.woff2
│ │ ├── Roboto-Light.woff2
│ │ ├── Roboto-Medium.woff
│ │ ├── Roboto-Medium.woff2
│ │ ├── Roboto-Regular.woff
│ │ ├── Roboto-Regular.woff2
│ │ ├── Roboto-BoldItalic.woff
│ │ ├── Roboto-ThinItalic.woff
│ │ ├── Roboto-BlackItalic.woff
│ │ ├── Roboto-BlackItalic.woff2
│ │ ├── Roboto-BoldItalic.woff2
│ │ ├── Roboto-LightItalic.woff
│ │ ├── Roboto-LightItalic.woff2
│ │ ├── Roboto-MediumItalic.woff
│ │ ├── Roboto-MediumItalic.woff2
│ │ ├── Roboto-RegularItalic.woff
│ │ ├── Roboto-ThinItalic.woff2
│ │ └── Roboto-RegularItalic.woff2
├── css
│ ├── 994575169312f0027615406d265202f2.png
│ ├── 113e7623163d4cb7f965cd8f8d3859eb.woff2
│ ├── 33d48155cd9f38c64e71b9d016dd61fb.woff
│ ├── 3a0ee5b0beec8d0ead1336016cbe19ad.woff2
│ ├── 3b52bc86749058f144deb815c481ca5b.woff2
│ ├── 770a8fca674a3550e241a6de7fa82d8b.woff
│ ├── 83bebaf37c09c7e1c3ee52682892ae14.woff
│ ├── 8bd7856b64b4313341ebfbc0136c9d74.woff
│ ├── 8be651082cc0d07c84f633965e8ced59.woff
│ ├── b92cc2170a4d5438fd3d19f349ce3785.woff2
│ ├── c065bd9fa03a7a797d95ba7f198a9dcf.woff2
│ ├── cff684e59ffb052d72cb8d5e49471553.woff2
│ ├── d85436fa35b78a399a68b44491fa3478.woff
│ ├── eb797abfa6a5cca2463e423c07c4f6ea.woff
│ ├── f21b7e045fd077321cdaf92cab817cd3.woff2
│ ├── highlight.min.css
│ ├── 4fb701ba006326e351298a120baa1284.svg
│ ├── 0a3424f1a2cc42d9637f8ab1f9d55733.svg
│ ├── 4a718302573d384b438fc47f8a3c5031.svg
│ └── style.css
├── icons
│ └── material-icons
│ │ ├── MaterialIcons-Regular.woff
│ │ └── MaterialIcons-Regular.woff2
└── js
│ ├── jquery.cookie.min.js
│ ├── index.js
│ ├── smooth-scroll.polyfills.min.js
│ └── clipboard.min.js
├── API
├── yiyan.php
└── function.php
├── Data
├── init.php
└── api.php
├── config.inc.php
├── config.php
└── README.md
/Template/Admin/fs:
--------------------------------------------------------------------------------
1 | fs
2 |
--------------------------------------------------------------------------------
/Core/Database/.empty_file:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Core/Config/apikey.php:
--------------------------------------------------------------------------------
1 | query("SELECT username,password FROM `mxgapi_config`")->fetch_assoc();
3 |
--------------------------------------------------------------------------------
/assets/images/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/images/background.png
--------------------------------------------------------------------------------
/assets/images/pay/wechat.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/images/pay/wechat.jpg
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-Black.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-Black.woff
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-Bold.woff
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-Bold.woff2
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-Light.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-Light.woff
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-Thin.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-Thin.woff
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-Thin.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-Thin.woff2
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-Black.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-Black.woff2
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-Light.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-Light.woff2
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-Medium.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-Medium.woff
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-Medium.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-Medium.woff2
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-Regular.woff
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-Regular.woff2
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-BoldItalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-BoldItalic.woff
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-ThinItalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-ThinItalic.woff
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-BlackItalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-BlackItalic.woff
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-BlackItalic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-BlackItalic.woff2
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-BoldItalic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-BoldItalic.woff2
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-LightItalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-LightItalic.woff
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-LightItalic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-LightItalic.woff2
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-MediumItalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-MediumItalic.woff
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-MediumItalic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-MediumItalic.woff2
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-RegularItalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-RegularItalic.woff
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-ThinItalic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-ThinItalic.woff2
--------------------------------------------------------------------------------
/assets/css/994575169312f0027615406d265202f2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/css/994575169312f0027615406d265202f2.png
--------------------------------------------------------------------------------
/assets/fonts/roboto/Roboto-RegularItalic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/renyancheng/MuXiuGeAPIAdmin/HEAD/assets/fonts/roboto/Roboto-RegularItalic.woff2
--------------------------------------------------------------------------------
/API/yiyan.php:
--------------------------------------------------------------------------------
1 | query("SELECT * FROM `mxgapi_friendlinks`;")->fetch_all(MYSQLI_ASSOC);
4 |
5 | // 载入友链页面
6 | require_once __TEMPLATE_DIR__.'/Home/friendlinks.html';
--------------------------------------------------------------------------------
/Core/Config/webSet.php:
--------------------------------------------------------------------------------
1 | query("SELECT title,subtitle,description,keywords,favicon,email,qq,url,icp,copyright,theme,accent,qqqrcode,vxqrcode,aliqrcode,post_id,close_site,cc_protect,fire_wall,end_script FROM `mxgapi_config`")->fetch_assoc();
3 |
--------------------------------------------------------------------------------
/Data/init.php:
--------------------------------------------------------------------------------
1 | expand_less
2 |
3 |
4 |
--------------------------------------------------------------------------------
/config.inc.php:
--------------------------------------------------------------------------------
1 |
2 | expand_less
3 |
4 | ';
7 | echo $config['end_script'];
8 | echo '';
9 | }
10 | ?>
--------------------------------------------------------------------------------
/Core/Config/server.php:
--------------------------------------------------------------------------------
1 | PHP_VERSION,
4 | 'php_uname' => PHP_OS,
5 | 'server_software' => $_SERVER['SERVER_SOFTWARE'],
6 | 'upload_max_filesize' => get_cfg_var("upload_max_filesize")?get_cfg_var ("upload_max_filesize"):"不允许上传附件",
7 | 'max_execution_time' => get_cfg_var("max_execution_time")."秒 ",
8 | 'memory_limit' => get_cfg_var ("memory_limit")?get_cfg_var("memory_limit"):"无"
9 | );
--------------------------------------------------------------------------------
/Include/Doc.php:
--------------------------------------------------------------------------------
1 | query("SELECT name,status FROM `mxgapi_api` WHERE `id`='{$id}';")->fetch_assoc();
13 | $status = $result['status'];
14 | if($status == '0'){
15 | include __DIR__.'/error.php';
16 | exit;
17 | }
18 | }
19 |
20 |
21 |
22 | // 载入文档页面
23 | include __TEMPLATE_DIR__.'/Home/doc.html';
--------------------------------------------------------------------------------
/config.php:
--------------------------------------------------------------------------------
1 | 0){
13 | /* 连接字符串构成文件 */
14 | $file = __TEMPLATE_DIR__.'/Install/step_'.$step.'.html';
15 | }else{
16 | $file = __TEMPLATE_DIR__.'/Install/start.html';
17 | $_SESSION['install_step'] = 1;
18 | }
19 |
20 | /* 若有该页面,直接包含 */
21 | if(file_exists($file)){
22 | include $file;
23 | }else{
24 | include __TEMPLATE_DIR__.'/Install/start.html';
25 | $_SESSION['install_step'] = 1;
26 | }
--------------------------------------------------------------------------------
/assets/css/highlight.min.css:
--------------------------------------------------------------------------------
1 | .hljs{display:block;overflow-x:auto;padding:0.5em;background:#FFFFDF;}.hljs,.hljs-type,.hljs-function,.hljs-name,.hljs-number,.hljs-attr,.hljs-params,.hljs-subst{color:#000000;}.hljs-comment,.hljs-regexp,.hljs-section,.hljs-selector-pseudo,.hljs-addition{color:#00AAAA;}.hljs-title,.hljs-tag,.hljs-variable,.hljs-code{color:#006666;}.hljs-keyword,.hljs-class,.hljs-meta-keyword,.hljs-selector-class,.hljs-built_in,.hljs-builtin-name{color:#006666;font-weight:bold;}.hljs-string,.hljs-selector-attr{color:#0080FF;}.hljs-symbol,.hljs-link,.hljs-deletion,.hljs-attribute{color:#924B72;}.hljs-meta,.hljs-literal,.hljs-selector-id{color:#924B72;font-weight:bold;}.hljs-strong,.hljs-name{font-weight:bold;}.hljs-emphasis{font-style:italic;}
--------------------------------------------------------------------------------
/assets/css/4fb701ba006326e351298a120baa1284.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/Include/Firewall/DisSQL.php:
--------------------------------------------------------------------------------
1 | $value) {
3 | $value = addslashes($value);
4 | $value = str_replace("%", "\%", $value); // 把' % '过滤掉
5 | $value = nl2br($value); // 回车转换
6 | $value = htmlspecialchars($value); // html标记转换
7 | $_REQUEST[$key] = $value;
8 | }
9 | foreach ($_GET as $key => $value) {
10 | $value = addslashes($value);
11 | $value = str_replace("%", "\%", $value); // 把' % '过滤掉
12 | $value = nl2br($value); // 回车转换
13 | $value = htmlspecialchars($value); // html标记转换
14 | $_GET[$key] = $value;
15 | }
16 | foreach ($_POST as $key => $value) {
17 | $value = addslashes($value);
18 | $value = str_replace("%", "\%", $value); // 把' % '过滤掉
19 | $value = nl2br($value); // 回车转换
20 | $value = htmlspecialchars($value); // html标记转换
21 | $_POST[$key] = $value;
22 | }
--------------------------------------------------------------------------------
/Include/Firewall/CCProtect.php:
--------------------------------------------------------------------------------
1 | = $timestamp) {
24 | header('HTTP/1.0 444');
25 | exit;
26 | }
27 |
28 | // 判断时间间隔
29 | if (($cc_nowtime - $cc_lasttime) < 30) {
30 | // 判断访问次数
31 | if ($cc_times >= 10) {
32 | // 达到访问限制,进行封锁,‘+‘后面为封禁时间,单位是秒
33 | $_SESSION['cc_locktime'] = $timestamp + 60;
34 | header('HTTP/1.0 444');
35 | exit;
36 | }
37 | } else {
38 | $cc_times = 0;
39 | $_SESSION['cc_lasttime'] = $cc_nowtime;
40 | $_SESSION['cc_times'] = $cc_times;
41 | }
42 |
--------------------------------------------------------------------------------
/assets/css/0a3424f1a2cc42d9637f8ab1f9d55733.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/assets/css/4a718302573d384b438fc47f8a3c5031.svg:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # MuXiuGeAPIAdmin
2 | ## 前言
3 | ### 为什么做这一套管理程序?
4 | 在我没有一套完整的管理程序前,我在每次添加API时都要自己打开html文件去自己编辑才可以,而且又麻烦,就很烦,于是就有了这么一个系统。
5 |
6 | ## 功能
7 | + 添加,修改,删除接口
8 | + 添加,修改,删除友情链接
9 | + 管理你的站点信息
10 | + 访问日志
11 | + 使用邮件接口反馈
12 | + 后台登陆记录
13 | + 自定义添加公告
14 | + 接口调用统计
15 | 等等等...更多功能等你来探索!
16 |
17 | ## 常见的问题
18 | [Wiki](https://github.com/mufeng233/MuXiuGeAPIAdmin/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
19 |
20 | ## Demo
21 | [api.mwind.top](https://api.mwind.top/)
22 |
23 | ## Docs
24 | [doc.muxiuge.cn](http://doc.muxiuge.cn/)
25 |
26 | ## 用到的技术
27 | + MDUI框架
28 | + JQuery.js
29 | + Vue.js
30 | + SweetAlert.js
31 | + ClipBoard.js
32 | + HighLight.js
33 | + Smooth-Scroll.polyfills.js
34 | + Chart.js
35 |
36 | ## 联系方式
37 | + 微信:mufeng_vx
38 | + QQ:2441260435
39 | + 邮箱:2441260435@qq.com
40 |
41 | ## 请我喝咖啡☕️
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/assets/js/jquery.cookie.min.js:
--------------------------------------------------------------------------------
1 | /*! jquery.cookie v1.4.1 | MIT */
2 | !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?a(require("jquery")):a(jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}});
--------------------------------------------------------------------------------
/Template/Home/not_auth.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
37 | 不妨先去看看其他接口吧
40 |
37 | 这个页面似乎什么都没有
40 |
38 | 很抱歉,站点正在维护中,请稍后访问
41 |欢迎使用 MXGAPI管理系统,在开始前,我们需要您数据库的一些信息,请你准备好如下信息并为MXGAPI管理系统创建一个数据库:
31 |这些信息应该由你的服务器商提供,如果准备好了的话,现在开始!
39 | 现在开始 40 |