├── .buildpath ├── .gitignore ├── .project ├── .settings ├── org.eclipse.core.resources.prefs ├── org.eclipse.php.core.prefs └── org.eclipse.wst.common.project.facet.core.xml ├── .travis.yml ├── LICENSE.txt ├── README.md ├── application ├── .htaccess ├── admin │ ├── common.php │ ├── config.php │ ├── controller │ │ ├── Auth.php │ │ ├── Base.php │ │ ├── Cls.php │ │ ├── Common.php │ │ ├── Cou.php │ │ ├── Duanxin.php │ │ ├── Error.php │ │ ├── Index.php │ │ ├── Menu.php │ │ ├── Pay.php │ │ ├── Rec.php │ │ ├── Rizhi.php │ │ ├── Role.php │ │ ├── Stu.php │ │ ├── Tch.php │ │ ├── Tu.php │ │ ├── Type.php │ │ ├── User.php │ │ └── Users.php │ ├── model │ │ ├── AuthGroup.php │ │ ├── AuthGroupAccess.php │ │ ├── AuthRule.php │ │ ├── CourseInfo.php │ │ ├── ErrortestInfo.php │ │ ├── Logs.php │ │ ├── PayInfo.php │ │ ├── RecordInfo.php │ │ ├── StuInfo.php │ │ ├── TeacherInfo.php │ │ ├── TypeInfo.php │ │ ├── TypeVal.php │ │ └── User.php │ └── view │ │ ├── base │ │ ├── baseadd.html │ │ ├── baseedit.html │ │ └── baselist.html │ │ ├── cls │ │ ├── clsadd.html │ │ ├── clsedit.html │ │ └── clslist.html │ │ ├── cou │ │ ├── couadd.html │ │ ├── couedit.html │ │ └── coulist.html │ │ ├── duanxin │ │ └── index.html │ │ ├── error │ │ ├── erroradd.html │ │ ├── erroradd123.html │ │ ├── erroredit.html │ │ ├── erroredit11.html │ │ ├── errorlist.html │ │ ├── stuTongji.html │ │ ├── stucha.html │ │ ├── teaErroradd.html │ │ ├── teaErroredit.html │ │ └── teaErrorlist.html │ │ ├── index │ │ ├── index.html │ │ └── main.html │ │ ├── menu │ │ ├── addmenu.html │ │ ├── editMenu.html │ │ └── menuManage.html │ │ ├── pay │ │ ├── payadd.html │ │ ├── payedit.html │ │ └── paylist.html │ │ ├── rec │ │ ├── recadd.html │ │ ├── recedit.html │ │ ├── reclist.html │ │ ├── teaRecadd.html │ │ ├── teaRecedit.html │ │ └── teaReclist.html │ │ ├── rizhi │ │ └── rizhilist.html │ │ ├── role │ │ ├── addrole.html │ │ ├── editrole.html │ │ ├── roleManage1.html │ │ ├── rolemanage.html │ │ └── setRole.html │ │ ├── stu │ │ ├── clslist.html │ │ ├── paymentlist.html │ │ ├── stuadd.html │ │ ├── stuedit.html │ │ └── stulist.html │ │ ├── tch │ │ ├── tchadd.html │ │ ├── tchedit.html │ │ └── tchlist.html │ │ ├── type │ │ ├── typeadd.html │ │ ├── typeedit.html │ │ └── typelist.html │ │ ├── user │ │ ├── chpwd.html │ │ └── login.html │ │ └── users │ │ ├── useradd.html │ │ ├── useredit.html │ │ └── userlist.html ├── api │ ├── common.php │ ├── config.php │ ├── controller │ │ ├── v1 │ │ │ └── User.php │ │ └── v2 │ │ │ └── User.php │ └── model │ │ ├── Profile.php │ │ └── User.php ├── command.php ├── common.php ├── config.php ├── database.php ├── database_w.php ├── demo │ ├── common.php │ ├── config.php │ ├── controller │ │ ├── Base.php │ │ ├── Blog.php │ │ ├── Error.php │ │ ├── Index.php │ │ └── Zhushou.php │ ├── database.php │ └── view │ │ └── index │ │ └── index.html ├── index │ └── controller │ │ ├── Base.php │ │ └── Index.php ├── route.php └── tags.php ├── build.php ├── ceshi.html ├── composer.json ├── cuoti20170615.sql ├── del-svn.bat ├── extend └── .gitignore ├── public ├── .htaccess ├── favicon.ico ├── index.php ├── robots.txt ├── router.php ├── static │ └── .gitignore ├── upgrade.html └── uploads │ ├── 20170608 │ ├── 429fcfb23f9752b2261c68d144202134.jpg │ └── 7ffe981addc42a28b3fddc963478366d.jpg │ ├── 20170610 │ ├── 14b034abd7951be335639a2222c21e1f.jpg │ ├── 67b2178486fdae53581832534b0e41cd.jpg │ ├── 67efad30ce1a1e92ba9e3f50a95edb78.jpg │ ├── 968146480def7c259e6431fec3032965.jpg │ └── 98b1fdd448def62896776ce638a307ab.jpg │ ├── 20170613 │ ├── 01aa68a60d87a95af22ff53eb1cbeac3.jpg │ ├── 035ef56d12eabdf52a08c125b623000c.jpg │ ├── 150a8645d5bda8e78503c5fba8d47025.jpg │ ├── 181770afdad692adea890324bd0ee564.jpg │ ├── 25bf2f49a1dea1f6aadb8916df58bd0e.jpg │ ├── 285b17fea280d145ecd1157b6cc52687.jpg │ ├── 2b6a63cb6f97df3dbab531b5ce6b7a04.jpg │ ├── 314e28755b319df3b2d71604b8444ca8.jpg │ ├── 35769ed9ee521a430078959ab6d302cf.jpg │ ├── 363044f248d3e94aeb177eb5ba63204b.jpg │ ├── 40bb8a58b7b798b38c31d87b4754402b.jpg │ ├── 448dc6343f0a93a7a8fc97c5d6dd9d6b.jpg │ ├── 47131848085ad56da2d8929a3a644573.jpg │ ├── 4844723b91abaf1f9128cd39c8d34c4b.jpg │ ├── 4c19afbd8b0a6c823c9007479850c3af.jpg │ ├── 4c9865ffd471322f138582e3cb1c25dc.jpg │ ├── 5142ebd73079bc535541515408d760c5.jpg │ ├── 5378b5018d8018440eacf7e5f80438f5.jpg │ ├── 54649727d552bdc842506f9711bf353c.jpg │ ├── 56cd239de64af60a006c1dc05bbb456f.jpg │ ├── 58895175a606ed5693062c56a714e9c1.jpg │ ├── 5fced0abc014906d4df4b30a62e051f6.jpg │ ├── 6158350c06027f4d85398fde99ec9157.jpg │ ├── 6233976564accb050c74de50562b67c0.jpg │ ├── 71a4f8eea93ea7ee3784072fb2b614a3.jpg │ ├── 7565b12de49c776e7c51b03a76b93bed.jpg │ ├── 779477a613720c7e250b1217c0939e0a.jpg │ ├── 7a51247e55df8e2104d5082fe185db72.jpg │ ├── 7e837c29b2bb81621b233718207d3994.jpg │ ├── 804deb6b2349a341f8cf9df92101a2d1.jpg │ ├── 83f3bf391d5b23d362be7ed69db39ba8.jpg │ ├── 87323f8120c33f97196ce3cbeaf7af34.gif │ ├── 87e7cd4422ecf0e798c54b6a39fed30f.jpg │ ├── 9f3dba8697e2229e7da6e6e05934366a.jpg │ ├── a9641e0ec6dfe2346c4de4541ddbddba.gif │ ├── b1b618d3a6e6d276a86a785f1c71e488.jpg │ ├── b26c7cc49b6767716757f2d67cc17cfe.jpg │ ├── bfc81f0778faafa98e9f0ced298f6d9d.jpg │ ├── c0aaa85992ac925caa75170c7ec8ae93.jpg │ ├── c1cb314251694d63663f9f40895bc14d.jpg │ ├── c2108a3b7377a9dd046d5c250f482ccc.jpg │ ├── c23986bcf2af96f1c4071cf3b13ca4d2.jpg │ ├── cd0ea455c95821d9447eef475a8f0885.jpg │ ├── d078a906a41a65e794ede024dfce3cdf.jpg │ ├── d1be59aeab4040e2f3a6a243af9d1a98.jpg │ ├── d2f53f3037bcaaa6c4e5e6a0a27a454d.gif │ ├── d44f5a4cfbff7a7e85b8d12096ef858a.jpg │ ├── dbb893060488f9bdedc4c324ef761520.jpg │ ├── de899f95301ea9f3a319c9146310f3a6.jpg │ ├── df9dcac8bbbf02261d8ff4bdc62b34cf.jpg │ ├── e4503aec950cee989ab5f271ca0f7127.jpg │ ├── e4db050d46ae3b1f4cd8111c9c95f9e2.jpg │ ├── ea2f85994b8f81e6a4c953e796320182.jpg │ ├── f2971bb49acd264c07ef6c0cbade593f.gif │ ├── fdc70a28f9c04c8a87441acc698406d0.jpg │ └── ff8e16ab7e204179a76b0165605fce6d.jpg │ ├── 20170614 │ ├── 037ab3b44aa29e45f663af9b8ee3bac8.jpg │ ├── 0c3f1e74d224a341f6b5aa8853bd19d5.gif │ ├── 15dbc950c11dc239a68b60fafa53b079.jpg │ ├── 1af9000b130bed617d96f87b7a210785.gif │ ├── 1fdf2e51e375d0a587ba58d61d9a3f1f.jpg │ ├── 20bdb25af48cde072fc0493c512ba15e.jpg │ ├── 374ab184a6c6cf4a85d9689735651f02.gif │ ├── 4047bfe191d247aa06ff9214d9dd7e3f.gif │ ├── 433b054646e49a50c96189d653a43626.jpg │ ├── 438cb41cd83b3f3fa2de276cd7b57d05.gif │ ├── 48d3acb730860574c0c0fd90268e4cf2.jpg │ ├── 4ecfe8d87e7bc418ca97a78ab8f7c4cc.gif │ ├── 5311106a882c96b0b2f3a46243989195.gif │ ├── 5b1ba231850fbadaae61e1a7390dfb3a.gif │ ├── 5b8dc489a836a1fca9a247369291ec30.gif │ ├── 5f6bb79bb298bddc04e5c4fb93e641bd.gif │ ├── 7169dfe05c5bc840bb80cfba469ab331.jpg │ ├── 893cd71a738aa88a7d1a3d0fcf545445.gif │ ├── 8a02167285f8cb65b084435c536af545.gif │ ├── 8a089717e7fd43cc87c6aff01bf544e6.gif │ ├── 8b6a48bb0c2e3efb5420c920bea5339a.gif │ ├── 94fba89e1fffcf2bebe80e0abcde34a1.gif │ ├── 96cf9a1b404c08c3fe6f5341a5342ba2.gif │ ├── 9a29de6acab53852f66aabd75642b36d.gif │ ├── 9c8203484534df9ce66956b7ff1b24db.jpg │ ├── 9ceb3252c892b063f2d10d5e2e15202f.gif │ ├── ac50321a0ddec95eccc2e369a48cc8e7.gif │ ├── b2c430b968db2c174b5a3b492bed2532.jpg │ ├── b49230e7e41dda2e81c012485e7ac5a6.jpg │ ├── b5cd534fefb49560c35e299495749659.gif │ ├── b8675a64418131cbeb490efcd4503b57.gif │ ├── b99e1fcd6f4b70d06070267f20ff5e92.gif │ ├── ba57f67fb82814683e4df08d3bc4cac2.jpg │ ├── bfb47086548bb4a3dc7d5f0248b58b57.gif │ ├── c0bde0610da1507d050da204899677ac.gif │ ├── c4e01fa10e2794ad602db954444ea3fa.gif │ ├── cab5675e977f7ce7eabd0d82353b7aaa.gif │ ├── d2e05144e5aaf7a8db96477b14289f3f.gif │ ├── d4003d9664ac08c1bd01977d9d72e8cd.gif │ ├── d44ce1f0f237b48d997a35bee0d8ef97.gif │ ├── e10a8fe90d1723d6c4cb64246bedb61e.gif │ ├── e43a4b90b9ab2d310db359ce8fa0a7fd.gif │ ├── f016d0ee02b93ebf9ee4389240f42d8f.jpg │ ├── f1c3be7c1d632814663e664589d6d6a3.gif │ ├── f36eedd3aa0a927f4ce04d6ee785575c.gif │ ├── f50919b95bb6e16ed464b6d24d6bb488.gif │ ├── f8377bd5e7e986c73a3fde07c0dc716c.gif │ ├── f9ad2beea4fc9704514c2292e2293c13.jpg │ └── feb72ffc9f3e08ddb2be2b355de90def.gif │ └── 20170615 │ ├── a3d3282658b687a3db3add0406bbdb5a.jpg │ └── e9870ba047b01b22d414f5a954d6f5bc.gif ├── runtime └── .gitignore ├── think └── vendor └── .gitignore /.buildpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | composer.lock 3 | *.log 4 | thinkphp 5 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | cuoti 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.wst.common.project.facet.core.builder 10 | 11 | 12 | 13 | 14 | org.eclipse.wst.validation.validationbuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.dltk.core.scriptbuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.php.core.PHPNature 26 | org.eclipse.wst.common.project.facet.core.nature 27 | 28 | 29 | -------------------------------------------------------------------------------- /.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /.settings/org.eclipse.php.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | include_path=0;/cuoti 3 | -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: php 4 | 5 | branches: 6 | only: 7 | - stable 8 | 9 | cache: 10 | directories: 11 | - $HOME/.composer/cache 12 | 13 | before_install: 14 | - composer self-update 15 | 16 | install: 17 | - composer install --no-dev --no-interaction --ignore-platform-reqs 18 | - zip -r --exclude='*.git*' --exclude='*.zip' --exclude='*.travis.yml' ThinkPHP_Core.zip . 19 | - composer require --update-no-dev --no-interaction "topthink/think-image:^1.0" 20 | - composer require --update-no-dev --no-interaction "topthink/think-migration:^1.0" 21 | - composer require --update-no-dev --no-interaction "topthink/think-captcha:^1.0" 22 | - composer require --update-no-dev --no-interaction "topthink/think-mongo:^1.0" 23 | - composer require --update-no-dev --no-interaction "topthink/think-worker:^1.0" 24 | - composer require --update-no-dev --no-interaction "topthink/think-helper:^1.0" 25 | - composer require --update-no-dev --no-interaction "topthink/think-queue:^1.0" 26 | - composer require --update-no-dev --no-interaction "topthink/think-angular:^1.0" 27 | - composer require --dev --update-no-dev --no-interaction "topthink/think-testing:^1.0" 28 | - zip -r --exclude='*.git*' --exclude='*.zip' --exclude='*.travis.yml' ThinkPHP_Full.zip . 29 | 30 | script: 31 | - php think unit 32 | 33 | deploy: 34 | provider: releases 35 | api_key: 36 | secure: TSF6bnl2JYN72UQOORAJYL+CqIryP2gHVKt6grfveQ7d9rleAEoxlq6PWxbvTI4jZ5nrPpUcBUpWIJHNgVcs+bzLFtyh5THaLqm39uCgBbrW7M8rI26L8sBh/6nsdtGgdeQrO/cLu31QoTzbwuz1WfAVoCdCkOSZeXyT/CclH99qV6RYyQYqaD2wpRjrhA5O4fSsEkiPVuk0GaOogFlrQHx+C+lHnf6pa1KxEoN1A0UxxVfGX6K4y5g4WQDO5zT4bLeubkWOXK0G51XSvACDOZVIyLdjApaOFTwamPcD3S1tfvuxRWWvsCD5ljFvb2kSmx5BIBNwN80MzuBmrGIC27XLGOxyMerwKxB6DskNUO9PflKHDPI61DRq0FTy1fv70SFMSiAtUv9aJRT41NQh9iJJ0vC8dl+xcxrWIjU1GG6+l/ZcRqVx9V1VuGQsLKndGhja7SQ+X1slHl76fRq223sMOql7MFCd0vvvxVQ2V39CcFKao/LB1aPH3VhODDEyxwx6aXoTznvC/QPepgWsHOWQzKj9ftsgDbsNiyFlXL4cu8DWUty6rQy8zT2b4O8b1xjcwSUCsy+auEjBamzQkMJFNlZAIUrukL/NbUhQU37TAbwsFyz7X0E/u/VMle/nBCNAzgkMwAUjiHM6FqrKKBRWFbPrSIixjfjkCnrMEPw= 37 | file: 38 | - ThinkPHP_Core.zip 39 | - ThinkPHP_Full.zip 40 | skip_cleanup: true 41 | on: 42 | tags: true 43 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | 2 | ThinkPHP遵循Apache2开源协议发布,并提供免费使用。 3 | 版权所有Copyright © 2006-2016 by ThinkPHP (http://thinkphp.cn) 4 | All rights reserved。 5 | ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。 6 | 7 | Apache Licence是著名的非盈利开源组织Apache采用的协议。 8 | 该协议和BSD类似,鼓励代码共享和尊重原作者的著作权, 9 | 允许代码修改,再作为开源或商业软件发布。需要满足 10 | 的条件: 11 | 1. 需要给代码的用户一份Apache Licence ; 12 | 2. 如果你修改了代码,需要在被修改的文件中说明; 13 | 3. 在延伸的代码中(修改和有源代码衍生的代码中)需要 14 | 带有原来代码中的协议,商标,专利声明和其他原来作者规 15 | 定需要包含的说明; 16 | 4. 如果再发布的产品中包含一个Notice文件,则在Notice文 17 | 件中需要带有本协议内容。你可以在Notice中增加自己的 18 | 许可,但不可以表现为对Apache Licence构成更改。 19 | 具体的协议参考:http://www.apache.org/licenses/LICENSE-2.0 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 24 | FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 25 | COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 26 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 27 | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 31 | ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32 | POSSIBILITY OF SUCH DAMAGE. 33 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 前端采用layui前端框架,bootstrap,jquery。 2 | 3 | 后端采用thinkphp5.0 4 | 5 | 功能包括: 6 | 7 | 权限管理 8 | 菜单管理 9 | 图片上传 10 | 信息增删改查 11 | ajax增删改查 12 | 13 | -------------------------------------------------------------------------------- /application/.htaccess: -------------------------------------------------------------------------------- 1 | deny from all -------------------------------------------------------------------------------- /application/admin/common.php: -------------------------------------------------------------------------------- 1 | array( 5 | 'AUTH_ON'=>true,//认证开关 6 | 'AUTH_TYPE'=>1,// 认证方式,1为时时认证;2为登录认证。 7 | 'AUTH_GROUP'=>'cuoti_auth_group',//用户组数据表名 8 | 'AUTH_GROUP_ACCESS'=>'cuoti_auth_group_access',//用户组明细表 9 | 'AUTH_RULE'=>'cuoti_auth_rule',//权限规则表 10 | 'AUTH_USER'=>'cuoti_user'//用户信息表 11 | ) 12 | ]; -------------------------------------------------------------------------------- /application/admin/controller/Base.php: -------------------------------------------------------------------------------- 1 | model = new TypeVal(); 19 | $this->typeinfo = new TypeInfo(); 20 | } 21 | //基础数据列表 22 | public function baselist(){ 23 | $result = $this->model 24 | ->alias('b') 25 | ->join('__TYPE_INFO__ t','b.ti_id=t.ti_id') 26 | ->select(); 27 | return view('baselist',['result'=>$result]); 28 | } 29 | //添加基础数据 30 | public function baseadd(){ 31 | if (request()->isPost()) { 32 | $params = input('post.'); 33 | $result = $this->model -> add($params); 34 | if ($result) { 35 | return json(['code'=>200,'msg'=>'添加成功']); 36 | } else { 37 | return json(['code'=>0,'msg'=>'添加失败']); 38 | } 39 | } else { 40 | $leixing = $this->typeinfo->select(); 41 | return view('baseadd',['leixing'=>$leixing]); 42 | } 43 | } 44 | //编辑基础数据 45 | public function baseedit(){ 46 | if (request()->isPost()) { 47 | $params = input('post.'); 48 | $result = $this->model -> edit($params); 49 | if ($result) { 50 | return json(['code'=>200,'msg'=>'编辑成功']); 51 | } else { 52 | return json(['code'=>0,'msg'=>'编辑失败']); 53 | } 54 | } else { 55 | $basedetail = $this->model 56 | ->alias('b') 57 | ->join('__TYPE_INFO__ t','b.ti_id=t.ti_id') 58 | ->where('tv_id',input('tv_id')) 59 | ->find(); 60 | $leixing = $this->typeinfo->select(); 61 | return view('baseedit',['basedetail'=>$basedetail,'leixing'=>$leixing]); 62 | } 63 | } 64 | //删除基础数据 65 | public function basedel(){ 66 | $result = $this->model->destroy(input('post.tv_id')); 67 | if($result){ 68 | return json(array('code'=>200,'msg'=>'删除成功')); 69 | }else{ 70 | return json(array('code'=>0,'msg'=>'删除失败')); 71 | } 72 | } 73 | 74 | 75 | } -------------------------------------------------------------------------------- /application/admin/controller/Cls.php: -------------------------------------------------------------------------------- 1 | cls = new CourseInfo(); 18 | } 19 | //课程列表 20 | public function clslist(){ 21 | $result = $this->cls -> select(); 22 | return view('clslist',['result'=>$result]); 23 | } 24 | //添加课程 25 | public function clsadd(){ 26 | if (request()->isPost()) { 27 | $params = input('post.'); 28 | $result = $this->cls -> add($params); 29 | if ($result) { 30 | return json(['code'=>200,'msg'=>'添加成功']); 31 | } else { 32 | return json(['code'=>0,'msg'=>'添加失败']); 33 | } 34 | } else { 35 | return view(); 36 | } 37 | } 38 | //编辑课程 39 | public function clsedit(){ 40 | if (request()->isPost()) { 41 | $params = input('post.'); 42 | $result = $this->cls -> edit($params); 43 | if ($result) { 44 | return json(['code'=>200,'msg'=>'编辑成功']); 45 | } else { 46 | return json(['code'=>0,'msg'=>'编辑失败']); 47 | } 48 | } else { 49 | $clsdetail = $this->cls->where('cid',input('cid'))->find(); 50 | return view('clsedit',['clsdetail'=>$clsdetail]); 51 | } 52 | } 53 | //删除课程 54 | public function clsdel(){ 55 | $result = $this->cls->destroy(input('post.cid')); 56 | if($result){ 57 | return json(array('code'=>200,'msg'=>'删除成功')); 58 | }else{ 59 | return json(array('code'=>0,'msg'=>'删除失败')); 60 | } 61 | } 62 | 63 | 64 | } -------------------------------------------------------------------------------- /application/admin/controller/Common.php: -------------------------------------------------------------------------------- 1 | check( '/'.request()->module().'/'.request()->controller().'/'.request()->action(),session('user_auth.uid'))){ 21 | $this->error('你没有权限'); 22 | }*/ 23 | } 24 | 25 | protected static function _check(){ 26 | Loader::import('org\Auth', EXTEND_PATH); 27 | $auth = new Auth(); 28 | //第一个参数节点进行认证,第二个参数是用户UID 29 | if(!$auth->check( '/'.request()->module().'/'.request()->controller().'/'.request()->action(),session('user_auth.uid'))){ 30 | return false; 31 | }else{ 32 | return true; 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /application/admin/controller/Cou.php: -------------------------------------------------------------------------------- 1 | model = new CourseInfo(); 20 | $this->stu = new StuInfo(); 21 | $this->typeval = new TypeVal(); 22 | 23 | } 24 | //交费列表 25 | public function coulist(){ 26 | $params = input('param.'); 27 | $order = 'cid desc'; 28 | $search =''; 29 | if(!empty($params['search']) && is_array($params['search'])){ 30 | foreach ($params['search'] as $k => $v) { 31 | if($v){ 32 | $search[$k] = array('like','%'.$v.'%'); 33 | } 34 | } 35 | } 36 | $page_size =!empty($params['page_size'])?$params['page_size']:''; 37 | $url_params =!empty(parse_url(request()->url(true))['query'])?parse_url(request()->url(true))['query']:''; 38 | $paylist = $this->model->get_list($search,$order,$page_size); 39 | return view('coulist',['result'=>$paylist['data'],'total'=>$paylist['total'],'per_page'=>$paylist['per_page'],'current_page'=>$paylist['current_page'],'search'=>!empty($params['search'])?$v:'','url_params'=>$url_params]); 40 | } 41 | //添加交费 42 | public function couadd(){ 43 | if (request()->isPost()) { 44 | $params = input('post.'); 45 | $result = $this->model -> add($params); 46 | if ($result) { 47 | return json(['code'=>200,'msg'=>'添加成功']); 48 | } else { 49 | return json(['code'=>0,'msg'=>'添加失败']); 50 | } 51 | } else { 52 | $kemu = $this->typeval->where('ti_id',5)->select(); 53 | $kelei = $this->typeval->where('ti_id',9)->select(); 54 | $grade = $this->typeval->where('ti_id',7)->select(); 55 | return view('couadd',['kelei'=>$kelei,'grade'=>$grade,'kemu'=>$kemu]); 56 | } 57 | } 58 | //编辑课程 59 | public function couedit(){ 60 | if (request()->isPost()) { 61 | $params = input('post.'); 62 | $result = $this->model -> edit($params); 63 | if ($result) { 64 | return json(['code'=>200,'msg'=>'编辑成功']); 65 | } else { 66 | return json(['code'=>0,'msg'=>'编辑失败']); 67 | } 68 | } else { 69 | $paydetail = $this->model->where('cid',input('cid'))->find(); 70 | $kemu = $this->typeval->where('ti_id',5)->select(); 71 | $kelei = $this->typeval->where('ti_id',9)->select(); 72 | $grade = $this->typeval->where('ti_id',7)->select(); 73 | return view('couedit',['paydetail'=>$paydetail,'kelei'=>$kelei,'grade'=>$grade,'kemu'=>$kemu]); 74 | } 75 | } 76 | //删除课程 77 | public function coudel(){ 78 | $result = $this->model->destroy(input('post.cid')); 79 | if($result){ 80 | return json(array('code'=>200,'msg'=>'删除成功')); 81 | }else{ 82 | return json(array('code'=>0,'msg'=>'删除失败')); 83 | } 84 | } 85 | //批量删除 86 | public function batches_delete(){ 87 | $params = input('post.'); 88 | $ids = implode(',', $params['cid']); 89 | $result = $this->model->batches('delete',$ids); 90 | if($result){ 91 | return json(['code'=>200,'msg'=>'批量删除成功']); 92 | }else{ 93 | return json(['code'=>0,'msg'=>'批量删除失败']); 94 | } 95 | } 96 | 97 | 98 | } -------------------------------------------------------------------------------- /application/admin/controller/Duanxin.php: -------------------------------------------------------------------------------- 1 | duanxin($mobile,$app_key,$app_secret,$SignName,$TemplateCode,$product); 26 | } 27 | 28 | //手机短信验证码 29 | public function duanxin($phone,$app_key,$app_secret,$SignName,$TemplateCode,$product){ 30 | 31 | $rand_number = $this ->rand_number(6); 32 | $app_key = $app_key; 33 | $app_secret = $app_secret; 34 | $request_paras = array( 35 | 'ParamString' => '{"code":"'.$rand_number.'","product":"'.$product.'"}', 36 | 'RecNum' => $phone, 37 | 'SignName' => $SignName, 38 | 'TemplateCode' => $TemplateCode 39 | ); 40 | 41 | $request_host = "http://sms.market.alicloudapi.com"; 42 | $request_uri = "/singleSendSms"; 43 | $request_method = "GET"; 44 | $info = ""; 45 | $content = $this -> do_get($app_key, $app_secret, $request_host, $request_uri, $request_method, $request_paras, $info); 46 | return json_decode($content); 47 | 48 | } 49 | 50 | 51 | 52 | //手机发送短信验证码接口函数 53 | function do_get($app_key, $app_secret, $request_host, $request_uri, $request_method, $request_paras, &$info) { 54 | ksort($request_paras); 55 | $request_header_accept = "application/json;charset=utf-8"; 56 | $content_type = ""; 57 | $headers = array( 58 | 'X-Ca-Key' => $app_key, 59 | 'Accept' => $request_header_accept 60 | ); 61 | ksort($headers); 62 | $header_str = ""; 63 | $header_ignore_list = array('X-CA-SIGNATURE', 'X-CA-SIGNATURE-HEADERS', 'ACCEPT', 'CONTENT-MD5', 'CONTENT-TYPE', 'DATE'); 64 | $sig_header = array(); 65 | foreach($headers as $k => $v) { 66 | if(in_array(strtoupper($k), $header_ignore_list)) { 67 | continue; 68 | } 69 | $header_str .= $k . ':' . $v . "\n"; 70 | array_push($sig_header, $k); 71 | } 72 | $url_str = $request_uri; 73 | $para_array = array(); 74 | foreach($request_paras as $k => $v) { 75 | array_push($para_array, $k .'='. $v); 76 | } 77 | if(!empty($para_array)) { 78 | $url_str .= '?' . join('&', $para_array); 79 | } 80 | $content_md5 = ""; 81 | $date = ""; 82 | $sign_str = ""; 83 | $sign_str .= $request_method ."\n"; 84 | $sign_str .= $request_header_accept."\n"; 85 | $sign_str .= $content_md5."\n"; 86 | $sign_str .= "\n"; 87 | $sign_str .= $date."\n"; 88 | $sign_str .= $header_str; 89 | $sign_str .= $url_str; 90 | 91 | $sign = base64_encode(hash_hmac('sha256', $sign_str, $app_secret, true)); 92 | $headers['X-Ca-Signature'] = $sign; 93 | $headers['X-Ca-Signature-Headers'] = join(',', $sig_header); 94 | $request_header = array(); 95 | foreach($headers as $k => $v) { 96 | array_push($request_header, $k .': ' . $v); 97 | } 98 | 99 | $ch = curl_init(); 100 | 101 | curl_setopt($ch, CURLOPT_URL, $request_host . $url_str); 102 | //curl_setopt($ch, CURLOPT_HEADER, true); 103 | curl_setopt($ch, CURLINFO_HEADER_OUT, true); 104 | curl_setopt($ch, CURLOPT_VERBOSE, true); 105 | curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); 106 | curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); 107 | curl_setopt($ch, CURLOPT_HTTPHEADER, $request_header); 108 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 109 | $ret = curl_exec($ch); 110 | $info = curl_getinfo($ch); 111 | curl_close($ch); 112 | return $ret; 113 | } 114 | } -------------------------------------------------------------------------------- /application/admin/controller/Index.php: -------------------------------------------------------------------------------- 1 | error("还没有登陆",url('/login')); 18 | } 19 | } 20 | 21 | public function index() 22 | { 23 | $user_auth = Session::get('user_auth'); 24 | return view('',['nick'=>$user_auth['rule_name']]); 25 | } 26 | 27 | /** 28 | * @return \think\response\View 29 | */ 30 | public function main(){ 31 | //print_r(Session::get('user_auth')); 32 | // trace(\request()->session('user_auth')); 33 | return view(); 34 | } 35 | 36 | //获取菜单 37 | public function menuJson(){ 38 | $rule_id = Session::get('user_auth.rule_id'); 39 | 40 | $menu = Cache::get('menu_cache'); 41 | if (!$menu) { 42 | $rule = Db::table('cuoti_auth_group')->where('id',$rule_id)->find(); 43 | $result = Db::name('auth_rule') 44 | ->where('id', 'in', $rule['rules']) 45 | ->where('menu',1) 46 | ->select(); 47 | //Cache::set('user_cache', $result); 48 | Loader::import('org\MenuTool', EXTEND_PATH); 49 | $menu = MenuTool::getMenu($result); 50 | Cache::set('menu_cache', $menu); 51 | } 52 | return $menu; 53 | 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /application/admin/controller/Menu.php: -------------------------------------------------------------------------------- 1 | order('index','asc')->select(); 23 | Loader::import('org\MenuTool', EXTEND_PATH); 24 | $result = MenuTool::tree($data,"title"); 25 | /* dump($result); 26 | exit();*/ 27 | return view('menuManage',array('result'=>$result)); 28 | }else{ 29 | $this->error('你没有权限'); 30 | } 31 | 32 | } 33 | 34 | 35 | //添加数据 36 | public function addMenu(){ 37 | if(request()->isPost()){ 38 | $params = input('post.'); 39 | if(empty($params['status'])){ 40 | $params['status'] = 0; 41 | }else{ 42 | $params['status'] = 1; 43 | } 44 | if(empty($params['menu'])){ 45 | $params['menu'] = 0; 46 | }else{ 47 | $params['menu'] = 1; 48 | } 49 | $auth_rule = new AuthRule(); 50 | $auth_rule->title = $params['title']; 51 | $auth_rule->name = $params['name']; 52 | $auth_rule->status = $params['status']; 53 | $auth_rule->menu = $params['menu']; 54 | $auth_rule->pid = $params['pid']; 55 | $is_name = $auth_rule->where("name",$params['name'])->find(); 56 | if(empty($is_name)){ 57 | if($auth_rule->save()){ 58 | return json(array('code'=>200,'msg'=>'添加成功')); 59 | }else{ 60 | return json(array('code'=>200,'msg'=>'添加失败')); 61 | } 62 | }else{ 63 | return json(array('code'=>202,'msg'=>'权限规则已存在')); 64 | } 65 | 66 | }else{ 67 | $params = input('get.pid'); 68 | if(is_null($params)){ 69 | return view('addMenu',array('pid'=>0)); 70 | }else{ 71 | return view('addMenu',array('pid'=>$params)); 72 | } 73 | 74 | } 75 | 76 | } 77 | 78 | public function ceshi(){ 79 | //request()->module()) 80 | 81 | } 82 | 83 | //删除 84 | public function menuDel(){ 85 | if(request()->isPost()) { 86 | $id = input('post.id'); 87 | if(is_null($id)){ 88 | return json(array('code'=>404,'msg'=>'删除失败','result'=>$id)); 89 | //exit(); 90 | }else{ 91 | $auth_rule = new AuthRule(); 92 | $count = $auth_rule->where("pid=".$id)->count(); 93 | if($count>0){ 94 | return json(array('code'=>400,'msg'=>'有子权限不能删除','count'=>$count)); 95 | }else{ 96 | $result = $auth_rule->where("id =".$id)->delete(); 97 | if($result){ 98 | return json(array('code'=>200,'msg'=>'删除成功','result'=>$result)); 99 | }else{ 100 | return json(array('code'=>400,'msg'=>'删除失败','result'=>$result)); 101 | } 102 | } 103 | } 104 | }else{ 105 | // 106 | } 107 | } 108 | //编辑 109 | public function editMenu(){ 110 | if(request()->isPost()){ 111 | $params = input('post.'); 112 | if(empty($params['status'])){ 113 | $params['status'] = 0; 114 | }else{ 115 | $params['status'] = 1; 116 | } 117 | if(empty($params['menu'])){ 118 | $params['menu'] = 0; 119 | }else{ 120 | $params['menu'] = 1; 121 | } 122 | 123 | $auth_rule = new AuthRule(); 124 | $result = $auth_rule->save([ 125 | 'title' => $params['title'], 126 | 'name' => $params['name'], 127 | 'status' => $params['status'], 128 | 'menu' => $params['menu'], 129 | 'pid' => $params['pid'] 130 | ],['id'=>$params['id']]); 131 | if($result !==false){ 132 | return json(array('code'=>200,'msg'=>'保存成功','result'=>$result)); 133 | }else{ 134 | return json(array('code'=>202,'msg'=>'保存失败','result'=>$auth_rule->getLastSql())); 135 | } 136 | }else{ 137 | $params = input('get.id'); 138 | if(is_null($params)){ 139 | exit(); 140 | }else{ 141 | $auth_rule = new AuthRule(); 142 | $result = $auth_rule->where("id =".$params)->find(); 143 | return view('editMenu',array('auth_rule'=>$result)); 144 | } 145 | } 146 | 147 | // return view(); 148 | } 149 | } -------------------------------------------------------------------------------- /application/admin/controller/Pay.php: -------------------------------------------------------------------------------- 1 | model = new PayInfo(); 20 | $this->stu = new StuInfo(); 21 | $this->typeval = new TypeVal(); 22 | } 23 | //交费列表 24 | public function paylist(){ 25 | $params = input('param.'); 26 | $order = 'payid desc'; 27 | $search =''; 28 | if(!empty($params['search']) && is_array($params['search'])){ 29 | foreach ($params['search'] as $k => $v) { 30 | if($v){ 31 | $search[$k] = array('like','%'.$v.'%'); 32 | } 33 | } 34 | } 35 | $page_size =!empty($params['page_size'])?$params['page_size']:''; 36 | $url_params =!empty(parse_url(request()->url(true))['query'])?parse_url(request()->url(true))['query']:''; 37 | $paylist = $this->model->get_list($search,$order,$page_size); 38 | return view('paylist',['result'=>$paylist['data'],'total'=>$paylist['total'],'per_page'=>$paylist['per_page'],'current_page'=>$paylist['current_page'],'search'=>!empty($params['search'])?$v:'','url_params'=>$url_params]); 39 | } 40 | //添加交费 41 | public function payadd(){ 42 | if (request()->isPost()) { 43 | $params = input('post.'); 44 | $params['payyu'] = $params['payamount']; 45 | if (!empty($params['paystu'])) { 46 | $tarr = explode('|',$params['paystu']); 47 | $params['paystu'] = $tarr[0]; 48 | $params['stuid'] = $tarr[1]; 49 | } else { 50 | $params['paystu'] = ''; 51 | $params['stuid'] = ''; 52 | } 53 | $result = $this->model -> add($params); 54 | if ($result) { 55 | return json(['code'=>200,'msg'=>'添加成功']); 56 | } else { 57 | return json(['code'=>0,'msg'=>'添加失败']); 58 | } 59 | } else { 60 | $stulist = $this->stu->select(); 61 | $shou = $this->typeval->where('ti_id',8)->select(); 62 | return view('payadd',['stulist'=>$stulist,'shou'=>$shou]); 63 | } 64 | } 65 | //编辑课程 66 | public function payedit(){ 67 | if (request()->isPost()) { 68 | $params = input('post.'); 69 | $result = $this->model -> edit($params); 70 | if ($result) { 71 | return json(['code'=>200,'msg'=>'编辑成功']); 72 | } else { 73 | return json(['code'=>0,'msg'=>'编辑失败']); 74 | } 75 | } else { 76 | $stulist = $this->stu->select(); 77 | $shou = $this->typeval->where('ti_id',8)->select(); 78 | $paydetail = $this->model->where('payid',input('payid'))->find(); 79 | return view('payedit',['paydetail'=>$paydetail,'stulist'=>$stulist,'shou'=>$shou]); 80 | } 81 | } 82 | //删除课程 83 | public function paydel(){ 84 | $result = $this->model->destroy(input('post.payid')); 85 | if($result){ 86 | return json(array('code'=>200,'msg'=>'删除成功')); 87 | }else{ 88 | return json(array('code'=>0,'msg'=>'删除失败')); 89 | } 90 | } 91 | //批量删除 92 | public function batches_delete(){ 93 | $params = input('post.'); 94 | $ids = implode(',', $params['payid']); 95 | $result = $this->model->batches('delete',$ids); 96 | if($result){ 97 | return json(['code'=>200,'msg'=>'批量删除成功']); 98 | }else{ 99 | return json(['code'=>0,'msg'=>'批量删除失败']); 100 | } 101 | } 102 | 103 | 104 | } -------------------------------------------------------------------------------- /application/admin/controller/Rizhi.php: -------------------------------------------------------------------------------- 1 | logs = new Logs(); 18 | } 19 | //错题列表 20 | public function rizhilist(){ 21 | $params = input('param.'); 22 | $order = 'id desc'; 23 | $search =''; 24 | if(!empty($params['search']) && is_array($params['search'])){ 25 | foreach ($params['search'] as $k => $v) { 26 | if($v){ 27 | $search[$k] = array('like','%'.$v.'%'); 28 | } 29 | } 30 | } 31 | $page_size =!empty($params['page_size'])?$params['page_size']:''; 32 | $url_params =!empty(parse_url(request()->url(true))['query'])?parse_url(request()->url(true))['query']:''; 33 | $errorlist = $this->logs ->get_list($search,$order,$page_size); 34 | return view('rizhilist',['result'=>$errorlist['data'],'total'=>$errorlist['total'],'per_page'=>$errorlist['per_page'],'current_page'=>$errorlist['current_page'],'search'=>!empty($params['search'])?$v:'','url_params'=>$url_params]); 35 | } 36 | //删除错题 37 | public function rizhidel(){ 38 | $result = $this->logs->destroy(input('post.id')); 39 | if($result){ 40 | return json(array('code'=>200,'msg'=>'删除成功')); 41 | }else{ 42 | return json(array('code'=>0,'msg'=>'删除失败')); 43 | } 44 | } 45 | //批量删除 46 | public function batches_delete(){ 47 | $params = input('post.'); 48 | $ids = implode(',', $params['id']); 49 | $result = $this->logs->batches('delete',$ids); 50 | if($result){ 51 | return json(['code'=>200,'msg'=>'批量删除成功']); 52 | }else{ 53 | return json(['code'=>0,'msg'=>'批量删除失败']); 54 | } 55 | } 56 | 57 | } -------------------------------------------------------------------------------- /application/admin/controller/Stu.php: -------------------------------------------------------------------------------- 1 | typeval = new TypeVal(); 20 | 21 | } 22 | //学生列表 23 | public function stulist() 24 | { 25 | $params = input('param.'); 26 | $order = 'stuid desc'; 27 | $search =''; 28 | if(!empty($params['search']) && is_array($params['search'])){ 29 | foreach ($params['search'] as $k => $v) { 30 | if($v){ 31 | $search[$k] = array('like','%'.$v.'%'); 32 | } 33 | } 34 | } 35 | $page_size =!empty($params['page_size'])?$params['page_size']:''; 36 | $stuinfo = new StuInfo(); 37 | $url_params =!empty(parse_url(request()->url(true))['query'])?parse_url(request()->url(true))['query']:''; 38 | $stulist = $stuinfo->get_list($search,$order,$page_size); 39 | return view('stulist',['result'=>$stulist['data'],'total'=>$stulist['total'],'per_page'=>$stulist['per_page'],'current_page'=>$stulist['current_page'],'search'=>!empty($params['search'])?$v:'','url_params'=>$url_params]); 40 | } 41 | //添加学生信息 42 | public function stuadd(){ 43 | if(request()->isPost()){ 44 | $params = input('post.'); 45 | $StuInfo = new StuInfo(); 46 | $result = $StuInfo->isUpdate(false)->allowField(true)->save($params); 47 | if($result){ 48 | return json(array('code'=>200,'msg'=>'添加成功')); 49 | }else{ 50 | return json(array('code'=>0,'msg'=>'添加失败')); 51 | } 52 | }else{ 53 | $kemu = $this->typeval->where('ti_id',5)->select(); 54 | $stufrom = $this->typeval->where('ti_id',6)->select(); 55 | $grade = $this->typeval->where('ti_id',10)->select(); 56 | return view('',['kemu'=>$kemu,'stufrom'=>$stufrom,'grade'=>$grade]); 57 | } 58 | } 59 | //编辑学生信息 60 | public function stuedit(){ 61 | if (request()->isPost()) { 62 | $params = input('post.'); 63 | $stuinfo = new StuInfo(); 64 | $result = $stuinfo -> edit($params); 65 | if ($result) { 66 | return json(['code'=>200,'msg'=>'编辑成功']); 67 | } else { 68 | return json(['code'=>0,'msg'=>'编辑失败']); 69 | } 70 | } else { 71 | $stuinfo = new StuInfo(); 72 | $studetail = $stuinfo->where('stuid',input('stuid'))->find(); 73 | return view('stuedit',['studetail'=>$studetail]); 74 | } 75 | } 76 | //删除学生信息 77 | public function studel(){ 78 | $stuinfo = new StuInfo(); 79 | $result = $stuinfo->destroy(input('post.stuid')); 80 | if($result){ 81 | return json(array('code'=>200,'msg'=>'删除成功')); 82 | }else{ 83 | return json(array('code'=>0,'msg'=>'删除失败')); 84 | } 85 | } 86 | //批量删除 87 | public function batches_delete(){ 88 | $params = input('post.'); 89 | $ids = implode(',', $params['stuid']); 90 | $stuinfo = new StuInfo(); 91 | $result = $stuinfo->batches('delete',$ids); 92 | if($result){ 93 | return json(['code'=>200,'msg'=>'批量删除成功']); 94 | }else{ 95 | return json(['code'=>0,'msg'=>'批量删除失败']); 96 | } 97 | } 98 | 99 | //上传图片 100 | public function upload(){ 101 | // 获取表单上传文件 例如上传了001.jpg 102 | $file = request()->file('file'); 103 | // 移动到框架应用根目录/public/uploads/ 目录下 104 | $info = $file->move(ROOT_PATH . 'public' . DS . 'uploads'); 105 | if($info){ 106 | $path = '/uploads/'.$info->getSaveName(); 107 | return json(['code'=>0,'msg'=>'上传成功','data'=>['src'=>$path]]); 108 | }else{ 109 | return json(['code'=>200,'msg'=>'上传失败']); 110 | } 111 | } 112 | 113 | } -------------------------------------------------------------------------------- /application/admin/controller/Tch.php: -------------------------------------------------------------------------------- 1 | typeval = new TypeVal(); 21 | 22 | } 23 | //教师列表 24 | public function tchlist(){ 25 | $params = input('param.'); 26 | $order = 'sort asc'; 27 | $search =''; 28 | if(!empty($params['search']) && is_array($params['search'])){ 29 | foreach ($params['search'] as $k => $v) { 30 | if($v){ 31 | $search[$k] = array('like','%'.$v.'%'); 32 | } 33 | } 34 | } 35 | $page_size =!empty($params['page_size'])?$params['page_size']:''; 36 | $tch = new TeacherInfo(); 37 | $url_params =!empty(parse_url(request()->url(true))['query'])?parse_url(request()->url(true))['query']:''; 38 | $tchlist = $tch->get_list($search,$order,$page_size); 39 | return view('tchlist',['result'=>$tchlist['data'],'total'=>$tchlist['total'],'per_page'=>$tchlist['per_page'],'current_page'=>$tchlist['current_page'],'search'=>!empty($params['search'])?$v:'','url_params'=>$url_params]); 40 | } 41 | //添加教师 42 | public function tchadd(){ 43 | if (request()->isPost()) { 44 | $params = input('post.'); 45 | $tch = new TeacherInfo(); 46 | $result = $tch -> add($params); 47 | if ($result) { 48 | return json(['code'=>200,'msg'=>'添加成功']); 49 | } else { 50 | return json(['code'=>0,'msg'=>'添加失败']); 51 | } 52 | } else { 53 | $auth = new AuthGroup(); 54 | $authlist = $auth->select(); 55 | $kemu = $this->typeval->where('ti_id',5)->select(); 56 | return view('tchadd',['authlist'=>$authlist,'kemu'=>$kemu]); 57 | } 58 | } 59 | //编辑教师 60 | public function tchedit(){ 61 | if (request()->isPost()) { 62 | $params = input('post.'); 63 | $tch = new TeacherInfo(); 64 | $result = $tch -> edit($params); 65 | 66 | if ($result) { 67 | return json(['code'=>200,'msg'=>'编辑成功','sql'=>$tch->getLastSql()]); 68 | } else { 69 | return json(['code'=>0,'msg'=>'编辑失败']); 70 | } 71 | } else { 72 | $tch = new TeacherInfo(); 73 | $tchdetail = $tch->where('tid',input('tid'))->find(); 74 | $auth = new AuthGroup(); 75 | $authlist = $auth->select(); 76 | $kemu = $this->typeval->where('ti_id',5)->select(); 77 | return view('tchedit',['tchdetail'=>$tchdetail,'authlist'=>$authlist,'kemu'=>$kemu]); 78 | } 79 | } 80 | //删除教师 81 | public function tchdel(){ 82 | $tch = new TeacherInfo(); 83 | $result = $tch->destroy(input('post.tid')); 84 | if($result){ 85 | return json(array('code'=>200,'msg'=>'删除成功')); 86 | }else{ 87 | return json(array('code'=>0,'msg'=>'删除失败')); 88 | } 89 | } 90 | //批量删除 91 | public function batches_delete(){ 92 | $params = input('post.'); 93 | $ids = implode(',', $params['tid']); 94 | $tch = new TeacherInfo(); 95 | $result = $tch->batches('delete',$ids); 96 | if($result){ 97 | return json(['code'=>200,'msg'=>'批量删除成功']); 98 | }else{ 99 | return json(['code'=>0,'msg'=>'批量删除失败']); 100 | } 101 | } 102 | //检查手机号是否存在 103 | public function getphone(){ 104 | $tch = new TeacherInfo(); 105 | $is_phone = $tch->where('tphone',input('post.phone'))->find(); 106 | if($is_phone){ 107 | return json(array('code'=>200,'msg'=>'手机号已存在')); 108 | }else{ 109 | return json(array('code'=>0,'msg'=>'手机号不存在')); 110 | } 111 | } 112 | //上传图片 113 | public function upload(){ 114 | // 获取表单上传文件 例如上传了001.jpg 115 | $file = request()->file('file'); 116 | // 移动到框架应用根目录/public/uploads/ 目录下 117 | $info = $file->move(ROOT_PATH . 'public' . DS . 'uploads'); 118 | if($info){ 119 | $path = '/uploads/'.$info->getSaveName(); 120 | return json(['code'=>0,'msg'=>'上传成功','data'=>['src'=>$path]]); 121 | }else{ 122 | return json(['code'=>200,'msg'=>'上传失败']); 123 | } 124 | } 125 | 126 | 127 | //排序 128 | public function sort(){ 129 | $params = input('get.'); 130 | $tch = new TeacherInfo(); 131 | $sort = $tch->sort($params); 132 | if($sort){ 133 | return json(array('status'=>200,'msg'=>'更新成功','url'=>'reload')); 134 | }else{ 135 | return json(array('status'=>202,'msg'=>'更新失败','url'=>'reload')); 136 | } 137 | 138 | } 139 | 140 | } 141 | -------------------------------------------------------------------------------- /application/admin/controller/Tu.php: -------------------------------------------------------------------------------- 1 | isPost()){ 22 | $params = input('param.'); 23 | Db::name('tu') 24 | ->insert(['tu_name' => $params['name'], 'tu_type' => $params['type'],'tu_size'=>$params['size'],'tu_user'=>session('user_auth.uid'),'tu_url'=>$params['url']]); 25 | $userId = Db::name('tu')->getLastInsID(); 26 | return json(['code'=>200,'msg'=>'上传成功','tu_id'=>$userId]); 27 | }else{ 28 | return 1; 29 | } 30 | } 31 | 32 | 33 | } -------------------------------------------------------------------------------- /application/admin/controller/Type.php: -------------------------------------------------------------------------------- 1 | model = new TypeInfo(); 18 | } 19 | //课程列表 20 | public function typelist(){ 21 | $result = $this->model -> select(); 22 | return view('typelist',['result'=>$result]); 23 | } 24 | //添加课程 25 | public function typeadd(){ 26 | if (request()->isPost()) { 27 | $params = input('post.'); 28 | $result = $this->model -> add($params); 29 | if ($result) { 30 | return json(['code'=>200,'msg'=>'添加成功']); 31 | } else { 32 | return json(['code'=>0,'msg'=>'添加失败']); 33 | } 34 | } else { 35 | return view(); 36 | } 37 | } 38 | //编辑课程 39 | public function typeedit(){ 40 | if (request()->isPost()) { 41 | $params = input('post.'); 42 | $result = $this->model -> edit($params); 43 | if ($result) { 44 | return json(['code'=>200,'msg'=>'编辑成功']); 45 | } else { 46 | return json(['code'=>0,'msg'=>'编辑失败']); 47 | } 48 | } else { 49 | $typedetail = $this->model->where('ti_id',input('ti_id'))->find(); 50 | return view('typeedit',['typedetail'=>$typedetail]); 51 | } 52 | } 53 | //删除课程 54 | public function typedel(){ 55 | $result = $this->model->destroy(input('post.ti_id')); 56 | if($result){ 57 | return json(array('code'=>200,'msg'=>'删除成功')); 58 | }else{ 59 | return json(array('code'=>0,'msg'=>'删除失败')); 60 | } 61 | } 62 | 63 | 64 | } -------------------------------------------------------------------------------- /application/admin/controller/User.php: -------------------------------------------------------------------------------- 1 | where('mobile','13352516135')->find(); 20 | dump($data); 21 | // Db::table('user')->find(1); 22 | // Db::table('user')->where('id', 1)->save(['name' => 'thinkphp']); 23 | // Db::table('user')->delete(1); 24 | } 25 | 26 | 27 | //登陆用户 28 | public function login($phone = '', $password = ''){ 29 | if(request()->isPost()){ 30 | $user = Db::table('cuoti_user')->where('mobile',$phone)->find(); 31 | if(is_array($user) && $user['lock']){ 32 | $xin_pass = waimao_ucenter_md5($password); 33 | if($xin_pass === $user['pass']){ 34 | $this->update_login($user); //更新用户登录信息 35 | //Cache::clear("menu_cache"); //清除菜单缓存 36 | Cache::set('menu_cache', null); //清除菜单缓存 37 | return json(['code'=>200,'msg'=>'登陆成功']); 38 | } else { 39 | return json(['code'=>202,'msg'=>'密码错误']); 40 | } 41 | }else{ 42 | return json(['code'=>505,'msg'=>'用户不存在或被禁用']); //用户不存在或被禁用 43 | } 44 | 45 | }else{ 46 | if(is_login()){ 47 | $this->redirect('/admin/index'); 48 | }else{ 49 | return view(); 50 | } 51 | } 52 | } 53 | 54 | 55 | //写入登陆日志 56 | protected function write_log($user) 57 | { 58 | $data = array( 59 | 'login_people' => $user['nick'], 60 | 'login_time' => request()->time(), 61 | 'login_ip' => get_client_ip(1), 62 | 'login_auth' => $user['rule_name'], 63 | ); 64 | $log = new Logs(); 65 | $log->add($data); 66 | } 67 | 68 | 69 | /** 70 | * 更新登陆信息 71 | * @param int $id 72 | */ 73 | protected function update_login($user){ 74 | $data = array( 75 | 'login' => array('exp', '`login`+1'), 76 | 'last_login_time' => request()->time(), 77 | 'last_login_ip' => get_client_ip(1), 78 | ); 79 | Db::table('cuoti_user')->where('uid',$user['uid'])->update($data); 80 | 81 | 82 | /* 记录登录SESSION和COOKIES */ 83 | $auth = array( 84 | 'uid' =>$user['uid'], 85 | 'rule_id' =>$user['rule_id'], 86 | 'rule_name' =>$user['rule_name'], 87 | 'mobile' => $user['mobile'], 88 | 'last_login_time' => $user['last_login_time'], 89 | ); 90 | 91 | Session::set('user_auth',$auth); 92 | Session::set('user_auth_sign',data_auth_sign($auth)); 93 | 94 | $this->write_log($user); 95 | 96 | } 97 | 98 | /** 99 | * 注销登陆 100 | */ 101 | public function logout() 102 | { 103 | 104 | $val = is_login(); 105 | if (is_login()) { 106 | logout(); 107 | session('[destroy]'); 108 | $this->redirect('/login'); 109 | //redirect('/login','301'); 110 | } else { 111 | //redirect('/login','301'); 112 | $this->redirect('/login'); 113 | } 114 | } 115 | 116 | //修改个人密码 117 | public function chpwd(){ 118 | if(is_login()){ 119 | if(request()->post()){ 120 | $params = input('post.'); 121 | $user_auth = Session::get('user_auth'); 122 | $uid =$user_auth['uid']; 123 | $data = array( 124 | 'pass' => waimao_ucenter_md5($params['pass']), 125 | ); 126 | $result = Db::table('cuoti_user')->where('uid',$uid)->update($data); 127 | if($result !== false){ 128 | return json(['code'=>200,'msg'=>'密码修改成功']); 129 | }else{ 130 | return json(['code'=>202,'msg'=>'未知错误,联系管理员']); 131 | } 132 | }else{ 133 | return view(); 134 | } 135 | }else{ 136 | $this->redirect('/login'); 137 | } 138 | 139 | } 140 | 141 | } -------------------------------------------------------------------------------- /application/admin/model/AuthGroup.php: -------------------------------------------------------------------------------- 1 | isUpdate(false)->allowField(true)->save($params); 16 | if($result){ 17 | return true; 18 | }else{ 19 | return false; 20 | } 21 | } 22 | //修改 23 | function upd($uid,$group_id){ 24 | $result = $this->where('uid', $uid)->update(['group_id' => $group_id]); 25 | if($result !== false){ 26 | return true; 27 | }else{ 28 | return false; 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /application/admin/model/AuthRule.php: -------------------------------------------------------------------------------- 1 | isUpdate(false)->allowField(true)->save($params); 16 | if($result){ 17 | return $this->cid; 18 | }else{ 19 | return false; 20 | } 21 | } 22 | //编辑课程 23 | function edit($params){ 24 | $result = $this->isUpdate(true)->allowField(true)->save($params); 25 | if($result !== false){ 26 | return true; 27 | }else{ 28 | return false; 29 | } 30 | } 31 | //批量操作 32 | /** 33 | * 批量操作 34 | * $act 操作类型 delete 35 | * $params 参数 36 | */ 37 | function batches($act,$params){ 38 | if($act == 'delete'){ 39 | $result = $this->destroy($params); 40 | } 41 | if($result){ 42 | return true; 43 | }else{ 44 | return false; 45 | } 46 | } 47 | /** 48 | * 获取教师列表 49 | * $search 搜索条件 50 | * $order 排序 51 | * $page_size 每页显示数量 52 | */ 53 | function get_list($search='',$order='cid desc',$page_size=8){ 54 | $tchlist = $this->where($search)->order($order)->paginate($page_size); 55 | if ($tchlist) { 56 | $tchlist = $tchlist->toArray();//对象转成数组 57 | return $tchlist; 58 | } else { 59 | return false; 60 | } 61 | } 62 | } -------------------------------------------------------------------------------- /application/admin/model/ErrortestInfo.php: -------------------------------------------------------------------------------- 1 | isUpdate(false)->allowField(true)->save($params); 16 | if($result){ 17 | return $this->etid; 18 | }else{ 19 | return false; 20 | } 21 | } 22 | //编辑错题信息 23 | function edit($params){ 24 | $result = $this->isUpdate(true)->allowField(true)->save($params); 25 | if($result !== false){ 26 | return true; 27 | }else{ 28 | return false; 29 | } 30 | } 31 | //批量操作 32 | /** 33 | * 批量操作 34 | * $act 操作类型 delete 35 | * $params 参数 36 | */ 37 | function batches($act,$params){ 38 | if($act == 'delete'){ 39 | $result = $this->destroy($params); 40 | } 41 | if($result){ 42 | return true; 43 | }else{ 44 | return false; 45 | } 46 | } 47 | /** 48 | * 获取教师列表 49 | * $search 搜索条件 50 | * $order 排序 51 | * $page_size 每页显示数量 52 | */ 53 | function get_list($search='',$order='etid desc',$page_size=8){ 54 | $tchlist = $this->where($search)->order($order)->paginate($page_size); 55 | $sql = $this->getLastSql(); 56 | if ($tchlist) { 57 | $tchlist = $tchlist->toArray();//对象转成数组 58 | return $tchlist; 59 | } else { 60 | return false; 61 | } 62 | } 63 | 64 | function details($etid = ''){ 65 | //$tchlist = $tchlist->toArray();//对象转成数组 66 | return $this->where('etid',$etid)->field('tu_ids')->find(); 67 | } 68 | } -------------------------------------------------------------------------------- /application/admin/model/Logs.php: -------------------------------------------------------------------------------- 1 | destroy($params); 22 | } 23 | if($result){ 24 | return true; 25 | }else{ 26 | return false; 27 | } 28 | } 29 | /** 30 | * 获取日志列表 31 | * $search 搜索条件 32 | * $order 排序 33 | * $page_size 每页显示数量 34 | */ 35 | function get_list($search='',$order='id desc',$page_size=8){ 36 | $tchlist = $this->where($search)->order($order)->paginate($page_size); 37 | if ($tchlist) { 38 | $tchlist = $tchlist->toArray();//对象转成数组 39 | $tchlist['login_ip'] = get_client_ip(); 40 | return $tchlist; 41 | } else { 42 | return false; 43 | } 44 | } 45 | 46 | 47 | //添加日志 48 | function add($params){ 49 | $result = $this->isUpdate(false)->allowField(true)->save($params); 50 | if($result){ 51 | return $this->id; 52 | }else{ 53 | return false; 54 | } 55 | } 56 | } -------------------------------------------------------------------------------- /application/admin/model/PayInfo.php: -------------------------------------------------------------------------------- 1 | isUpdate(false)->allowField(true)->save($params); 16 | if($result){ 17 | return $this->payid; 18 | }else{ 19 | return false; 20 | } 21 | } 22 | //编辑交费信息 23 | function edit($params){ 24 | $result = $this->isUpdate(true)->allowField(true)->save($params); 25 | if($result !== false){ 26 | return true; 27 | }else{ 28 | return false; 29 | } 30 | } 31 | //批量操作 32 | /** 33 | * 批量操作 34 | * $act 操作类型 delete 35 | * $params 参数 36 | */ 37 | function batches($act,$params){ 38 | if($act == 'delete'){ 39 | $result = $this->destroy($params); 40 | } 41 | if($result){ 42 | return true; 43 | }else{ 44 | return false; 45 | } 46 | } 47 | /** 48 | * 获取教师列表 49 | * $search 搜索条件 50 | * $order 排序 51 | * $page_size 每页显示数量 52 | */ 53 | function get_list($search='',$order='payid desc',$page_size=8){ 54 | $paylist = $this->where($search)->order($order)->paginate($page_size); 55 | if ($paylist) { 56 | $paylist = $paylist->toArray();//对象转成数组 57 | return $paylist; 58 | } else { 59 | return false; 60 | } 61 | } 62 | //查看该学生是否有余额交费 63 | function get_is_yu($paystu){ 64 | $payyu = $this->where('paystu',$paystu)->find(); 65 | if ($payyu) { 66 | return $payyu['payyu']; 67 | } else { 68 | return false; 69 | } 70 | } 71 | //添加上课纪录相应减少余额 72 | function get_jian_yu($paystu,$yjian){ 73 | $payyu = $this->where('paystu',$paystu)->value('payyu'); 74 | $params['payyu'] = $payyu-$yjian; 75 | $result = $this->isUpdate(true)->allowField(true)->save($params, ['paystu' => $paystu]); 76 | if($result){ 77 | return true; 78 | }else{ 79 | return false; 80 | } 81 | } 82 | } -------------------------------------------------------------------------------- /application/admin/model/RecordInfo.php: -------------------------------------------------------------------------------- 1 | isUpdate(false)->allowField(true)->save($params); 16 | if($result){ 17 | return $this->rid; 18 | }else{ 19 | return false; 20 | } 21 | } 22 | //编辑交费信息 23 | function edit($params){ 24 | $result = $this->isUpdate(true)->allowField(true)->save($params); 25 | if($result !== false){ 26 | return true; 27 | }else{ 28 | return false; 29 | } 30 | } 31 | //批量操作 32 | /** 33 | * 批量操作 34 | * $act 操作类型 delete 35 | * $params 参数 36 | */ 37 | function batches($act,$params){ 38 | if($act == 'delete'){ 39 | $result = $this->destroy($params); 40 | } 41 | if($result){ 42 | return true; 43 | }else{ 44 | return false; 45 | } 46 | } 47 | /** 48 | * 获取教师列表 49 | * $search 搜索条件 50 | * $order 排序 51 | * $page_size 每页显示数量 52 | */ 53 | function get_list($search='',$order='rid desc',$page_size=8){ 54 | $paylist = $this 55 | ->alias('r') 56 | ->join('__COURSE_INFO__ c','c.cid=r.rcid') 57 | ->where($search)->order($order)->paginate($page_size); 58 | if ($paylist) { 59 | $paylist = $paylist->toArray();//对象转成数组 60 | return $paylist; 61 | } else { 62 | return false; 63 | } 64 | } 65 | } -------------------------------------------------------------------------------- /application/admin/model/StuInfo.php: -------------------------------------------------------------------------------- 1 | isUpdate(true)->allowField(true)->save($params); 16 | if($result !== false){ 17 | return true; 18 | }else{ 19 | return false; 20 | } 21 | } 22 | /** 23 | * 获取学生列表 24 | * $search 搜索条件 25 | * $order 排序 26 | * $page_size 每页显示数量 27 | */ 28 | function get_list($search='',$order='stuid desc',$page_size=8){ 29 | $stulist = $this->where($search)->order($order)->paginate($page_size); 30 | if ($stulist) { 31 | $stulist = $stulist->toArray();//对象转成数组 32 | return $stulist; 33 | } else { 34 | return false; 35 | } 36 | } 37 | //批量操作 38 | /** 39 | * 批量操作 40 | * $act 操作类型 delete 41 | * $params 参数 42 | */ 43 | function batches($act,$params){ 44 | if($act == 'delete'){ 45 | $result = $this->destroy($params); 46 | } 47 | if($result){ 48 | return true; 49 | }else{ 50 | return false; 51 | } 52 | } 53 | //获取当前登录老师的学生 54 | function get_stus($stuid){ 55 | $stus = $this->where('stuid','in',$stuid)->select(); 56 | if ($stus) { 57 | return $stus; 58 | } else { 59 | return false; 60 | } 61 | } 62 | } -------------------------------------------------------------------------------- /application/admin/model/TeacherInfo.php: -------------------------------------------------------------------------------- 1 | isUpdate(false)->allowField(true)->save($params); 16 | if($result){ 17 | return $this->tid; 18 | }else{ 19 | return false; 20 | } 21 | } 22 | //编辑教师 23 | function edit($params){ 24 | $result = $this->isUpdate(true)->allowField(true)->save($params); 25 | if($result !== false){ 26 | return true; 27 | }else{ 28 | return false; 29 | } 30 | } 31 | //批量操作 32 | /** 33 | * 批量操作 34 | * $act 操作类型 delete 35 | * $params 参数 36 | */ 37 | function batches($act,$params){ 38 | if($act == 'delete'){ 39 | $result = $this->destroy($params); 40 | } 41 | if($result){ 42 | return true; 43 | }else{ 44 | return false; 45 | } 46 | } 47 | /** 48 | * 获取教师列表 49 | * $search 搜索条件 50 | * $order 排序 51 | * $page_size 每页显示数量 52 | */ 53 | function get_list($search='',$order='sort desc',$page_size=8){ 54 | $tchlist = $this->where($search)->order($order)->paginate($page_size); 55 | if ($tchlist) { 56 | $tchlist = $tchlist->toArray();//对象转成数组 57 | return $tchlist; 58 | } else { 59 | return false; 60 | } 61 | } 62 | //获取未分配角色的老师 63 | function get_u_tea($tid){ 64 | $tchlists=$this->where('tid','not in',$tid)->select(); 65 | if ($tchlists) { 66 | $tchlists = collection($tchlists)->toArray();//对象转成数组 67 | return $tchlists; 68 | } else { 69 | return; 70 | } 71 | 72 | } 73 | //获取当前登录老师信息 74 | function get_teadt($tid){ 75 | $tea_detail = $this->where('tid',$tid)->find(); 76 | if ($tea_detail) { 77 | return $tea_detail->toArray(); 78 | } else { 79 | return; 80 | } 81 | } 82 | 83 | //排序 84 | function sort($params){ 85 | $result = $this->allowField(true)->save($params, ['tid' => $params['tid']]); 86 | if($result!== false){ 87 | return true; 88 | }else{ 89 | return false; 90 | } 91 | 92 | } 93 | } -------------------------------------------------------------------------------- /application/admin/model/TypeInfo.php: -------------------------------------------------------------------------------- 1 | isUpdate(false)->allowField(true)->save($params); 16 | if($result){ 17 | return $this->ti_id; 18 | }else{ 19 | return false; 20 | } 21 | } 22 | //编辑基础数据 23 | function edit($params){ 24 | $result = $this->isUpdate(true)->allowField(true)->save($params); 25 | if($result !== false){ 26 | return true; 27 | }else{ 28 | return false; 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /application/admin/model/TypeVal.php: -------------------------------------------------------------------------------- 1 | isUpdate(false)->allowField(true)->save($params); 16 | if($result){ 17 | return $this->tv_id; 18 | }else{ 19 | return false; 20 | } 21 | } 22 | //编辑基础数据 23 | function edit($params){ 24 | $result = $this->isUpdate(true)->allowField(true)->save($params); 25 | if($result !== false){ 26 | return true; 27 | }else{ 28 | return false; 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /application/admin/model/User.php: -------------------------------------------------------------------------------- 1 | isUpdate(false)->allowField(true)->save($params); 16 | if($result){ 17 | return $this->uid; 18 | }else{ 19 | return false; 20 | } 21 | } 22 | //编辑错题信息 23 | function edit($params){ 24 | $result = $this->isUpdate(true)->allowField(true)->save($params); 25 | if($result !== false){ 26 | return true; 27 | }else{ 28 | return false; 29 | } 30 | } 31 | //批量操作 32 | /** 33 | * 批量操作 34 | * $act 操作类型 delete 35 | * $params 参数 36 | */ 37 | function batches($act,$params){ 38 | if($act == 'delete'){ 39 | $result = $this->destroy($params); 40 | } 41 | if($result){ 42 | return true; 43 | }else{ 44 | return false; 45 | } 46 | } 47 | /** 48 | * 获取教师列表 49 | * $search 搜索条件 50 | * $order 排序 51 | * $page_size 每页显示数量 52 | */ 53 | function get_list($search='',$order='uid desc',$page_size=8){ 54 | $tchlist = $this 55 | ->alias('u') 56 | ->join('__AUTH_GROUP__ a','a.id=u.rule_id') 57 | ->where($search)->order($order)->paginate($page_size); 58 | if ($tchlist) { 59 | $tchlist = $tchlist->toArray();//对象转成数组 60 | return $tchlist; 61 | } else { 62 | return false; 63 | } 64 | } 65 | //获取当前登录老师学生的stuid 66 | function get_userdt($uid){ 67 | $stuids = $this->where('uid',$uid)->find(); 68 | if ($stuids) { 69 | return $stuids; 70 | } else { 71 | return false; 72 | } 73 | } 74 | 75 | //获取教师id信息 76 | function get_tchid($uid){ 77 | $tchid = $this->where('uid',$uid)->field('teacher_id')->find(); 78 | 79 | if ($tchid) { 80 | return $tchid; 81 | } else { 82 | return false; 83 | } 84 | } 85 | 86 | 87 | } -------------------------------------------------------------------------------- /application/admin/view/base/baseadd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 添加基础数据 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 |
14 |
15 |
16 | 17 |
18 | 24 |
25 |
26 |
27 |
28 |
29 | 30 |
31 | 32 |
33 |
34 |
35 |
36 |
37 | 38 |
39 |
40 | 41 |
42 |
43 | 44 | 45 | -------------------------------------------------------------------------------- /application/admin/view/base/baseedit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 添加基础数据 6 | 7 | 8 | 9 |
10 |
11 | 12 |
13 |
14 | 15 |
16 | 22 |
23 |
24 |
25 | 26 |
27 | 28 |
29 |
30 |
31 |
32 |
33 | 34 | 35 |
36 |
37 | 38 |
39 |
40 | 41 | 42 | -------------------------------------------------------------------------------- /application/admin/view/cls/clsadd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 添加学生 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 |
14 | 新增课程 15 |
16 | 17 |
18 | 19 |
20 |
21 | 22 |
23 | 28 |
29 |
30 |
31 | 32 |
33 | 38 |
39 |
40 |
41 | 42 |
43 | 44 |
45 |
46 |
47 | 48 | 49 |
50 | 51 |
52 | 53 |
54 |
55 | 56 |
57 |
58 | 59 | 60 |
61 |
62 | 63 |
64 |
65 | 66 | 67 | 68 | 69 | 121 | 122 | -------------------------------------------------------------------------------- /application/admin/view/cls/clsedit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 编辑课程 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 |
14 | 编辑课程 15 |
16 | 17 |
18 | 19 |
20 |
21 | 22 |
23 | 28 |
29 |
30 |
31 | 32 |
33 | 38 |
39 |
40 |
41 | 42 |
43 | 44 |
45 |
46 |
47 | 48 | 49 |
50 | 51 |
52 | 53 |
54 |
55 | 56 |
57 |
58 | 59 | 60 | 61 |
62 |
63 | 64 |
65 |
66 | 67 | 68 | 69 | 70 | 124 | 125 | -------------------------------------------------------------------------------- /application/admin/view/cls/clslist.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 学生列表 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 |
14 | 15 | 添加课程 16 | 17 | 18 | 19 | 导出信息 20 | 21 | 22 | 23 | 搜索 24 | 25 |
26 | 27 |
28 | 数据列表 29 |
30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | {volist name="result" id="list"} 42 | 43 | 44 | 45 | 46 | 47 | 52 | 53 | {/volist} 54 | 55 |
课程类型年级价格操作
{$list.cname}{$list.clevel}{$list.cprice} 48 | 编辑 49 | 50 | 删除 51 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 | 64 | 65 | 102 | -------------------------------------------------------------------------------- /application/admin/view/cou/couadd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 添加课程 6 | 7 | 8 | 9 |
10 |
11 | 12 |
13 |
14 | 15 |
16 | 22 |
23 |
24 |
25 | 26 |
27 | 33 |
34 |
35 | 36 |
37 | 38 |
39 | 45 |
46 |
47 | 48 |
49 | 50 |
51 | 52 |
53 |
54 |
55 | 56 |
57 | 58 |
59 | 60 |
61 |
62 | 63 |
64 |
65 | 66 |
67 |
68 | 69 |
70 |
71 | 72 | 73 | -------------------------------------------------------------------------------- /application/admin/view/cou/couedit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 编辑课程 6 | 7 | 8 | 9 |
10 |
11 | 12 |
13 |
14 | 15 |
16 | 22 |
23 |
24 |
25 | 26 |
27 | 33 |
34 |
35 |
36 |
37 |
38 | 39 |
40 | 46 |
47 |
48 | 49 |
50 | 51 |
52 | 53 |
54 |
55 |
56 | 57 |
58 | 59 |
60 | 61 |
62 |
63 | 64 |
65 |
66 | 67 | 68 |
69 |
70 | 71 |
72 |
73 | 74 | 75 | -------------------------------------------------------------------------------- /application/admin/view/duanxin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 发送短信 25 |
26 |
27 | 28 |
29 | 30 |
31 | 32 |
{{message}}
33 |
34 | 35 |
36 |
37 |
38 | 39 | 40 | 41 |
42 |
43 |
44 |
45 |
46 | 47 | 48 | 49 | 50 | 51 | 77 | 78 | 79 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /application/admin/view/error/stucha.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 编辑错题 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 |
16 |
17 |
18 | 19 |
20 | 21 | 22 |
23 |
24 |
25 | 26 |
27 | 28 |
29 |
30 |
31 | 32 |
33 | 34 | 35 |
36 | 37 |
38 | 39 |
40 | 41 |
42 |
43 | 44 |
45 | 46 |
47 |
48 |
49 | 50 |
51 | 52 |
53 |
54 |
55 | 56 |
57 | 58 |
59 | 60 | 61 |
62 |
63 |
    64 | {volist name="tu" id="tulist"} 65 |
  • 66 | 67 | {/volist} 68 |
69 | 70 |
71 | 72 |
73 | 74 | 75 | 76 | 77 |
78 | 79 |
80 | 81 |
82 | 83 |
84 | 85 |
86 |
87 | 88 |
89 |
90 | 91 | 106 | 107 | 108 | 109 | -------------------------------------------------------------------------------- /application/admin/view/index/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 掬英培训学校 9 | 10 | 11 | 12 | 13 | 14 |
15 |
16 |
17 |
18 | 19 | 20 | 21 |
22 | 23 |
24 |
25 | 35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
    43 |
  • 44 | 45 | 控制面板 46 |
  • 47 |
48 |
49 |
50 | 51 |
52 |
53 |
54 |
55 | 62 |
63 | 64 |
65 |
66 | 67 |
68 | 69 | 70 | 136 | 137 | -------------------------------------------------------------------------------- /application/admin/view/index/main.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 控制面板 9 | 10 | 11 | 12 | 13 |
14 |
15 |
16 |

系统信息

17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
系统名称掬英学校管理系统
系统版本v1.17061401
29 |
30 |
31 |
32 |

更新日志

33 |
34 |

版本:v1.17052701(已完成)

35 |

1. 浏览器兼容问题,ie8及以下提示安装新的浏览器

36 |

2. 添加或者修改数据追加为空验证

37 |

3. 增加教师角色功能。

38 |

4. 弹出窗口提示问题z-index

39 |

5. 已知bug

40 |
41 |
42 |

版本:v1.170060501(已完成)

43 |

1. 添加按钮弹窗方式修改

44 |

2. 错题管理系统多图上传开发

45 |
46 |
47 |

版本预估:v1.17061001(待完成)

48 |

1 人员管理 列表追加昵称字段

49 |

2 添加人员 老师角色,去掉已经设置的老师

50 |

3 所有列表状态字段更改为滑动效果

51 |

4 基础数据-老师 增加登陆账号是否启用

52 |

5 学生管理中年级字段更改为动态设置

53 |

6 老师档案,删减字段信息包括:部门、职位、基本工资、工资系数、户口性质、紧急联系人、紧急联系人电话、紧急联系人关系

54 |

增加科目字段

55 |

7 老师新增错题:科目锁定

56 |

8 老师错题管理:搜索条件:根据学生、科目、年级

57 |

9 学校错题系统名称改为掬英培训学校

58 |

-----------------------------------------------------------------------------------------------------------------

59 |

附加:

60 |

权限设置区分菜单跟按钮中文显示

61 |
62 |
63 |

版本:v1.17061401(已完成)

64 |

1 人员管理 列表追加昵称字段

65 |

2 添加人员 老师角色,去掉已经设置的老师

66 |

3 所有列表状态字段更改为滑动效果

67 |

4 基础数据-老师 增加登陆账号是否启用

68 |

5 学生管理中年级字段更改为动态设置

69 |

6 老师档案,删减字段信息包括:部门、职位、基本工资、工资系数、户口性质、紧急联系人、紧急联系人电话、紧急联系人关系

70 |

增加科目字段

71 |

7 老师新增错题:科目锁定

72 |

8 老师错题管理:搜索条件:根据学生、科目、年级

73 |

9 学校错题系统名称改为掬英培训学校

74 |

10 多图上传二次修改,更改数据库结构,编辑与查看带预览功能

75 |

11 学生错题统计系统,包括人员时间区间搜索

76 |

12 其他已知bug

77 |

-----------------------------------------------------------------------------------------------------------------

78 |

附加:

79 |

权限设置区分菜单跟按钮中文显示

80 |
81 | 82 | 83 | 84 |
85 | 86 |
87 | 88 |
89 | 90 | 91 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /application/admin/view/menu/addmenu.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 添加权限 6 | 7 | 8 |
9 |
10 |
11 | 12 |
13 | 14 |
15 |
16 |
17 | 18 |
19 | 20 |
输入控制器/方法即可 例如 Rule/index
21 |
22 |
23 |
24 | 25 |
26 | 27 |
28 |
29 |
30 | 31 |
32 | 33 |
34 |
35 | 36 | 37 |
38 |
39 | 40 | -------------------------------------------------------------------------------- /application/admin/view/menu/editMenu.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 编辑菜单 6 | 7 | 8 |
9 |
10 |
11 | 12 |
13 | 14 |
15 |
16 |
17 | 18 |
19 | 20 |
21 |
22 |
23 | 24 |
25 | 26 | 27 |
28 |
29 |
30 | 31 |
32 | 33 | 34 |
35 |
36 | 37 | 38 | 39 |
40 |
41 | 42 | -------------------------------------------------------------------------------- /application/admin/view/pay/payadd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 学生缴费 6 | 7 | 8 | 9 |
10 |
11 |
12 |
13 | 14 |
15 | 21 |
22 |
23 |
24 | 25 |
26 | 32 |
33 |
34 | 35 |
36 | 37 |
38 |
39 | 40 |
41 | 42 |
43 |
44 |
45 | 46 |
47 | 48 |
49 |
50 |
51 |
52 |
53 | 54 |
55 | 56 |
57 |
58 |
59 | 60 |
61 | 62 |
63 | 64 |
65 |
66 | 67 |
68 |
69 | 70 |
71 |
72 | 73 |
74 |
75 | 76 | 77 | -------------------------------------------------------------------------------- /application/admin/view/pay/payedit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 编辑缴费 6 | 7 | 8 | 9 |
10 | 11 |
12 | 13 |
14 | 15 |
16 | 17 |
18 | 23 |
24 |
25 |
26 | 27 |
28 | 33 |
34 |
35 | 36 |
37 | 38 |
39 |
40 | 41 |
42 | 43 |
44 |
45 |
46 | 47 |
48 | 49 |
50 |
51 |
52 |
53 |
54 | 55 |
56 | 57 |
58 |
59 |
60 | 61 |
62 | 63 |
64 | 65 |
66 |
67 | 68 |
69 |
70 | 71 | 72 |
73 |
74 | 75 |
76 |
77 | 78 | 79 | -------------------------------------------------------------------------------- /application/admin/view/role/addrole.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 添加角色 6 | 7 | 8 |
9 |
10 |
11 | 12 |
13 | 14 |
15 |
16 |
17 | 18 |
19 | 20 |
21 |
22 |
23 | 24 |
25 | 26 |
27 |
28 | 29 |
30 |
31 | 32 | -------------------------------------------------------------------------------- /application/admin/view/role/editrole.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 添加角色 6 | 7 | 8 |
9 |
10 |
11 | 12 |
13 | 14 |
15 |
16 |
17 | 18 |
19 | 20 |
21 |
22 |
23 | 24 |
25 | 26 | 27 |
28 |
29 | 30 | 31 |
32 |
33 | 34 | -------------------------------------------------------------------------------- /application/admin/view/stu/clslist.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 添加学生 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 |
18 | 19 | 添加纪录 20 | 21 | 22 | 23 | 导出信息 24 | 25 | 26 | 27 | 搜索 28 | 29 |
30 | 31 |
32 | 交费记录 33 |
34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 |
学生姓名上课时间科目课型老师费用实收操作
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 | 59 | 60 | 61 | 62 | 93 | 94 | -------------------------------------------------------------------------------- /application/admin/view/stu/paymentlist.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 添加学生 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 |
15 | 16 | 学生交费 17 | 18 | 19 | 20 | 导出信息 21 | 22 | 23 | 24 | 搜索 25 | 26 |
27 | 28 |
29 | 交费记录 30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 |
学生姓名交费时间交费金额余额备注操作
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 | 54 | 55 | 56 | 57 | 88 | 89 | -------------------------------------------------------------------------------- /application/admin/view/stu/stuadd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 添加学生 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 |
16 | 17 |
18 |
19 | 20 |
21 | 22 |
23 |
24 |
25 | 26 |
27 | 32 |
33 |
34 |
35 | 36 |
37 | 38 |
39 |
40 |
41 | 42 |
43 | 49 |
50 |
51 |
52 | 53 |
54 |
55 | 56 |
57 | 58 |
59 |
60 | 61 |
62 | 63 |
64 | 65 |
66 |
67 |
68 | 69 |
70 | 71 |
72 |
73 |
74 | 75 |
76 | 82 |
83 |
84 |
85 | 86 | 91 | 92 |
93 | 94 |
95 | 96 |
97 |
98 | 99 |
100 |
101 | 102 | 103 |
104 |
105 | 106 |
107 |
108 | 109 | 110 | 111 | 112 | 173 | 174 | -------------------------------------------------------------------------------- /application/admin/view/type/typeadd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 添加类型 6 | 7 | 8 | 9 |
10 |
11 |
12 |
13 | 14 |
15 | 16 |
17 |
18 |
19 | 20 | 21 |
22 | 23 |
24 | 25 |
26 |
27 | 28 |
29 |
30 | 31 |
32 |
33 | 34 |
35 |
36 | 37 | 38 | -------------------------------------------------------------------------------- /application/admin/view/type/typeedit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 编辑类型 6 | 7 | 8 | 9 |
10 | 11 |
12 | 13 |
14 |
15 | 16 |
17 | 18 |
19 |
20 |
21 | 22 | 23 |
24 | 25 |
26 | 27 |
28 |
29 | 30 |
31 |
32 | 33 | 34 |
35 |
36 | 37 |
38 |
39 | 40 | 41 | -------------------------------------------------------------------------------- /application/admin/view/user/chpwd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 修改个人密码 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 |
14 |
15 |
16 | 17 |
18 | 19 |
20 |
21 |
22 |
23 |
24 | 25 |
26 | 27 |
28 |
29 |
30 |
31 |
32 | 33 |
34 |
35 | 36 |
37 |
38 | 39 | 40 | -------------------------------------------------------------------------------- /application/admin/view/user/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 登录页 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 |

后台登录

18 |
19 | 47 |
48 |

掬英管理系统 © cuoti.juyingschool.com

49 |
50 |
51 | 52 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /application/admin/view/users/useradd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 添加人员 6 | 7 | 8 | 9 |
10 |
11 | 12 | 13 |
14 |
15 | 16 |
17 | 23 |
24 |
25 |
26 |
27 |
28 | 29 |
30 | 31 |
32 |
33 |
34 | 47 | 58 |
59 |
60 | 61 |
62 | 63 |
64 |
65 |
66 |
67 |
68 | 69 |
70 | 71 |
72 |
73 |
74 |
75 |
76 | 77 |
78 | 79 |
80 |
81 |
82 |
83 |
84 | 85 |
86 | 87 |
88 |
89 |
90 |
91 |
92 | 93 |
94 |
95 | 96 |
97 |
98 | 99 | 100 | -------------------------------------------------------------------------------- /application/admin/view/users/useredit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 编辑人员 6 | 7 | 8 | 9 |
10 |
11 |
12 |
13 | 14 |
15 | 21 |
22 |
23 |
24 |
25 |
26 | 27 |
28 | 29 |
30 |
31 |
32 |
33 |
34 | 35 |
36 | 42 |
43 |
44 |
45 |
46 |
47 | 48 |
49 | {volist name="stulist" id="list" mod="5"} 50 | 51 | {eq name="mod" value="4"}
{/eq} 52 | {/volist} 53 |
54 |
55 |
56 |
57 |
58 | 59 |
60 | 61 |
62 |
63 |
64 |
65 |
66 | 67 |
68 | 69 |
70 |
为空则不修改
71 |
72 |
73 |
74 |
75 | 76 |
77 | 78 |
79 |
为空则不验证
80 |
81 |
82 |
83 |
84 | 85 |
86 | 87 |
88 |
89 |
90 |
91 |
92 | 93 | 94 |
95 |
96 | 97 |
98 |
99 | 100 | 101 | 102 | 103 | -------------------------------------------------------------------------------- /application/api/common.php: -------------------------------------------------------------------------------- 1 | '用户不存在'], 404); 20 | } 21 | } 22 | 23 | } -------------------------------------------------------------------------------- /application/api/controller/v2/User.php: -------------------------------------------------------------------------------- 1 | '用户不存在'], 404); 20 | } 21 | } 22 | 23 | } -------------------------------------------------------------------------------- /application/api/model/Profile.php: -------------------------------------------------------------------------------- 1 | 'timestamp:Y-m-d', 15 | ]; 16 | 17 | 18 | } -------------------------------------------------------------------------------- /application/api/model/User.php: -------------------------------------------------------------------------------- 1 | hasOne('Profile'); 15 | } 16 | 17 | 18 | } -------------------------------------------------------------------------------- /application/command.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | return []; 13 | -------------------------------------------------------------------------------- /application/common.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // 应用公共文件 13 | 14 | /** 15 | * 系统非常规MD5加密方法 16 | * @param string $str 要加密的字符串 17 | * @return string 18 | */ 19 | function waimao_ucenter_md5($str, $key = 'waimao'){ 20 | return '' === $str ? '' : md5(sha1($str) . $key); 21 | } 22 | 23 | /** 24 | * 系统加密方法 25 | * @param string $data 要加密的字符串 26 | * @param string $key 加密密钥 27 | * @param int $expire 过期时间 (单位:秒) 28 | * @return string 29 | */ 30 | function think_ucenter_encrypt($data, $key, $expire = 0) { 31 | $key = md5($key); 32 | $data = base64_encode($data); 33 | $x = 0; 34 | $len = strlen($data); 35 | $l = strlen($key); 36 | $char = ''; 37 | for ($i = 0; $i < $len; $i++) { 38 | if ($x == $l) $x=0; 39 | $char .= substr($key, $x, 1); 40 | $x++; 41 | } 42 | $str = sprintf('%010d', $expire ? $expire + time() : 0); 43 | for ($i = 0; $i < $len; $i++) { 44 | $str .= chr(ord(substr($data,$i,1)) + (ord(substr($char,$i,1)))%256); 45 | } 46 | return str_replace('=', '', base64_encode($str)); 47 | } 48 | 49 | /** 50 | * 系统解密方法 51 | * @param string $data 要解密的字符串 (必须是think_encrypt方法加密的字符串) 52 | * @param string $key 加密密钥 53 | * @return string 54 | */ 55 | function think_ucenter_decrypt($data, $key){ 56 | $key = md5($key); 57 | $x = 0; 58 | $data = base64_decode($data); 59 | $expire = substr($data, 0, 10); 60 | $data = substr($data, 10); 61 | if($expire > 0 && $expire < time()) { 62 | return ''; 63 | } 64 | $len = strlen($data); 65 | $l = strlen($key); 66 | $char = $str = ''; 67 | for ($i = 0; $i < $len; $i++) { 68 | if ($x == $l) $x = 0; 69 | $char .= substr($key, $x, 1); 70 | $x++; 71 | } 72 | for ($i = 0; $i < $len; $i++) { 73 | if (ord(substr($data, $i, 1)) < ord(substr($char, $i, 1))) { 74 | $str .= chr((ord(substr($data, $i, 1)) + 256) - ord(substr($char, $i, 1))); 75 | }else{ 76 | $str .= chr(ord(substr($data, $i, 1)) - ord(substr($char, $i, 1))); 77 | } 78 | } 79 | return base64_decode($str); 80 | } 81 | 82 | 83 | /** 84 | * 获取客户端IP地址 85 | * @param integer $type 返回类型 0 返回IP地址 1 返回IPV4地址数字 86 | * @param boolean $adv 是否进行高级模式获取(有可能被伪装) 87 | * @return mixed 88 | */ 89 | function get_client_ip($type = 0,$adv=false) { 90 | $type = $type ? 1 : 0; 91 | static $ip = NULL; 92 | if ($ip !== NULL) return $ip[$type]; 93 | if($adv){ 94 | if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { 95 | $arr = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']); 96 | $pos = array_search('unknown',$arr); 97 | if(false !== $pos) unset($arr[$pos]); 98 | $ip = trim($arr[0]); 99 | }elseif (isset($_SERVER['HTTP_CLIENT_IP'])) { 100 | $ip = $_SERVER['HTTP_CLIENT_IP']; 101 | }elseif (isset($_SERVER['REMOTE_ADDR'])) { 102 | $ip = $_SERVER['REMOTE_ADDR']; 103 | } 104 | }elseif (isset($_SERVER['REMOTE_ADDR'])) { 105 | $ip = $_SERVER['REMOTE_ADDR']; 106 | } 107 | // IP地址合法验证 108 | $long = sprintf("%u",ip2long($ip)); 109 | $ip = $long ? array($ip, $long) : array('0.0.0.0', 0); 110 | return $ip[$type]; 111 | } 112 | 113 | 114 | /** 115 | * 时间戳格式化 116 | * @param int $time 117 | * @return string 完整的时间显示 118 | * @author huajie 119 | */ 120 | function time_format($time = NULL,$format='Y-m-d H:i'){ 121 | $time = $time === NULL ? NOW_TIME : intval($time); 122 | return date($format, $time); 123 | } 124 | 125 | /** 126 | * 数据签名认证 127 | * @param array $data 被认证的数据 128 | * @return string 签名 129 | * @author 麦当苗儿 130 | */ 131 | function data_auth_sign($data) { 132 | //数据类型检测 133 | if(!is_array($data)){ 134 | $data = (array)$data; 135 | } 136 | ksort($data); //排序 137 | $code = http_build_query($data); //url编码并生成query字符串 138 | $sign = sha1($code); //生成签名 139 | return $sign; 140 | } 141 | 142 | 143 | /** 144 | * 145 | * @return number 146 | */ 147 | function is_login(){ 148 | $user = session('user_auth'); 149 | 150 | if (empty($user)) { 151 | return 0; 152 | } else { 153 | return session('user_auth_sign') == data_auth_sign($user) ? $user['uid'] : 0; 154 | } 155 | } 156 | 157 | /** 158 | * 注销当前用户 159 | * @return void 160 | */ 161 | function logout(){ 162 | session('user_auth', null); 163 | session('user_auth_sign', null); 164 | } 165 | 166 | 167 | /** 168 | * 日期大小比较 169 | * @param $date1 170 | * @param $date2 171 | * @return bool 172 | */ 173 | function dateBDate($date1, $date2) { 174 | // 日期1是否大于日期2 175 | $month1 = date("m", strtotime($date1)); 176 | $month2 = date("m", strtotime($date2)); 177 | $day1 = date("d", strtotime($date1)); 178 | $day2 = date("d", strtotime($date2)); 179 | $year1 = date("Y", strtotime($date1)); 180 | $year2 = date("Y", strtotime($date2)); 181 | $from = mktime(0, 0, 0, $month1, $day1, $year1); 182 | $to = mktime(0, 0, 0, $month2, $day2, $year2); 183 | if ($from > $to) { 184 | return true; 185 | } else { 186 | return false; 187 | } 188 | } -------------------------------------------------------------------------------- /application/database.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | return [ 13 | // 数据库类型 14 | 'type' => 'mysql', 15 | // 服务器地址 16 | 'hostname' => '127.0.0.1', 17 | // 数据库名 18 | 'database' => 'cuoti', 19 | // 数据库用户名 20 | 'username' => 'root', 21 | // 数据库密码 22 | 'password' => 'root', 23 | // 数据库连接端口 24 | 'hostport' => '', 25 | // 数据库连接参数 26 | 'params' => [], 27 | // 数据库编码默认采用utf8 28 | 'charset' => 'utf8', 29 | // 数据库表前缀 30 | 'prefix' => 'cuoti_', 31 | // 数据库调试模式 32 | 'debug' => true, 33 | ]; -------------------------------------------------------------------------------- /application/database_w.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | return [ 13 | // 数据库类型 14 | 'type' => 'mysql', 15 | // 服务器地址 16 | 'hostname' => '139.129.214.5', 17 | // 数据库名 18 | 'database' => 'cuoti', 19 | // 数据库用户名 20 | 'username' => 'andrew', 21 | // 数据库密码 22 | 'password' => 'c0b17bca02', 23 | // 数据库连接端口 24 | 'hostport' => '', 25 | // 数据库连接参数 26 | 'params' => [], 27 | // 数据库编码默认采用utf8 28 | 'charset' => 'utf8', 29 | // 数据库表前缀 30 | 'prefix' => 'cuoti_', 31 | // 数据库调试模式 32 | 'debug' => true, 33 | ]; -------------------------------------------------------------------------------- /application/demo/common.php: -------------------------------------------------------------------------------- 1 | ['except'=>'hello'], 10 | 'three' => ['only'=>'hello,data'], 11 | ]; 12 | 13 | protected function first() 14 | { 15 | echo 'first
'; 16 | } 17 | 18 | protected function second() 19 | { 20 | echo 'second
'; 21 | } 22 | 23 | protected function three() 24 | { 25 | echo 'three
'; 26 | } 27 | 28 | public function hello() 29 | { 30 | return 'hello'; 31 | } 32 | 33 | public function data() 34 | { 35 | return 'data'; 36 | } 37 | 38 | public function hello1() 39 | { 40 | return 'data'; 41 | } 42 | } -------------------------------------------------------------------------------- /application/demo/controller/Zhushou.php: -------------------------------------------------------------------------------- 1 | url(); 8 | } 9 | 10 | } -------------------------------------------------------------------------------- /application/demo/database.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | return [ 13 | // 数据库类型 14 | // 数据库连接参数 15 | 'params' => [ 16 | // 使用长连接 17 | \PDO::ATTR_PERSISTENT => true, 18 | ], 19 | ]; -------------------------------------------------------------------------------- /application/demo/view/index/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | layui.form小例子 6 | 7 | 8 | 9 | 10 |
11 |
12 | 13 |
14 | 15 |
16 |
17 |
18 | 19 |
20 | 24 |
25 |
26 |
27 | 28 |
29 | 30 | 31 |
32 |
33 |
34 | 35 |
36 | 37 |
38 |
39 |
40 | 41 |
42 | 43 |
44 |
45 |
46 | 47 |
48 | 49 | 50 |
51 |
52 |
53 | 54 |
55 | 56 |
57 |
58 |
59 |
60 | 61 | 62 |
63 |
64 | 65 |
66 | 67 | -------------------------------------------------------------------------------- /application/index/controller/Base.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | use think\Route; 12 | Route::rule(':version/user/:id','api/:version.User/read'); 13 | return [ 14 | '__pattern__' => [ 15 | 'name' => '\w+', 16 | ], 17 | /*'[hello]' => [ 18 | ':id' => ['index/hello', ['method' => 'get'], ['id' => '\d+']], 19 | ':name' => ['index/hello', ['method' => 'post']], 20 | ],*/ 21 | 'login/[:name]' => 'admin/user/login', 22 | 'logout/[:name]' => 'admin/user/logout', 23 | 'chpwd/[:name]' => 'admin/user/chpwd', 24 | '/' => 'admin/user/login', 25 | 26 | ]; 27 | 28 | -------------------------------------------------------------------------------- /application/tags.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // 应用行为扩展定义文件 13 | return [ 14 | // 应用初始化 15 | 'app_init' => [], 16 | // 应用开始 17 | 'app_begin' => [], 18 | // 模块初始化 19 | 'module_init' => [], 20 | // 操作开始执行 21 | 'action_begin' => [], 22 | // 视图内容过滤 23 | 'view_filter' => [], 24 | // 日志写入 25 | 'log_write' => [], 26 | // 应用结束 27 | 'app_end' => [], 28 | ]; 29 | -------------------------------------------------------------------------------- /build.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | return [ 13 | // 生成应用公共文件 14 | '__file__' => ['common.php', 'config.php', 'database.php'], 15 | 16 | // 定义demo模块的自动生成 (按照实际定义的文件名生成) 17 | 'demo' => [ 18 | '__file__' => ['common.php'], 19 | '__dir__' => ['behavior', 'controller', 'model', 'view'], 20 | 'controller' => ['Index', 'Test', 'UserType'], 21 | 'model' => ['User', 'UserType'], 22 | 'view' => ['index/index'], 23 | ], 24 | // 其他更多的模块定义 25 | ]; 26 | -------------------------------------------------------------------------------- /ceshi.html: -------------------------------------------------------------------------------- 1 | 57 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "topthink/think", 3 | "description": "the new thinkphp framework", 4 | "type": "project", 5 | "keywords": [ 6 | "framework", 7 | "thinkphp", 8 | "ORM" 9 | ], 10 | "homepage": "http://thinkphp.cn/", 11 | "license": "Apache-2.0", 12 | "authors": [ 13 | { 14 | "name": "liu21st", 15 | "email": "liu21st@gmail.com" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=5.4.0", 20 | "topthink/framework": "^5.0" 21 | }, 22 | "extra": { 23 | "think-path": "thinkphp" 24 | }, 25 | "config": { 26 | "preferred-install": "dist" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /del-svn.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/del-svn.bat -------------------------------------------------------------------------------- /extend/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Options +FollowSymlinks -Multiviews 3 | RewriteEngine On 4 | 5 | RewriteCond %{REQUEST_FILENAME} !-d 6 | RewriteCond %{REQUEST_FILENAME} !-f 7 | RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] 8 | 9 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/favicon.ico -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // [ 应用入口文件 ] 13 | 14 | // 定义应用目录 15 | define('APP_PATH', __DIR__ . '/../application/'); 16 | // 加载框架引导文件 17 | require __DIR__ . '/../thinkphp/start.php'; 18 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /public/router.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | // $Id$ 12 | 13 | if (is_file($_SERVER["DOCUMENT_ROOT"] . $_SERVER["REQUEST_URI"])) { 14 | return false; 15 | } else { 16 | require __DIR__ . "/index.php"; 17 | } 18 | -------------------------------------------------------------------------------- /public/static/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /public/upgrade.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 请升级你的浏览器 7 | 8 | 9 | 10 | 11 | 25 | 26 | 27 |

是时候升级你的浏览器了

28 |

你正在使用 Internet Explorer 的过期版本(IE6、IE7、IE8 或使用该内核的浏览器)。这意味着在升级浏览器前,你将无法访问此网站。

29 |
30 |

请注意:Windows XP 及 IE6、IE7、IE8 的支持已经结束

31 |

自 2014 年 4 月 8 日起,Microsoft 不再为 Windows XP 和 Internet Explorer 8 及以下版本提供相应支持和更新。如果你继续使用这些,你将可能受到病毒、间谍软件和其他恶意软件的攻击,无法确保个人信息的安全。请参阅 Microsoft 关于 Windows XP 支持已经结束的说明

32 |
33 |

更先进的浏览器

34 |

推荐使用以下浏览器的最新版本。如果你的电脑已有以下浏览器的最新版本则直接使用该浏览器访问即可。

35 | 42 |
43 |

为什么会出现这个页面?

44 |

如果你不知道升级浏览器是什么意思,请请教一些熟练电脑操作的朋友。如果你使用的不是IE6/7/8,而是360浏览器、QQ浏览器、搜狗浏览器等,出现这个页面是因为你使用的不是该浏览器的最新版本,升级至最新即可。

45 |
46 |

一起抵制IE6、IE7、IE8

47 |

为了兼容这个曾经的浏览器霸主,网页设计人员需要做大量的代码工作,而且最终效果也始终不能让人满意。对于普通用户而言,低版本IE更是一个岌岌可危的安全隐患,在Windows历史上几次大的木马病毒事件都是利用IE漏洞进行传播。所以,请和我们一起抵制IE6、IE7、IE8!

48 | 63 | 64 | -------------------------------------------------------------------------------- /public/uploads/20170608/429fcfb23f9752b2261c68d144202134.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170608/429fcfb23f9752b2261c68d144202134.jpg -------------------------------------------------------------------------------- /public/uploads/20170608/7ffe981addc42a28b3fddc963478366d.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170608/7ffe981addc42a28b3fddc963478366d.jpg -------------------------------------------------------------------------------- /public/uploads/20170610/14b034abd7951be335639a2222c21e1f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170610/14b034abd7951be335639a2222c21e1f.jpg -------------------------------------------------------------------------------- /public/uploads/20170610/67b2178486fdae53581832534b0e41cd.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170610/67b2178486fdae53581832534b0e41cd.jpg -------------------------------------------------------------------------------- /public/uploads/20170610/67efad30ce1a1e92ba9e3f50a95edb78.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170610/67efad30ce1a1e92ba9e3f50a95edb78.jpg -------------------------------------------------------------------------------- /public/uploads/20170610/968146480def7c259e6431fec3032965.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170610/968146480def7c259e6431fec3032965.jpg -------------------------------------------------------------------------------- /public/uploads/20170610/98b1fdd448def62896776ce638a307ab.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170610/98b1fdd448def62896776ce638a307ab.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/01aa68a60d87a95af22ff53eb1cbeac3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/01aa68a60d87a95af22ff53eb1cbeac3.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/035ef56d12eabdf52a08c125b623000c.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/035ef56d12eabdf52a08c125b623000c.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/150a8645d5bda8e78503c5fba8d47025.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/150a8645d5bda8e78503c5fba8d47025.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/181770afdad692adea890324bd0ee564.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/181770afdad692adea890324bd0ee564.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/25bf2f49a1dea1f6aadb8916df58bd0e.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/25bf2f49a1dea1f6aadb8916df58bd0e.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/285b17fea280d145ecd1157b6cc52687.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/285b17fea280d145ecd1157b6cc52687.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/2b6a63cb6f97df3dbab531b5ce6b7a04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/2b6a63cb6f97df3dbab531b5ce6b7a04.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/314e28755b319df3b2d71604b8444ca8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/314e28755b319df3b2d71604b8444ca8.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/35769ed9ee521a430078959ab6d302cf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/35769ed9ee521a430078959ab6d302cf.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/363044f248d3e94aeb177eb5ba63204b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/363044f248d3e94aeb177eb5ba63204b.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/40bb8a58b7b798b38c31d87b4754402b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/40bb8a58b7b798b38c31d87b4754402b.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/448dc6343f0a93a7a8fc97c5d6dd9d6b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/448dc6343f0a93a7a8fc97c5d6dd9d6b.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/47131848085ad56da2d8929a3a644573.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/47131848085ad56da2d8929a3a644573.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/4844723b91abaf1f9128cd39c8d34c4b.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/4844723b91abaf1f9128cd39c8d34c4b.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/4c19afbd8b0a6c823c9007479850c3af.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/4c19afbd8b0a6c823c9007479850c3af.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/4c9865ffd471322f138582e3cb1c25dc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/4c9865ffd471322f138582e3cb1c25dc.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/5142ebd73079bc535541515408d760c5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/5142ebd73079bc535541515408d760c5.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/5378b5018d8018440eacf7e5f80438f5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/5378b5018d8018440eacf7e5f80438f5.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/54649727d552bdc842506f9711bf353c.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/54649727d552bdc842506f9711bf353c.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/56cd239de64af60a006c1dc05bbb456f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/56cd239de64af60a006c1dc05bbb456f.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/58895175a606ed5693062c56a714e9c1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/58895175a606ed5693062c56a714e9c1.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/5fced0abc014906d4df4b30a62e051f6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/5fced0abc014906d4df4b30a62e051f6.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/6158350c06027f4d85398fde99ec9157.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/6158350c06027f4d85398fde99ec9157.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/6233976564accb050c74de50562b67c0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/6233976564accb050c74de50562b67c0.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/71a4f8eea93ea7ee3784072fb2b614a3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/71a4f8eea93ea7ee3784072fb2b614a3.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/7565b12de49c776e7c51b03a76b93bed.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/7565b12de49c776e7c51b03a76b93bed.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/779477a613720c7e250b1217c0939e0a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/779477a613720c7e250b1217c0939e0a.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/7a51247e55df8e2104d5082fe185db72.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/7a51247e55df8e2104d5082fe185db72.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/7e837c29b2bb81621b233718207d3994.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/7e837c29b2bb81621b233718207d3994.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/804deb6b2349a341f8cf9df92101a2d1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/804deb6b2349a341f8cf9df92101a2d1.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/83f3bf391d5b23d362be7ed69db39ba8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/83f3bf391d5b23d362be7ed69db39ba8.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/87323f8120c33f97196ce3cbeaf7af34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/87323f8120c33f97196ce3cbeaf7af34.gif -------------------------------------------------------------------------------- /public/uploads/20170613/87e7cd4422ecf0e798c54b6a39fed30f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/87e7cd4422ecf0e798c54b6a39fed30f.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/9f3dba8697e2229e7da6e6e05934366a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/9f3dba8697e2229e7da6e6e05934366a.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/a9641e0ec6dfe2346c4de4541ddbddba.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/a9641e0ec6dfe2346c4de4541ddbddba.gif -------------------------------------------------------------------------------- /public/uploads/20170613/b1b618d3a6e6d276a86a785f1c71e488.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/b1b618d3a6e6d276a86a785f1c71e488.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/b26c7cc49b6767716757f2d67cc17cfe.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/b26c7cc49b6767716757f2d67cc17cfe.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/bfc81f0778faafa98e9f0ced298f6d9d.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/bfc81f0778faafa98e9f0ced298f6d9d.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/c0aaa85992ac925caa75170c7ec8ae93.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/c0aaa85992ac925caa75170c7ec8ae93.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/c1cb314251694d63663f9f40895bc14d.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/c1cb314251694d63663f9f40895bc14d.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/c2108a3b7377a9dd046d5c250f482ccc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/c2108a3b7377a9dd046d5c250f482ccc.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/c23986bcf2af96f1c4071cf3b13ca4d2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/c23986bcf2af96f1c4071cf3b13ca4d2.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/cd0ea455c95821d9447eef475a8f0885.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/cd0ea455c95821d9447eef475a8f0885.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/d078a906a41a65e794ede024dfce3cdf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/d078a906a41a65e794ede024dfce3cdf.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/d1be59aeab4040e2f3a6a243af9d1a98.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/d1be59aeab4040e2f3a6a243af9d1a98.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/d2f53f3037bcaaa6c4e5e6a0a27a454d.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/d2f53f3037bcaaa6c4e5e6a0a27a454d.gif -------------------------------------------------------------------------------- /public/uploads/20170613/d44f5a4cfbff7a7e85b8d12096ef858a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/d44f5a4cfbff7a7e85b8d12096ef858a.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/dbb893060488f9bdedc4c324ef761520.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/dbb893060488f9bdedc4c324ef761520.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/de899f95301ea9f3a319c9146310f3a6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/de899f95301ea9f3a319c9146310f3a6.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/df9dcac8bbbf02261d8ff4bdc62b34cf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/df9dcac8bbbf02261d8ff4bdc62b34cf.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/e4503aec950cee989ab5f271ca0f7127.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/e4503aec950cee989ab5f271ca0f7127.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/e4db050d46ae3b1f4cd8111c9c95f9e2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/e4db050d46ae3b1f4cd8111c9c95f9e2.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/ea2f85994b8f81e6a4c953e796320182.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/ea2f85994b8f81e6a4c953e796320182.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/f2971bb49acd264c07ef6c0cbade593f.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/f2971bb49acd264c07ef6c0cbade593f.gif -------------------------------------------------------------------------------- /public/uploads/20170613/fdc70a28f9c04c8a87441acc698406d0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/fdc70a28f9c04c8a87441acc698406d0.jpg -------------------------------------------------------------------------------- /public/uploads/20170613/ff8e16ab7e204179a76b0165605fce6d.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170613/ff8e16ab7e204179a76b0165605fce6d.jpg -------------------------------------------------------------------------------- /public/uploads/20170614/037ab3b44aa29e45f663af9b8ee3bac8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/037ab3b44aa29e45f663af9b8ee3bac8.jpg -------------------------------------------------------------------------------- /public/uploads/20170614/0c3f1e74d224a341f6b5aa8853bd19d5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/0c3f1e74d224a341f6b5aa8853bd19d5.gif -------------------------------------------------------------------------------- /public/uploads/20170614/15dbc950c11dc239a68b60fafa53b079.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/15dbc950c11dc239a68b60fafa53b079.jpg -------------------------------------------------------------------------------- /public/uploads/20170614/1af9000b130bed617d96f87b7a210785.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/1af9000b130bed617d96f87b7a210785.gif -------------------------------------------------------------------------------- /public/uploads/20170614/1fdf2e51e375d0a587ba58d61d9a3f1f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/1fdf2e51e375d0a587ba58d61d9a3f1f.jpg -------------------------------------------------------------------------------- /public/uploads/20170614/20bdb25af48cde072fc0493c512ba15e.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/20bdb25af48cde072fc0493c512ba15e.jpg -------------------------------------------------------------------------------- /public/uploads/20170614/374ab184a6c6cf4a85d9689735651f02.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/374ab184a6c6cf4a85d9689735651f02.gif -------------------------------------------------------------------------------- /public/uploads/20170614/4047bfe191d247aa06ff9214d9dd7e3f.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/4047bfe191d247aa06ff9214d9dd7e3f.gif -------------------------------------------------------------------------------- /public/uploads/20170614/433b054646e49a50c96189d653a43626.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/433b054646e49a50c96189d653a43626.jpg -------------------------------------------------------------------------------- /public/uploads/20170614/438cb41cd83b3f3fa2de276cd7b57d05.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/438cb41cd83b3f3fa2de276cd7b57d05.gif -------------------------------------------------------------------------------- /public/uploads/20170614/48d3acb730860574c0c0fd90268e4cf2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/48d3acb730860574c0c0fd90268e4cf2.jpg -------------------------------------------------------------------------------- /public/uploads/20170614/4ecfe8d87e7bc418ca97a78ab8f7c4cc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/4ecfe8d87e7bc418ca97a78ab8f7c4cc.gif -------------------------------------------------------------------------------- /public/uploads/20170614/5311106a882c96b0b2f3a46243989195.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/5311106a882c96b0b2f3a46243989195.gif -------------------------------------------------------------------------------- /public/uploads/20170614/5b1ba231850fbadaae61e1a7390dfb3a.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/5b1ba231850fbadaae61e1a7390dfb3a.gif -------------------------------------------------------------------------------- /public/uploads/20170614/5b8dc489a836a1fca9a247369291ec30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/5b8dc489a836a1fca9a247369291ec30.gif -------------------------------------------------------------------------------- /public/uploads/20170614/5f6bb79bb298bddc04e5c4fb93e641bd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/5f6bb79bb298bddc04e5c4fb93e641bd.gif -------------------------------------------------------------------------------- /public/uploads/20170614/7169dfe05c5bc840bb80cfba469ab331.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/7169dfe05c5bc840bb80cfba469ab331.jpg -------------------------------------------------------------------------------- /public/uploads/20170614/893cd71a738aa88a7d1a3d0fcf545445.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/893cd71a738aa88a7d1a3d0fcf545445.gif -------------------------------------------------------------------------------- /public/uploads/20170614/8a02167285f8cb65b084435c536af545.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/8a02167285f8cb65b084435c536af545.gif -------------------------------------------------------------------------------- /public/uploads/20170614/8a089717e7fd43cc87c6aff01bf544e6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/8a089717e7fd43cc87c6aff01bf544e6.gif -------------------------------------------------------------------------------- /public/uploads/20170614/8b6a48bb0c2e3efb5420c920bea5339a.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/8b6a48bb0c2e3efb5420c920bea5339a.gif -------------------------------------------------------------------------------- /public/uploads/20170614/94fba89e1fffcf2bebe80e0abcde34a1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/94fba89e1fffcf2bebe80e0abcde34a1.gif -------------------------------------------------------------------------------- /public/uploads/20170614/96cf9a1b404c08c3fe6f5341a5342ba2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/96cf9a1b404c08c3fe6f5341a5342ba2.gif -------------------------------------------------------------------------------- /public/uploads/20170614/9a29de6acab53852f66aabd75642b36d.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/9a29de6acab53852f66aabd75642b36d.gif -------------------------------------------------------------------------------- /public/uploads/20170614/9c8203484534df9ce66956b7ff1b24db.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/9c8203484534df9ce66956b7ff1b24db.jpg -------------------------------------------------------------------------------- /public/uploads/20170614/9ceb3252c892b063f2d10d5e2e15202f.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/9ceb3252c892b063f2d10d5e2e15202f.gif -------------------------------------------------------------------------------- /public/uploads/20170614/ac50321a0ddec95eccc2e369a48cc8e7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/ac50321a0ddec95eccc2e369a48cc8e7.gif -------------------------------------------------------------------------------- /public/uploads/20170614/b2c430b968db2c174b5a3b492bed2532.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/b2c430b968db2c174b5a3b492bed2532.jpg -------------------------------------------------------------------------------- /public/uploads/20170614/b49230e7e41dda2e81c012485e7ac5a6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/b49230e7e41dda2e81c012485e7ac5a6.jpg -------------------------------------------------------------------------------- /public/uploads/20170614/b5cd534fefb49560c35e299495749659.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/b5cd534fefb49560c35e299495749659.gif -------------------------------------------------------------------------------- /public/uploads/20170614/b8675a64418131cbeb490efcd4503b57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/b8675a64418131cbeb490efcd4503b57.gif -------------------------------------------------------------------------------- /public/uploads/20170614/b99e1fcd6f4b70d06070267f20ff5e92.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/b99e1fcd6f4b70d06070267f20ff5e92.gif -------------------------------------------------------------------------------- /public/uploads/20170614/ba57f67fb82814683e4df08d3bc4cac2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/ba57f67fb82814683e4df08d3bc4cac2.jpg -------------------------------------------------------------------------------- /public/uploads/20170614/bfb47086548bb4a3dc7d5f0248b58b57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/bfb47086548bb4a3dc7d5f0248b58b57.gif -------------------------------------------------------------------------------- /public/uploads/20170614/c0bde0610da1507d050da204899677ac.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/c0bde0610da1507d050da204899677ac.gif -------------------------------------------------------------------------------- /public/uploads/20170614/c4e01fa10e2794ad602db954444ea3fa.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/c4e01fa10e2794ad602db954444ea3fa.gif -------------------------------------------------------------------------------- /public/uploads/20170614/cab5675e977f7ce7eabd0d82353b7aaa.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/cab5675e977f7ce7eabd0d82353b7aaa.gif -------------------------------------------------------------------------------- /public/uploads/20170614/d2e05144e5aaf7a8db96477b14289f3f.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/d2e05144e5aaf7a8db96477b14289f3f.gif -------------------------------------------------------------------------------- /public/uploads/20170614/d4003d9664ac08c1bd01977d9d72e8cd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/d4003d9664ac08c1bd01977d9d72e8cd.gif -------------------------------------------------------------------------------- /public/uploads/20170614/d44ce1f0f237b48d997a35bee0d8ef97.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/d44ce1f0f237b48d997a35bee0d8ef97.gif -------------------------------------------------------------------------------- /public/uploads/20170614/e10a8fe90d1723d6c4cb64246bedb61e.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/e10a8fe90d1723d6c4cb64246bedb61e.gif -------------------------------------------------------------------------------- /public/uploads/20170614/e43a4b90b9ab2d310db359ce8fa0a7fd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/e43a4b90b9ab2d310db359ce8fa0a7fd.gif -------------------------------------------------------------------------------- /public/uploads/20170614/f016d0ee02b93ebf9ee4389240f42d8f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/f016d0ee02b93ebf9ee4389240f42d8f.jpg -------------------------------------------------------------------------------- /public/uploads/20170614/f1c3be7c1d632814663e664589d6d6a3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/f1c3be7c1d632814663e664589d6d6a3.gif -------------------------------------------------------------------------------- /public/uploads/20170614/f36eedd3aa0a927f4ce04d6ee785575c.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/f36eedd3aa0a927f4ce04d6ee785575c.gif -------------------------------------------------------------------------------- /public/uploads/20170614/f50919b95bb6e16ed464b6d24d6bb488.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/f50919b95bb6e16ed464b6d24d6bb488.gif -------------------------------------------------------------------------------- /public/uploads/20170614/f8377bd5e7e986c73a3fde07c0dc716c.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/f8377bd5e7e986c73a3fde07c0dc716c.gif -------------------------------------------------------------------------------- /public/uploads/20170614/f9ad2beea4fc9704514c2292e2293c13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/f9ad2beea4fc9704514c2292e2293c13.jpg -------------------------------------------------------------------------------- /public/uploads/20170614/feb72ffc9f3e08ddb2be2b355de90def.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170614/feb72ffc9f3e08ddb2be2b355de90def.gif -------------------------------------------------------------------------------- /public/uploads/20170615/a3d3282658b687a3db3add0406bbdb5a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170615/a3d3282658b687a3db3add0406bbdb5a.jpg -------------------------------------------------------------------------------- /public/uploads/20170615/e9870ba047b01b22d414f5a954d6f5bc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andrewjm118/thinkphp5-managementSystem/06947a40b8227e42ae7fbfdcaf6383eb50a793a7/public/uploads/20170615/e9870ba047b01b22d414f5a954d6f5bc.gif -------------------------------------------------------------------------------- /runtime/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /think: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | 11 | // +---------------------------------------------------------------------- 12 | 13 | // 定义项目路径 14 | define('APP_PATH', __DIR__ . '/application/'); 15 | 16 | // 加载框架引导文件 17 | require './thinkphp/console.php'; -------------------------------------------------------------------------------- /vendor/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore --------------------------------------------------------------------------------