├── public
├── 61723.txt
├── baidu_verify_YxPMGzotG4.html
├── root.txt
├── uploads
│ └── .gitignore
├── bdunion.txt
├── webscan_360_cn.html
├── skin
│ ├── plugins
│ │ └── editor
│ │ │ ├── ueditor
│ │ │ ├── themes
│ │ │ │ ├── iframe.css
│ │ │ │ └── default
│ │ │ │ │ └── images
│ │ │ │ │ ├── lock.gif
│ │ │ │ │ ├── word.gif
│ │ │ │ │ ├── anchor.gif
│ │ │ │ │ ├── arrow.png
│ │ │ │ │ ├── charts.png
│ │ │ │ │ ├── icons.gif
│ │ │ │ │ ├── icons.png
│ │ │ │ │ ├── scale.png
│ │ │ │ │ ├── spacer.gif
│ │ │ │ │ ├── upload.png
│ │ │ │ │ ├── arrow_up.png
│ │ │ │ │ ├── button-bg.gif
│ │ │ │ │ ├── cursor_h.gif
│ │ │ │ │ ├── cursor_h.png
│ │ │ │ │ ├── cursor_v.gif
│ │ │ │ │ ├── cursor_v.png
│ │ │ │ │ ├── filescan.png
│ │ │ │ │ ├── icons-all.gif
│ │ │ │ │ ├── loaderror.png
│ │ │ │ │ ├── loading.gif
│ │ │ │ │ ├── pagebreak.gif
│ │ │ │ │ ├── sortable.png
│ │ │ │ │ ├── videologo.gif
│ │ │ │ │ ├── wordpaste.png
│ │ │ │ │ ├── arrow_down.png
│ │ │ │ │ ├── highlighted.gif
│ │ │ │ │ ├── sparator_v.png
│ │ │ │ │ ├── toolbar_bg.png
│ │ │ │ │ ├── cancelbutton.gif
│ │ │ │ │ ├── unhighlighted.gif
│ │ │ │ │ ├── dialog-title-bg.png
│ │ │ │ │ ├── neweditor-tab-bg.png
│ │ │ │ │ ├── table-cell-align.png
│ │ │ │ │ └── tangram-colorpicker.png
│ │ │ ├── lang
│ │ │ │ ├── en
│ │ │ │ │ └── images
│ │ │ │ │ │ ├── button.png
│ │ │ │ │ │ ├── copy.png
│ │ │ │ │ │ ├── music.png
│ │ │ │ │ │ ├── upload.png
│ │ │ │ │ │ ├── addimage.png
│ │ │ │ │ │ ├── background.png
│ │ │ │ │ │ ├── localimage.png
│ │ │ │ │ │ ├── deletedisable.png
│ │ │ │ │ │ ├── deleteenable.png
│ │ │ │ │ │ ├── listbackground.png
│ │ │ │ │ │ ├── rotateleftenable.png
│ │ │ │ │ │ ├── alldeletebtnupskin.png
│ │ │ │ │ │ ├── rotateleftdisable.png
│ │ │ │ │ │ ├── rotaterightdisable.png
│ │ │ │ │ │ ├── rotaterightenable.png
│ │ │ │ │ │ └── alldeletebtnhoverskin.png
│ │ │ │ └── zh-cn
│ │ │ │ │ └── images
│ │ │ │ │ ├── copy.png
│ │ │ │ │ ├── music.png
│ │ │ │ │ ├── upload.png
│ │ │ │ │ └── localimage.png
│ │ │ ├── dialogs
│ │ │ │ ├── image
│ │ │ │ │ └── images
│ │ │ │ │ │ ├── bg.png
│ │ │ │ │ │ ├── icons.gif
│ │ │ │ │ │ ├── icons.png
│ │ │ │ │ │ ├── image.png
│ │ │ │ │ │ ├── success.gif
│ │ │ │ │ │ ├── success.png
│ │ │ │ │ │ ├── alignicon.jpg
│ │ │ │ │ │ └── progress.png
│ │ │ │ ├── table
│ │ │ │ │ ├── dragicon.png
│ │ │ │ │ └── edittip.html
│ │ │ │ ├── video
│ │ │ │ │ └── images
│ │ │ │ │ │ ├── bg.png
│ │ │ │ │ │ ├── icons.gif
│ │ │ │ │ │ ├── icons.png
│ │ │ │ │ │ ├── image.png
│ │ │ │ │ │ ├── success.gif
│ │ │ │ │ │ ├── success.png
│ │ │ │ │ │ ├── file-icons.gif
│ │ │ │ │ │ ├── file-icons.png
│ │ │ │ │ │ ├── left_focus.jpg
│ │ │ │ │ │ ├── none_focus.jpg
│ │ │ │ │ │ ├── progress.png
│ │ │ │ │ │ ├── center_focus.jpg
│ │ │ │ │ │ └── right_focus.jpg
│ │ │ │ ├── emotion
│ │ │ │ │ └── images
│ │ │ │ │ │ ├── 0.gif
│ │ │ │ │ │ ├── bface.gif
│ │ │ │ │ │ ├── cface.gif
│ │ │ │ │ │ ├── fface.gif
│ │ │ │ │ │ ├── tface.gif
│ │ │ │ │ │ ├── wface.gif
│ │ │ │ │ │ ├── yface.gif
│ │ │ │ │ │ ├── jxface2.gif
│ │ │ │ │ │ └── neweditor-tab-bg.png
│ │ │ │ ├── scrawl
│ │ │ │ │ └── images
│ │ │ │ │ │ ├── redo.png
│ │ │ │ │ │ ├── size.png
│ │ │ │ │ │ ├── undo.png
│ │ │ │ │ │ ├── addimg.png
│ │ │ │ │ │ ├── brush.png
│ │ │ │ │ │ ├── delimg.png
│ │ │ │ │ │ ├── empty.png
│ │ │ │ │ │ ├── emptyH.png
│ │ │ │ │ │ ├── eraser.png
│ │ │ │ │ │ ├── redoH.png
│ │ │ │ │ │ ├── scale.png
│ │ │ │ │ │ ├── scaleH.png
│ │ │ │ │ │ ├── undoH.png
│ │ │ │ │ │ └── delimgH.png
│ │ │ │ ├── template
│ │ │ │ │ ├── images
│ │ │ │ │ │ ├── bg.gif
│ │ │ │ │ │ ├── pre0.png
│ │ │ │ │ │ ├── pre1.png
│ │ │ │ │ │ ├── pre2.png
│ │ │ │ │ │ ├── pre3.png
│ │ │ │ │ │ └── pre4.png
│ │ │ │ │ ├── template.html
│ │ │ │ │ └── template.css
│ │ │ │ ├── attachment
│ │ │ │ │ ├── images
│ │ │ │ │ │ ├── bg.png
│ │ │ │ │ │ ├── icons.gif
│ │ │ │ │ │ ├── icons.png
│ │ │ │ │ │ ├── image.png
│ │ │ │ │ │ ├── success.gif
│ │ │ │ │ │ ├── success.png
│ │ │ │ │ │ ├── alignicon.gif
│ │ │ │ │ │ ├── alignicon.png
│ │ │ │ │ │ ├── file-icons.gif
│ │ │ │ │ │ ├── file-icons.png
│ │ │ │ │ │ └── progress.png
│ │ │ │ │ └── fileTypeImages
│ │ │ │ │ │ ├── icon_mv.gif
│ │ │ │ │ │ ├── icon_chm.gif
│ │ │ │ │ │ ├── icon_doc.gif
│ │ │ │ │ │ ├── icon_exe.gif
│ │ │ │ │ │ ├── icon_jpg.gif
│ │ │ │ │ │ ├── icon_mp3.gif
│ │ │ │ │ │ ├── icon_pdf.gif
│ │ │ │ │ │ ├── icon_ppt.gif
│ │ │ │ │ │ ├── icon_psd.gif
│ │ │ │ │ │ ├── icon_rar.gif
│ │ │ │ │ │ ├── icon_txt.gif
│ │ │ │ │ │ ├── icon_xls.gif
│ │ │ │ │ │ └── icon_default.png
│ │ │ │ ├── background
│ │ │ │ │ └── images
│ │ │ │ │ │ ├── bg.png
│ │ │ │ │ │ └── success.png
│ │ │ │ ├── charts
│ │ │ │ │ └── images
│ │ │ │ │ │ ├── charts0.png
│ │ │ │ │ │ ├── charts1.png
│ │ │ │ │ │ ├── charts2.png
│ │ │ │ │ │ ├── charts3.png
│ │ │ │ │ │ ├── charts4.png
│ │ │ │ │ │ └── charts5.png
│ │ │ │ ├── wordimage
│ │ │ │ │ ├── imageUploader.swf
│ │ │ │ │ └── fClipboard_ueditor.swf
│ │ │ │ ├── help
│ │ │ │ │ └── help.css
│ │ │ │ ├── spechars
│ │ │ │ │ └── spechars.html
│ │ │ │ ├── music
│ │ │ │ │ └── music.html
│ │ │ │ └── preview
│ │ │ │ │ └── preview.html
│ │ │ ├── third-party
│ │ │ │ ├── video-js
│ │ │ │ │ ├── font
│ │ │ │ │ │ ├── vjs.eot
│ │ │ │ │ │ ├── vjs.ttf
│ │ │ │ │ │ └── vjs.woff
│ │ │ │ │ └── video-js.swf
│ │ │ │ ├── webuploader
│ │ │ │ │ ├── Uploader.swf
│ │ │ │ │ └── webuploader.css
│ │ │ │ ├── zeroclipboard
│ │ │ │ │ └── ZeroClipboard.swf
│ │ │ │ └── highcharts
│ │ │ │ │ └── modules
│ │ │ │ │ ├── heatmap.js
│ │ │ │ │ ├── heatmap.src.js
│ │ │ │ │ └── no-data-to-display.js
│ │ │ └── php
│ │ │ │ └── action_crawler.php
│ │ │ └── markdown
│ │ │ └── bootstrap-markdown.zh.js
│ ├── manager
│ │ ├── img
│ │ │ ├── a1.jpg
│ │ │ ├── a2.jpg
│ │ │ ├── a3.jpg
│ │ │ ├── a4.jpg
│ │ │ ├── a5.jpg
│ │ │ ├── a6.jpg
│ │ │ ├── a7.jpg
│ │ │ ├── a8.jpg
│ │ │ ├── a9.jpg
│ │ │ ├── p1.jpg
│ │ │ ├── p2.jpg
│ │ │ ├── p3.jpg
│ │ │ ├── user.png
│ │ │ ├── index.jpg
│ │ │ ├── index_4.jpg
│ │ │ ├── locked.png
│ │ │ ├── p_big1.jpg
│ │ │ ├── p_big2.jpg
│ │ │ ├── p_big3.jpg
│ │ │ ├── profile.jpg
│ │ │ ├── qr_code.png
│ │ │ ├── profile_big.jpg
│ │ │ ├── wenku_logo.png
│ │ │ ├── iconfont-logo.png
│ │ │ ├── profile_small.jpg
│ │ │ └── login-background.jpg
│ │ ├── images
│ │ │ ├── folder.gif
│ │ │ └── nopic.png
│ │ ├── css
│ │ │ ├── patterns
│ │ │ │ ├── shattered.png
│ │ │ │ ├── header-profile.png
│ │ │ │ ├── header-profile-skin-1.png
│ │ │ │ └── header-profile-skin-3.png
│ │ │ ├── plugins
│ │ │ │ ├── jsTree
│ │ │ │ │ ├── 32px.png
│ │ │ │ │ └── throbber.gif
│ │ │ │ ├── iCheck
│ │ │ │ │ └── green.png
│ │ │ │ ├── images
│ │ │ │ │ ├── sort_asc.png
│ │ │ │ │ ├── spritemap.png
│ │ │ │ │ └── sprite-skin-flat.png
│ │ │ │ ├── chosen
│ │ │ │ │ └── chosen-sprite.png
│ │ │ │ ├── footable
│ │ │ │ │ └── fonts
│ │ │ │ │ │ └── footable.woff
│ │ │ │ ├── colorpicker
│ │ │ │ │ └── img
│ │ │ │ │ │ └── bootstrap-colorpicker
│ │ │ │ │ │ ├── hue.png
│ │ │ │ │ │ ├── alpha.png
│ │ │ │ │ │ └── saturation.png
│ │ │ │ ├── morris
│ │ │ │ │ └── morris-0.4.3.min.css
│ │ │ │ ├── webuploader
│ │ │ │ │ └── webuploader.css
│ │ │ │ ├── switchery
│ │ │ │ │ └── switchery.css
│ │ │ │ ├── fullcalendar
│ │ │ │ │ └── fullcalendar.print.css
│ │ │ │ └── treeview
│ │ │ │ │ └── bootstrap-treeview.css
│ │ │ └── login.min.css
│ │ └── fonts
│ │ │ ├── fontawesome-webfont.eot
│ │ │ ├── fontawesome-webfont.woff2
│ │ │ └── glyphicons-halflings-regular.woff2
│ ├── wap
│ │ ├── images
│ │ │ ├── ali.png
│ │ │ ├── b.png
│ │ │ ├── ch.png
│ │ │ ├── cl.png
│ │ │ ├── d.png
│ │ │ ├── e.png
│ │ │ ├── err.png
│ │ │ ├── ic2.png
│ │ │ ├── lb.png
│ │ │ ├── nm.png
│ │ │ ├── pc.png
│ │ │ ├── pen.png
│ │ │ ├── sl.png
│ │ │ ├── suc.png
│ │ │ ├── te.png
│ │ │ ├── tel.png
│ │ │ ├── wx.png
│ │ │ ├── close.png
│ │ │ ├── head.png
│ │ │ ├── icon.png
│ │ │ ├── icons.png
│ │ │ ├── label.png
│ │ │ ├── logo.jpg
│ │ │ ├── pics.png
│ │ │ ├── star.png
│ │ │ ├── b_icon.png
│ │ │ ├── bg_bsl.gif
│ │ │ ├── bg_dyb.png
│ │ │ ├── bg_ypz.png
│ │ │ ├── bookbg.jpg
│ │ │ ├── ico_bot.png
│ │ │ ├── ico_next.png
│ │ │ ├── ico_prev.png
│ │ │ ├── rd_menu.png
│ │ │ ├── select.png
│ │ │ ├── ico_select.png
│ │ │ ├── arrow_go_atz.png
│ │ │ ├── arrow_go_zta.png
│ │ │ ├── download_pop.png
│ │ │ ├── download_tit.png
│ │ │ ├── ico_top_new.png
│ │ │ ├── rd_menu_night.png
│ │ │ └── articleset-icon.png
│ │ └── picture
│ │ │ ├── dc.jpg
│ │ │ ├── dapk.jpg
│ │ │ ├── dcbw.jpg
│ │ │ ├── wcico.png
│ │ │ ├── 1333810593615.jpg
│ │ │ ├── 1359999106537.jpg
│ │ │ ├── 1403693614560.jpg
│ │ │ ├── 1415449183581.jpg
│ │ │ ├── 1416966748561.jpg
│ │ │ ├── 1417403669730.jpg
│ │ │ ├── 1442466080422.png
│ │ │ ├── 1464931266432.jpg
│ │ │ ├── 1470035563477.jpg
│ │ │ ├── 1480647401951.png
│ │ │ ├── 1481188550362.png
│ │ │ ├── 1482483045609.jpg
│ │ │ ├── 1494224605591.png
│ │ │ ├── 1494224649695.jpg
│ │ │ ├── 1495184753927.jpg
│ │ │ ├── 1495184797970.jpg
│ │ │ ├── 1495184915519.jpg
│ │ │ ├── 1495185070475.jpg
│ │ │ ├── 1495877109653.jpg
│ │ │ ├── 00093af9971adf3d796ad79e2556e093.jpeg
│ │ │ ├── 24f6c99ff947eee51922b87872d3b9b2.jpeg
│ │ │ ├── 3557741325fe095490ba5155ae6ba9e5.jpeg
│ │ │ └── db838fbfe2a83dac15e1d8ef1d377399.jpeg
│ ├── default
│ │ └── images
│ │ │ ├── 404
│ │ │ ├── vimeo.png
│ │ │ ├── maze_bg.png
│ │ │ ├── twitter.png
│ │ │ ├── youtube.png
│ │ │ ├── blue
│ │ │ │ ├── 404e.png
│ │ │ │ ├── Thumbs.db
│ │ │ │ └── pacman_eats.png
│ │ │ ├── delicious.png
│ │ │ ├── dribbble.png
│ │ │ └── facebook.png
│ │ │ ├── case.png
│ │ │ ├── jump.png
│ │ │ ├── lazy.gif
│ │ │ ├── logo.gif
│ │ │ ├── logo.jpg
│ │ │ ├── pic.gif
│ │ │ ├── ydbg.gif
│ │ │ ├── casebg.png
│ │ │ ├── 360safe.jpg
│ │ │ ├── loading.gif
│ │ │ ├── nocover.jpg
│ │ │ ├── readacbtn.png
│ │ │ └── register.gif
│ └── js
│ │ ├── plugins
│ │ ├── gritter
│ │ │ └── images
│ │ │ │ ├── gritter.png
│ │ │ │ └── ie-spacer.gif
│ │ ├── layer
│ │ │ └── skin
│ │ │ │ └── default
│ │ │ │ ├── icon.png
│ │ │ │ ├── icon-ext.png
│ │ │ │ ├── loading-0.gif
│ │ │ │ ├── loading-1.gif
│ │ │ │ └── loading-2.gif
│ │ ├── markdown
│ │ │ └── bootstrap-markdown.zh.js
│ │ └── validate
│ │ │ └── messages_zh.min.js
│ │ ├── demo
│ │ ├── peity-demo.min.js
│ │ └── sparkline-demo.min.js
│ │ └── welcome.js
├── favicon.ico
├── google18e109063263e857.html
├── 34318714aaf94e97b013f90e135d165e.html
├── caiji
│ └── data.php
└── .htaccess
├── app
├── Listeners
│ ├── .gitkeep
│ └── DBQueryListener.php
├── Events
│ └── Event.php
├── Http
│ ├── Requests
│ │ └── Request.php
│ ├── Controllers
│ │ ├── Controller.php
│ │ ├── Wechat
│ │ │ └── ServerController.php
│ │ └── Admin
│ │ │ ├── CollectController.php
│ │ │ ├── WeixinController.php
│ │ │ └── Auth
│ │ │ └── PasswordController.php
│ ├── Middleware
│ │ ├── EncryptCookies.php
│ │ ├── VerifyCsrfToken.php
│ │ ├── AdminGuest.php
│ │ ├── RedirectIfAuthenticated.php
│ │ ├── Authenticate.php
│ │ └── AdminAuthenticate.php
│ └── Kernel.php
├── Models
│ ├── Admin
│ │ ├── Links.php
│ │ ├── Menu.php
│ │ ├── Setting.php
│ │ ├── BookDetail.php
│ │ ├── Book.php
│ │ ├── RoleAccess.php
│ │ ├── Manager.php
│ │ ├── RoleGroup.php
│ │ └── BookContent.php
│ └── User.php
├── Repositories
│ ├── RoleGroupRepository.php
│ ├── RoleAccessRepository.php
│ ├── LinkRepository.php
│ └── SettingRepository.php
├── Providers
│ ├── AppServiceProvider.php
│ ├── EventServiceProvider.php
│ └── RouteServiceProvider.php
├── Jobs
│ └── Job.php
├── Console
│ └── Commands
│ │ └── Inspire.php
└── Exceptions
│ └── Handler.php
├── database
├── seeds
│ ├── .gitkeep
│ ├── DatabaseSeeder.php
│ └── ManagersTableSeeder.php
├── migrations
│ ├── .gitkeep
│ ├── 2017_01_21_011742_create_weixin_users_table.php
│ ├── 2017_01_16_031526_create_auth_table.php
│ ├── 2014_10_12_100000_create_password_resets_table.php
│ ├── 2017_02_14_093350_create_table_setting.php
│ ├── 2017_03_17_100450_create_books_content_table.php
│ ├── 2017_03_12_104531_create_failed_jobs_table.php
│ ├── 2018_04_18_140154_create_role_group_table.php
│ ├── 2014_10_12_000000_create_users_table.php
│ ├── 2018_04_18_140507_create_role_access_table.php
│ ├── 2017_05_31_094328_create_table_linksubmit.php
│ ├── 2017_03_31_142558_create_link_table.php
│ ├── 2017_02_23_052420_create_weixin_chat_table.php
│ ├── 2017_01_13_053143_create_jobs_table.php
│ ├── 2017_01_13_054547_create_admin_menu_table.php
│ ├── 2017_02_06_045140_create_table_tags.php
│ ├── 2017_01_10_101102_create_managers_table.php
│ ├── 2017_03_11_100948_create_books_detail_table.php
│ └── 2017_02_04_024337_create_table_article.php
├── .gitignore
└── factories
│ └── ModelFactory.php
├── resources
├── views
│ ├── vendor
│ │ └── .gitkeep
│ ├── 模板目录
│ │ ├── img
│ │ │ ├── a1.jpg
│ │ │ ├── a2.jpg
│ │ │ ├── a3.jpg
│ │ │ ├── a4.jpg
│ │ │ ├── a5.jpg
│ │ │ ├── a6.jpg
│ │ │ ├── a7.jpg
│ │ │ ├── a8.jpg
│ │ │ ├── a9.jpg
│ │ │ ├── p1.jpg
│ │ │ ├── p2.jpg
│ │ │ ├── p3.jpg
│ │ │ ├── index.jpg
│ │ │ ├── locked.png
│ │ │ ├── p_big1.jpg
│ │ │ ├── p_big2.jpg
│ │ │ ├── p_big3.jpg
│ │ │ ├── user.png
│ │ │ ├── index_4.jpg
│ │ │ ├── profile.jpg
│ │ │ ├── qr_code.png
│ │ │ ├── profile_big.jpg
│ │ │ ├── wenku_logo.png
│ │ │ ├── iconfont-logo.png
│ │ │ ├── profile_small.jpg
│ │ │ └── login-background.jpg
│ │ ├── css
│ │ │ ├── patterns
│ │ │ │ ├── shattered.png
│ │ │ │ ├── header-profile.png
│ │ │ │ ├── header-profile-skin-1.png
│ │ │ │ └── header-profile-skin-3.png
│ │ │ ├── plugins
│ │ │ │ ├── iCheck
│ │ │ │ │ └── green.png
│ │ │ │ ├── jsTree
│ │ │ │ │ ├── 32px.png
│ │ │ │ │ └── throbber.gif
│ │ │ │ ├── images
│ │ │ │ │ ├── sort_asc.png
│ │ │ │ │ ├── spritemap.png
│ │ │ │ │ └── sprite-skin-flat.png
│ │ │ │ ├── chosen
│ │ │ │ │ └── chosen-sprite.png
│ │ │ │ ├── footable
│ │ │ │ │ └── fonts
│ │ │ │ │ │ └── footable.woff
│ │ │ │ ├── colorpicker
│ │ │ │ │ └── img
│ │ │ │ │ │ └── bootstrap-colorpicker
│ │ │ │ │ │ ├── alpha.png
│ │ │ │ │ │ ├── hue.png
│ │ │ │ │ │ └── saturation.png
│ │ │ │ ├── morris
│ │ │ │ │ └── morris-0.4.3.min.css
│ │ │ │ ├── webuploader
│ │ │ │ │ └── webuploader.css
│ │ │ │ ├── switchery
│ │ │ │ │ └── switchery.css
│ │ │ │ ├── fullcalendar
│ │ │ │ │ └── fullcalendar.print.css
│ │ │ │ └── treeview
│ │ │ │ │ └── bootstrap-treeview.css
│ │ │ └── login.min.css
│ │ ├── fonts
│ │ │ ├── fontawesome-webfont.eot
│ │ │ ├── fontawesome-webfont.woff2
│ │ │ └── glyphicons-halflings-regular.woff2
│ │ ├── js
│ │ │ ├── plugins
│ │ │ │ ├── layer
│ │ │ │ │ ├── layim
│ │ │ │ │ │ ├── loading.gif
│ │ │ │ │ │ └── data
│ │ │ │ │ │ │ └── chatlog.json
│ │ │ │ │ ├── skin
│ │ │ │ │ │ ├── moon
│ │ │ │ │ │ │ └── default.png
│ │ │ │ │ │ └── default
│ │ │ │ │ │ │ └── loading-0.gif
│ │ │ │ │ └── laydate
│ │ │ │ │ │ └── skins
│ │ │ │ │ │ └── default
│ │ │ │ │ │ └── icon.png
│ │ │ │ ├── gritter
│ │ │ │ │ └── images
│ │ │ │ │ │ ├── gritter.png
│ │ │ │ │ │ └── ie-spacer.gif
│ │ │ │ ├── markdown
│ │ │ │ │ └── bootstrap-markdown.zh.js
│ │ │ │ └── validate
│ │ │ │ │ └── messages_zh.min.js
│ │ │ ├── demo
│ │ │ │ ├── peity-demo.min.js
│ │ │ │ └── sparkline-demo.min.js
│ │ │ ├── content.min.js
│ │ │ └── welcome.js
│ │ ├── plugins
│ │ │ └── fullavatareditor
│ │ │ │ └── fullAvatarEditor.swf
│ │ └── 500.html
│ ├── admin
│ │ └── modal
│ │ │ └── delete.blade.php
│ ├── errors
│ │ └── 503.blade.php
│ ├── welcome.blade.php
│ └── home
│ │ ├── footer.blade.php
│ │ └── header.blade.php
├── assets
│ └── less
│ │ └── app.less
└── lang
│ ├── cn
│ ├── pagination.php
│ └── passwords.php
│ └── en
│ ├── pagination.php
│ └── passwords.php
├── storage
├── app
│ └── .gitignore
├── logs
│ └── .gitignore
└── framework
│ ├── cache
│ └── .gitignore
│ ├── views
│ └── .gitignore
│ ├── sessions
│ └── .gitignore
│ └── .gitignore
├── bootstrap
├── cache
│ └── .gitignore
└── autoload.php
├── .gitignore
├── phpspec.yml
├── package.json
├── .gitattributes
├── config
├── upload.php
├── services.php
├── compile.php
├── view.php
└── captcha.php
├── tests
├── BaseTest.php
├── ExampleTest.php
└── TestCase.php
├── .env.example
├── gulpfile.js
├── server.php
├── phpunit.xml
└── README.md
/public/61723.txt:
--------------------------------------------------------------------------------
1 | ok
--------------------------------------------------------------------------------
/app/Listeners/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/database/seeds/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/database/migrations/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/database/.gitignore:
--------------------------------------------------------------------------------
1 | *.sqlite
2 |
--------------------------------------------------------------------------------
/resources/views/vendor/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/resources/assets/less/app.less:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/storage/app/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
--------------------------------------------------------------------------------
/bootstrap/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/public/baidu_verify_YxPMGzotG4.html:
--------------------------------------------------------------------------------
1 | YxPMGzotG4
--------------------------------------------------------------------------------
/public/root.txt:
--------------------------------------------------------------------------------
1 | e3dc138b68eb746a2e374f2561bf0d8c
--------------------------------------------------------------------------------
/public/uploads/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/logs/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/public/bdunion.txt:
--------------------------------------------------------------------------------
1 | 9160f76c17758ecaaff52be0c0dd0c3f
--------------------------------------------------------------------------------
/storage/framework/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /vendor
2 | /node_modules
3 | .env
4 | /.idea
--------------------------------------------------------------------------------
/public/webscan_360_cn.html:
--------------------------------------------------------------------------------
1 | 8a4f88f8ffae2969e9ca569354717d4d
--------------------------------------------------------------------------------
/storage/framework/views/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/sessions/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/themes/iframe.css:
--------------------------------------------------------------------------------
1 | /*可以在这里添加你自己的css*/
2 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/favicon.ico
--------------------------------------------------------------------------------
/public/google18e109063263e857.html:
--------------------------------------------------------------------------------
1 | google-site-verification: google18e109063263e857.html
--------------------------------------------------------------------------------
/public/skin/manager/img/a1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/manager/img/a1.jpg
--------------------------------------------------------------------------------
/public/skin/manager/img/a2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/manager/img/a2.jpg
--------------------------------------------------------------------------------
/public/skin/manager/img/a3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/manager/img/a3.jpg
--------------------------------------------------------------------------------
/public/skin/manager/img/a4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/manager/img/a4.jpg
--------------------------------------------------------------------------------
/public/skin/manager/img/a5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/manager/img/a5.jpg
--------------------------------------------------------------------------------
/public/skin/manager/img/a6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/manager/img/a6.jpg
--------------------------------------------------------------------------------
/public/skin/manager/img/a7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/manager/img/a7.jpg
--------------------------------------------------------------------------------
/public/skin/manager/img/a8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/manager/img/a8.jpg
--------------------------------------------------------------------------------
/public/skin/manager/img/a9.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/manager/img/a9.jpg
--------------------------------------------------------------------------------
/public/skin/manager/img/p1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/manager/img/p1.jpg
--------------------------------------------------------------------------------
/public/skin/manager/img/p2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/manager/img/p2.jpg
--------------------------------------------------------------------------------
/public/skin/manager/img/p3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/manager/img/p3.jpg
--------------------------------------------------------------------------------
/public/skin/wap/images/ali.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/ali.png
--------------------------------------------------------------------------------
/public/skin/wap/images/b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/b.png
--------------------------------------------------------------------------------
/public/skin/wap/images/ch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/ch.png
--------------------------------------------------------------------------------
/public/skin/wap/images/cl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/cl.png
--------------------------------------------------------------------------------
/public/skin/wap/images/d.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/d.png
--------------------------------------------------------------------------------
/public/skin/wap/images/e.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/e.png
--------------------------------------------------------------------------------
/public/skin/wap/images/err.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/err.png
--------------------------------------------------------------------------------
/public/skin/wap/images/ic2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/ic2.png
--------------------------------------------------------------------------------
/public/skin/wap/images/lb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/lb.png
--------------------------------------------------------------------------------
/public/skin/wap/images/nm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/nm.png
--------------------------------------------------------------------------------
/public/skin/wap/images/pc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/pc.png
--------------------------------------------------------------------------------
/public/skin/wap/images/pen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/pen.png
--------------------------------------------------------------------------------
/public/skin/wap/images/sl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/sl.png
--------------------------------------------------------------------------------
/public/skin/wap/images/suc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/suc.png
--------------------------------------------------------------------------------
/public/skin/wap/images/te.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/te.png
--------------------------------------------------------------------------------
/public/skin/wap/images/tel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/tel.png
--------------------------------------------------------------------------------
/public/skin/wap/images/wx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/wx.png
--------------------------------------------------------------------------------
/public/skin/wap/picture/dc.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/picture/dc.jpg
--------------------------------------------------------------------------------
/public/skin/manager/img/user.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/manager/img/user.png
--------------------------------------------------------------------------------
/public/skin/wap/images/close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/close.png
--------------------------------------------------------------------------------
/public/skin/wap/images/head.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/head.png
--------------------------------------------------------------------------------
/public/skin/wap/images/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/icon.png
--------------------------------------------------------------------------------
/public/skin/wap/images/icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/icons.png
--------------------------------------------------------------------------------
/public/skin/wap/images/label.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/label.png
--------------------------------------------------------------------------------
/public/skin/wap/images/logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/logo.jpg
--------------------------------------------------------------------------------
/public/skin/wap/images/pics.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/pics.png
--------------------------------------------------------------------------------
/public/skin/wap/images/star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/images/star.png
--------------------------------------------------------------------------------
/public/skin/wap/picture/dapk.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/picture/dapk.jpg
--------------------------------------------------------------------------------
/public/skin/wap/picture/dcbw.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/wap/picture/dcbw.jpg
--------------------------------------------------------------------------------
/resources/views/模板目录/img/a1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/resources/views/模板目录/img/a1.jpg
--------------------------------------------------------------------------------
/resources/views/模板目录/img/a2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/resources/views/模板目录/img/a2.jpg
--------------------------------------------------------------------------------
/resources/views/模板目录/img/a3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/resources/views/模板目录/img/a3.jpg
--------------------------------------------------------------------------------
/resources/views/模板目录/img/a4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/resources/views/模板目录/img/a4.jpg
--------------------------------------------------------------------------------
/resources/views/模板目录/img/a5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/resources/views/模板目录/img/a5.jpg
--------------------------------------------------------------------------------
/resources/views/模板目录/img/a6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/resources/views/模板目录/img/a6.jpg
--------------------------------------------------------------------------------
/resources/views/模板目录/img/a7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/resources/views/模板目录/img/a7.jpg
--------------------------------------------------------------------------------
/resources/views/模板目录/img/a8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/resources/views/模板目录/img/a8.jpg
--------------------------------------------------------------------------------
/resources/views/模板目录/img/a9.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/resources/views/模板目录/img/a9.jpg
--------------------------------------------------------------------------------
/resources/views/模板目录/img/p1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/resources/views/模板目录/img/p1.jpg
--------------------------------------------------------------------------------
/resources/views/模板目录/img/p2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/resources/views/模板目录/img/p2.jpg
--------------------------------------------------------------------------------
/resources/views/模板目录/img/p3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/resources/views/模板目录/img/p3.jpg
--------------------------------------------------------------------------------
/app/Events/Event.php:
--------------------------------------------------------------------------------
1 | 'lmeUR5OGtWxPuw11PFGzIKdUJdlTbt0gyhTwwQ9V',
3 | 'source' => 'dushu88',
4 | 'catid' => '7',
5 | 'number' => '100',
6 | 'targetId' => '',
7 | );?>
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hubs/story/master/public/skin/plugins/editor/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif
--------------------------------------------------------------------------------
/app/Http/Requests/Request.php:
--------------------------------------------------------------------------------
1 | env('IMG_URL'),
11 |
12 | 'accessKey' => env('QINIU_ACCESS_KEY'),
13 |
14 | 'secretKey' => env('QINIU_SECRET_KEY'),
15 |
16 | 'bucketName' => env('QINIU_BUCKET_NAME'),
17 |
18 | ];
--------------------------------------------------------------------------------
/app/Models/Admin/Links.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | Options -MultiViews
4 |
5 |
6 | RewriteEngine On
7 |
8 | # Redirect Trailing Slashes...
9 | RewriteRule ^(.*)/$ /$1 [L,R=301]
10 |
11 | # Handle Front Controller...
12 | RewriteCond %{REQUEST_FILENAME} !-d
13 | RewriteCond %{REQUEST_FILENAME} !-f
14 | RewriteRule ^ index.php [L]
15 |
16 |
--------------------------------------------------------------------------------
/app/Models/Admin/Setting.php:
--------------------------------------------------------------------------------
1 | assertTrue(true);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/help/help.css:
--------------------------------------------------------------------------------
1 | .wrapper{width: 370px;margin: 10px auto;zoom: 1;}
2 | .tabbody{height: 360px;}
3 | .tabbody .panel{width:100%;height: 360px;position: absolute;background: #fff;}
4 | .tabbody .panel h1{font-size:26px;margin: 5px 0 0 5px;}
5 | .tabbody .panel p{font-size:12px;margin: 5px 0 0 5px;}
6 | .tabbody table{width:90%;line-height: 20px;margin: 5px 0 0 5px;;}
7 | .tabbody table thead{font-weight: bold;line-height: 25px;}
--------------------------------------------------------------------------------
/app/Http/Middleware/VerifyCsrfToken.php:
--------------------------------------------------------------------------------
1 | visit('/')
17 | ->see('this is index php;');
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/.env.example:
--------------------------------------------------------------------------------
1 | APP_ENV=local
2 | APP_DEBUG=true
3 | APP_KEY=SomeRandomString
4 |
5 | DB_HOST=localhost
6 | DB_DATABASE=homestead
7 | DB_USERNAME=homestead
8 | DB_PASSWORD=secret
9 |
10 | CACHE_DRIVER=file
11 | SESSION_DRIVER=file
12 | QUEUE_DRIVER=redis
13 |
14 | MAIL_DRIVER=smtp
15 | MAIL_HOST=mailtrap.io
16 | MAIL_PORT=2525
17 | MAIL_USERNAME=null
18 | MAIL_PASSWORD=null
19 | MAIL_ENCRYPTION=null
20 |
21 | APP_URL=http://localhost
22 | WAP_URL=http://localhost
23 | IMG_URL=
24 | STATIC_URL=
25 |
26 | # 七牛相关配置
27 | QINIU_ACCESS_KEY=
28 | QINIU_SECRET_KEY=
29 | QINIU_BUCKET_NAME=
--------------------------------------------------------------------------------
/gulpfile.js:
--------------------------------------------------------------------------------
1 | var elixir = require('laravel-elixir');
2 |
3 | /*
4 | |--------------------------------------------------------------------------
5 | | Elixir Asset Management
6 | |--------------------------------------------------------------------------
7 | |
8 | | Elixir provides a clean, fluent API for defining some basic Gulp tasks
9 | | for your Laravel application. By default, we are compiling the Less
10 | | file for our application, as well as publishing vendor resources.
11 | |
12 | */
13 |
14 | elixir(function(mix) {
15 | mix.less('app.less');
16 | });
17 |
--------------------------------------------------------------------------------
/app/Models/Admin/Book.php:
--------------------------------------------------------------------------------
1 | call('UserTableSeeder');
18 |
19 | Model::reguard();
20 | $this->call('ManagersTableSeeder');
21 | $this->call('AdminMenusTableSeeder');
22 | $this->call('SettingsTableSeeder');
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/third-party/highcharts/modules/heatmap.js:
--------------------------------------------------------------------------------
1 | (function(b){var k=b.seriesTypes,l=b.each;k.heatmap=b.extendClass(k.map,{colorKey:"z",useMapGeometry:!1,pointArrayMap:["y","z"],translate:function(){var c=this,b=c.options,i=Number.MAX_VALUE,j=Number.MIN_VALUE;c.generatePoints();l(c.data,function(a){var e=a.x,f=a.y,d=a.z,g=(b.colsize||1)/2,h=(b.rowsize||1)/2;a.path=["M",e-g,f-h,"L",e+g,f-h,"L",e+g,f+h,"L",e-g,f+h,"Z"];a.shapeType="path";a.shapeArgs={d:c.translatePath(a.path)};typeof d==="number"&&(d>j?j=d:dserver->setMessageHandler(function($Message){
20 | return '还原管';
21 | });
22 | $wechat->server->serve();
23 | }
24 | }
--------------------------------------------------------------------------------
/app/Models/Admin/RoleAccess.php:
--------------------------------------------------------------------------------
1 | hasMany('App\Models\Admin\RoleAccess', 'pid', 'id');
22 | }
23 |
24 | public function parent()
25 | {
26 | return $this->belongsTo('App\Modles\Admin\RoleAccess', 'pid', 'id');
27 | }
28 | }
--------------------------------------------------------------------------------
/app/Http/Controllers/Admin/CollectController.php:
--------------------------------------------------------------------------------
1 | []
23 | ];
24 | return admin_view('collect.index',$data);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/Http/Middleware/AdminGuest.php:
--------------------------------------------------------------------------------
1 | '« 上一页',
17 | 'next' => '下一页 »',
18 |
19 | ];
20 |
--------------------------------------------------------------------------------
/resources/lang/en/pagination.php:
--------------------------------------------------------------------------------
1 | '« Previous',
17 | 'next' => 'Next »',
18 |
19 | ];
20 |
--------------------------------------------------------------------------------
/tests/TestCase.php:
--------------------------------------------------------------------------------
1 | make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
22 |
23 | return $app;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Admin/WeixinController.php:
--------------------------------------------------------------------------------
1 | paginate();
18 | $data = [
19 | 'lists' => $lists,
20 | ];
21 | return admin_view('weixin.index' , $data);
22 | }
23 |
24 | public function getUsers(Request $request)
25 | {
26 |
27 | }
28 | }
--------------------------------------------------------------------------------
/server.php:
--------------------------------------------------------------------------------
1 |
8 | */
9 |
10 | $uri = urldecode(
11 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
12 | );
13 |
14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the
15 | // built-in PHP web server. This provides a convenient way to test a Laravel
16 | // application without having installed a "real" web server software here.
17 | if ($uri !== '/' and file_exists(__DIR__.'/public'.$uri)) {
18 | return false;
19 | }
20 |
21 | require_once __DIR__.'/public/index.php';
22 |
--------------------------------------------------------------------------------
/public/skin/manager/css/plugins/webuploader/webuploader.css:
--------------------------------------------------------------------------------
1 | .webuploader-container {
2 | position: relative;
3 | }
4 | .webuploader-element-invisible {
5 | position: absolute !important;
6 | clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
7 | clip: rect(1px,1px,1px,1px);
8 | }
9 | .webuploader-pick {
10 | position: relative;
11 | display: inline-block;
12 | cursor: pointer;
13 | background: #00b7ee;
14 | padding: 10px 15px;
15 | color: #fff;
16 | text-align: center;
17 | border-radius: 3px;
18 | overflow: hidden;
19 | }
20 | .webuploader-pick-hover {
21 | background: #00a2d4;
22 | }
23 |
24 | .webuploader-pick-disable {
25 | opacity: 0.6;
26 | pointer-events:none;
27 | }
28 |
29 |
--------------------------------------------------------------------------------
/resources/views/模板目录/css/plugins/webuploader/webuploader.css:
--------------------------------------------------------------------------------
1 | .webuploader-container {
2 | position: relative;
3 | }
4 | .webuploader-element-invisible {
5 | position: absolute !important;
6 | clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
7 | clip: rect(1px,1px,1px,1px);
8 | }
9 | .webuploader-pick {
10 | position: relative;
11 | display: inline-block;
12 | cursor: pointer;
13 | background: #00b7ee;
14 | padding: 10px 15px;
15 | color: #fff;
16 | text-align: center;
17 | border-radius: 3px;
18 | overflow: hidden;
19 | }
20 | .webuploader-pick-hover {
21 | background: #00a2d4;
22 | }
23 |
24 | .webuploader-pick-disable {
25 | opacity: 0.6;
26 | pointer-events:none;
27 | }
28 |
29 |
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/third-party/webuploader/webuploader.css:
--------------------------------------------------------------------------------
1 | .webuploader-container {
2 | position: relative;
3 | }
4 | .webuploader-element-invisible {
5 | position: absolute !important;
6 | clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
7 | clip: rect(1px,1px,1px,1px);
8 | }
9 | .webuploader-pick {
10 | position: relative;
11 | display: inline-block;
12 | cursor: pointer;
13 | background: #00b7ee;
14 | padding: 10px 15px;
15 | color: #fff;
16 | text-align: center;
17 | border-radius: 3px;
18 | overflow: hidden;
19 | }
20 | .webuploader-pick-hover {
21 | background: #00a2d4;
22 | }
23 |
24 | .webuploader-pick-disable {
25 | opacity: 0.6;
26 | pointer-events:none;
27 | }
28 |
29 |
--------------------------------------------------------------------------------
/app/Models/Admin/Manager.php:
--------------------------------------------------------------------------------
1 | attributes['password'] = password_hash($value , PASSWORD_DEFAULT);
23 | }
24 |
25 | public function group()
26 | {
27 | return $this->belongsTo('App\Models\Admin\RoleGroup', 'groupid', 'id');
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/database/factories/ModelFactory.php:
--------------------------------------------------------------------------------
1 | define(App\User::class, function ($faker) {
15 | return [
16 | 'name' => $faker->name,
17 | 'email' => $faker->email,
18 | 'password' => str_random(10),
19 | 'remember_token' => str_random(10),
20 | ];
21 | });
22 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_21_011742_create_weixin_users_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->timestamps();
18 | });
19 | }
20 |
21 | /**
22 | * Reverse the migrations.
23 | *
24 | * @return void
25 | */
26 | public function down()
27 | {
28 | Schema::drop('weixin_users');
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/Console/Commands/Inspire.php:
--------------------------------------------------------------------------------
1 | comment(PHP_EOL.Inspiring::quote().PHP_EOL);
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/app/Models/Admin/RoleGroup.php:
--------------------------------------------------------------------------------
1 | attributes['access'] = $value ? implode(',', $value) : '';
27 | }
28 |
29 | public function member()
30 | {
31 | return $this->hasMany('App\Models\Admin\Manager', 'groupid', 'id');
32 | }
33 | }
--------------------------------------------------------------------------------
/database/migrations/2017_01_16_031526_create_auth_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('user')->comment('用户名');
18 | $table->string('username')->comment('用户名');
19 | });*/
20 | }
21 |
22 | /**
23 | * Reverse the migrations.
24 | *
25 | * @return void
26 | */
27 | public function down()
28 | {
29 | //
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/public/skin/manager/css/plugins/switchery/switchery.css:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Main stylesheet for Switchery.
4 | * http://abpetkov.github.io/switchery/
5 | *
6 | */
7 |
8 | .switchery {
9 | background-color: #fff;
10 | border: 1px solid #dfdfdf;
11 | border-radius: 20px;
12 | cursor: pointer;
13 | display: inline-block;
14 | height: 30px;
15 | position: relative;
16 | vertical-align: middle;
17 | width: 50px;
18 |
19 | -webkit-box-sizing: content-box;
20 | -moz-box-sizing: content-box;
21 | box-sizing: content-box;
22 | }
23 |
24 | .switchery > small {
25 | background: #fff;
26 | border-radius: 100%;
27 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
28 | height: 30px;
29 | position: absolute;
30 | top: 0;
31 | width: 30px;
32 | }
--------------------------------------------------------------------------------
/resources/views/模板目录/css/plugins/switchery/switchery.css:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * Main stylesheet for Switchery.
4 | * http://abpetkov.github.io/switchery/
5 | *
6 | */
7 |
8 | .switchery {
9 | background-color: #fff;
10 | border: 1px solid #dfdfdf;
11 | border-radius: 20px;
12 | cursor: pointer;
13 | display: inline-block;
14 | height: 30px;
15 | position: relative;
16 | vertical-align: middle;
17 | width: 50px;
18 |
19 | -webkit-box-sizing: content-box;
20 | -moz-box-sizing: content-box;
21 | box-sizing: content-box;
22 | }
23 |
24 | .switchery > small {
25 | background: #fff;
26 | border-radius: 100%;
27 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
28 | height: 30px;
29 | position: absolute;
30 | top: 0;
31 | width: 30px;
32 | }
--------------------------------------------------------------------------------
/resources/views/模板目录/js/plugins/layer/layim/data/chatlog.json:
--------------------------------------------------------------------------------
1 | {
2 | "status": 1,
3 | "msg": "ok",
4 | "data": [
5 | {
6 | "id": "100001",
7 | "name": "Beaut-zihan",
8 | "time": "10:23",
9 | "face": "img/a1.jpg"
10 | },
11 | {
12 | "id": "100002",
13 | "name": "慕容晓晓",
14 | "time": "昨天",
15 | "face": "img/a2.jpg"
16 | },
17 | {
18 | "id": "1000033",
19 | "name": "乔峰",
20 | "time": "2014-4.22",
21 | "face": "img/a3.jpg"
22 | },
23 | {
24 | "id": "10000333",
25 | "name": "高圆圆",
26 | "time": "2014-4.21",
27 | "face": "img/a4.jpg"
28 | }
29 | ]
30 | }
--------------------------------------------------------------------------------
/database/migrations/2014_10_12_100000_create_password_resets_table.php:
--------------------------------------------------------------------------------
1 | string('email')->index();
17 | $table->string('token')->index();
18 | $table->timestamp('created_at');
19 | });
20 | }
21 |
22 | /**
23 | * Reverse the migrations.
24 | *
25 | * @return void
26 | */
27 | public function down()
28 | {
29 | Schema::drop('password_resets');
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/database/migrations/2017_02_14_093350_create_table_setting.php:
--------------------------------------------------------------------------------
1 | string('item')->unique();
19 | $table->primary('item');
20 | $table->string('name');
21 | $table->string('value');
22 | });
23 | }
24 |
25 | /**
26 | * Reverse the migrations.
27 | *
28 | * @return void
29 | */
30 | public function down()
31 | {
32 | Schema::drop('settings');
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/database/migrations/2017_03_17_100450_create_books_content_table.php:
--------------------------------------------------------------------------------
1 | unsignedInteger('id');
19 | $table->Text('content')->comment('小说内容');
20 | //$table->timestamps();
21 | });
22 | }
23 |
24 | /**
25 | * Reverse the migrations.
26 | *
27 | * @return void
28 | */
29 | public function down()
30 | {
31 | Schema::drop('books_content');
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/public/skin/manager/css/plugins/fullcalendar/fullcalendar.print.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * FullCalendar v1.6.4 Print Stylesheet
3 | * Docs & License: http://arshaw.com/fullcalendar/
4 | * (c) 2013 Adam Shaw
5 | */
6 |
7 | /*
8 | * Include this stylesheet on your page to get a more printer-friendly calendar.
9 | * When including this stylesheet, use the media='print' attribute of the tag.
10 | * Make sure to include this stylesheet IN ADDITION to the regular fullcalendar.css.
11 | */
12 |
13 |
14 | /* Events
15 | -----------------------------------------------------*/
16 |
17 | .fc-event {
18 | background: #fff !important;
19 | color: #000 !important;
20 | }
21 |
22 | /* for vertical events */
23 |
24 | .fc-event-bg {
25 | display: none !important;
26 | }
27 |
28 | .fc-event .ui-resizable-handle {
29 | display: none !important;
30 | }
31 |
32 |
33 |
--------------------------------------------------------------------------------
/resources/views/模板目录/css/plugins/fullcalendar/fullcalendar.print.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * FullCalendar v1.6.4 Print Stylesheet
3 | * Docs & License: http://arshaw.com/fullcalendar/
4 | * (c) 2013 Adam Shaw
5 | */
6 |
7 | /*
8 | * Include this stylesheet on your page to get a more printer-friendly calendar.
9 | * When including this stylesheet, use the media='print' attribute of the tag.
10 | * Make sure to include this stylesheet IN ADDITION to the regular fullcalendar.css.
11 | */
12 |
13 |
14 | /* Events
15 | -----------------------------------------------------*/
16 |
17 | .fc-event {
18 | background: #fff !important;
19 | color: #000 !important;
20 | }
21 |
22 | /* for vertical events */
23 |
24 | .fc-event-bg {
25 | display: none !important;
26 | }
27 |
28 | .fc-event .ui-resizable-handle {
29 | display: none !important;
30 | }
31 |
32 |
33 |
--------------------------------------------------------------------------------
/phpunit.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
14 | ./tests/
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/database/migrations/2017_03_12_104531_create_failed_jobs_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->text('connection');
18 | $table->text('queue');
19 | $table->longText('payload');
20 | $table->timestamp('failed_at')->useCurrent();
21 | });
22 | }
23 |
24 | /**
25 | * Reverse the migrations.
26 | *
27 | * @return void
28 | */
29 | public function down()
30 | {
31 | Schema::drop('failed_jobs');
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/database/migrations/2018_04_18_140154_create_role_group_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('name')->comment('角色名称');
18 | $table->string('access')->comment('权限');
19 | $table->unsignedTinyInteger('status')->default(0)->comment('状态');
20 | });
21 | }
22 |
23 | /**
24 | * Reverse the migrations.
25 | *
26 | * @return void
27 | */
28 | public function down()
29 | {
30 | Schema::drop('rule_group');
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/resources/lang/cn/passwords.php:
--------------------------------------------------------------------------------
1 | 'Passwords must be at least six characters and match the confirmation.',
17 | 'user' => "We can't find a user with that e-mail address.",
18 | 'token' => 'This password reset token is invalid.',
19 | 'sent' => 'We have e-mailed your password reset link!',
20 | 'reset' => 'Your password has been reset!',
21 |
22 | ];
23 |
--------------------------------------------------------------------------------
/resources/lang/en/passwords.php:
--------------------------------------------------------------------------------
1 | 'Passwords must be at least six characters and match the confirmation.',
17 | 'user' => "We can't find a user with that e-mail address.",
18 | 'token' => 'This password reset token is invalid.',
19 | 'sent' => 'We have e-mailed your password reset link!',
20 | 'reset' => 'Your password has been reset!',
21 |
22 | ];
23 |
--------------------------------------------------------------------------------
/database/migrations/2014_10_12_000000_create_users_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('name');
18 | $table->string('email')->unique();
19 | $table->string('password', 60);
20 | $table->rememberToken();
21 | $table->timestamps();
22 | });
23 | }
24 |
25 | /**
26 | * Reverse the migrations.
27 | *
28 | * @return void
29 | */
30 | public function down()
31 | {
32 | Schema::drop('users');
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/app/Repositories/LinkRepository.php:
--------------------------------------------------------------------------------
1 | model->where(array_merge(['status' => 1], $condition))
28 | ->orderBy($order[0], $order[1])
29 | ->take($pagesize)
30 | ->get()
31 | ->toArray();
32 | }
33 | }
--------------------------------------------------------------------------------
/database/migrations/2018_04_18_140507_create_role_access_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->unsignedInteger('pid')->comment('上级权限');
18 | $table->string('name')->comment('权限名称');
19 | $table->string('path')->comment('权限路径');
20 | //$table->name
21 | });
22 | }
23 |
24 | /**
25 | * Reverse the migrations.
26 | *
27 | * @return void
28 | */
29 | public function down()
30 | {
31 | Schema::drop('role_access');
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/database/migrations/2017_05_31_094328_create_table_linksubmit.php:
--------------------------------------------------------------------------------
1 | string('site')->default('baidu')->comment('百度|360|搜狗|谷歌');
19 | $table->unsignedBigInteger('bookid')->comment('书本ID');
20 | $table->unsignedInteger('detailid')->comment('Detail表ID');
21 | $table->timestamps();
22 | });
23 | }
24 |
25 | /**
26 | * Reverse the migrations.
27 | *
28 | * @return void
29 | */
30 | public function down()
31 | {
32 | Schema::drop('linksubmit');
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/public/skin/js/plugins/markdown/bootstrap-markdown.zh.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Chinese translation for bootstrap-markdown
3 | * benhaile
4 | */
5 | (function ($) {
6 | $.fn.markdown.messages.zh = {
7 | 'Bold': "粗体",
8 | 'Italic': "斜体",
9 | 'Heading': "标题",
10 | 'URL/Link': "链接",
11 | 'Image': "图片",
12 | 'List': "列表",
13 | 'Unordered List': "无序列表",
14 | 'Ordered List': "有序列表",
15 | 'Code': "代码",
16 | 'Quote': "引用",
17 | 'Preview': "预览",
18 | 'strong text': "粗体",
19 | 'emphasized text': "强调",
20 | 'heading text': "标题",
21 | 'enter link description here': "输入链接说明",
22 | 'Insert Hyperlink': "URL地址",
23 | 'enter image description here': "输入图片说明",
24 | 'Insert Image Hyperlink': "图片URL地址",
25 | 'enter image title here': "在这里输入图片标题",
26 | 'list text here': "这里是列表文本",
27 | 'code text here': "这里输入代码",
28 | 'quote here': "这里输入引用文本"
29 |
30 |
31 | };
32 | }(jQuery));
33 |
--------------------------------------------------------------------------------
/public/skin/plugins/editor/markdown/bootstrap-markdown.zh.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Chinese translation for bootstrap-markdown
3 | * benhaile
4 | */
5 | (function ($) {
6 | $.fn.markdown.messages.zh = {
7 | 'Bold': "粗体",
8 | 'Italic': "斜体",
9 | 'Heading': "标题",
10 | 'URL/Link': "链接",
11 | 'Image': "图片",
12 | 'List': "列表",
13 | 'Unordered List': "无序列表",
14 | 'Ordered List': "有序列表",
15 | 'Code': "代码",
16 | 'Quote': "引用",
17 | 'Preview': "预览",
18 | 'strong text': "粗体",
19 | 'emphasized text': "强调",
20 | 'heading text': "标题",
21 | 'enter link description here': "输入链接说明",
22 | 'Insert Hyperlink': "URL地址",
23 | 'enter image description here': "输入图片说明",
24 | 'Insert Image Hyperlink': "图片URL地址",
25 | 'enter image title here': "在这里输入图片标题",
26 | 'list text here': "这里是列表文本",
27 | 'code text here': "这里输入代码",
28 | 'quote here': "这里输入引用文本"
29 |
30 |
31 | };
32 | }(jQuery));
33 |
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/spechars/spechars.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
14 |
15 |
16 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/resources/views/模板目录/js/plugins/markdown/bootstrap-markdown.zh.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Chinese translation for bootstrap-markdown
3 | * benhaile
4 | */
5 | (function ($) {
6 | $.fn.markdown.messages.zh = {
7 | 'Bold': "粗体",
8 | 'Italic': "斜体",
9 | 'Heading': "标题",
10 | 'URL/Link': "链接",
11 | 'Image': "图片",
12 | 'List': "列表",
13 | 'Unordered List': "无序列表",
14 | 'Ordered List': "有序列表",
15 | 'Code': "代码",
16 | 'Quote': "引用",
17 | 'Preview': "预览",
18 | 'strong text': "粗体",
19 | 'emphasized text': "强调",
20 | 'heading text': "标题",
21 | 'enter link description here': "输入链接说明",
22 | 'Insert Hyperlink': "URL地址",
23 | 'enter image description here': "输入图片说明",
24 | 'Insert Image Hyperlink': "图片URL地址",
25 | 'enter image title here': "在这里输入图片标题",
26 | 'list text here': "这里是列表文本",
27 | 'code text here': "这里输入代码",
28 | 'quote here': "这里输入引用文本"
29 |
30 |
31 | };
32 | }(jQuery));
33 |
--------------------------------------------------------------------------------
/app/Http/Middleware/RedirectIfAuthenticated.php:
--------------------------------------------------------------------------------
1 | auth = $auth;
26 | }
27 |
28 | /**
29 | * Handle an incoming request.
30 | *
31 | * @param \Illuminate\Http\Request $request
32 | * @param \Closure $next
33 | * @return mixed
34 | */
35 | public function handle($request, Closure $next)
36 | {
37 | if ($this->auth->check()) {
38 | return redirect('/home');
39 | }
40 |
41 | return $next($request);
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Admin/Auth/PasswordController.php:
--------------------------------------------------------------------------------
1 | middleware('guest');
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/database/migrations/2017_03_31_142558_create_link_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('title')->comment('名称');
18 | $table->string('linkurl')->comment('链接');
19 | $table->unsignedTinyInteger('listorder')->default(0)->comment('排序');
20 | $table->unsignedTinyInteger('status')->default(0)->comment('状态');
21 | $table->timestamps();
22 | });
23 | }
24 |
25 | /**
26 | * Reverse the migrations.
27 | *
28 | * @return void
29 | */
30 | public function down()
31 | {
32 | Schema::drop('links');
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/app/Providers/EventServiceProvider.php:
--------------------------------------------------------------------------------
1 | [
17 | 'App\Listeners\EventListener',
18 | ],
19 | 'illuminate.query' => [
20 | 'App\Listeners\DBQueryListener',// 记录查询SQL
21 | ],
22 | ];
23 |
24 | /**
25 | * Register any other events for your application.
26 | *
27 | * @param \Illuminate\Contracts\Events\Dispatcher $events
28 | * @return void
29 | */
30 | public function boot(DispatcherContract $events)
31 | {
32 | parent::boot($events);
33 |
34 | //
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/app/Models/User.php:
--------------------------------------------------------------------------------
1 | [
18 | 'domain' => '',
19 | 'secret' => '',
20 | ],
21 |
22 | 'mandrill' => [
23 | 'secret' => '',
24 | ],
25 |
26 | 'ses' => [
27 | 'key' => '',
28 | 'secret' => '',
29 | 'region' => 'us-east-1',
30 | ],
31 |
32 | 'stripe' => [
33 | 'model' => App\User::class,
34 | 'key' => '',
35 | 'secret' => '',
36 | ],
37 |
38 | ];
39 |
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/table/edittip.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 表格删除提示
5 |
6 |
17 |
18 |
19 |
27 |
32 |
33 |
--------------------------------------------------------------------------------
/database/migrations/2017_02_23_052420_create_weixin_chat_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
19 | $table->string('openid')->comment('用户openid');
20 | $table->string('type')->comment('消息类型');
21 | $table->unsignedTinyInteger('subscribe')->comment('是否订阅')->default(0);
22 | $table->text('content')->comment('内容');
23 | $table->text('misc')->comment('原内容');
24 | });
25 | }
26 |
27 | /**
28 | * Reverse the migrations.
29 | *
30 | * @return void
31 | */
32 | public function down()
33 | {
34 | Schema::drop('weixin_chat');
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/template/template.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/database/seeds/ManagersTableSeeder.php:
--------------------------------------------------------------------------------
1 | delete();
18 |
19 | \DB::table('managers')->insert(array (
20 | 0 =>
21 | array (
22 | 'id' => 1,
23 | 'username' => 'simon',
24 | 'password' => '$2y$10$UNtvtqYOoBuxl4AB/fDvcuvMn4RPV80SCx2O.c/wMgRwD3qB891QC',
25 | 'truename' => '刘先森',
26 | 'email' => 'liu@simon8.com',
27 | 'salt' => '',
28 | 'lastip' => '127.0.0.1',
29 | 'lasttime' => 1486170986,
30 | 'remember_token' => NULL,
31 | 'created_at' => '2017-01-12 11:02:35',
32 | 'updated_at' => '2017-02-04 01:16:26',
33 | ),
34 | ));
35 |
36 |
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/app/Models/Admin/BookContent.php:
--------------------------------------------------------------------------------
1 | find($id);
27 | if($data)
28 | {
29 | return $data['content'];
30 | }
31 | else
32 | {
33 | return '';
34 | }
35 | }
36 |
37 | /**
38 | * 更新内容
39 | * @param $data
40 | * @return bool
41 | */
42 | public function updateContent($data)
43 | {
44 | $item = $this->find($data['id']);
45 | if(!$item) return false;
46 | $item->content = $data['content'];
47 | return $item->save();
48 | }
49 | }
--------------------------------------------------------------------------------
/resources/views/admin/modal/delete.blade.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/music/music.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 插入音乐
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
19 |
20 |
21 |
22 |
31 |
32 |
--------------------------------------------------------------------------------
/app/Http/Middleware/Authenticate.php:
--------------------------------------------------------------------------------
1 | auth = $auth;
26 | }
27 |
28 | /**
29 | * Handle an incoming request.
30 | *
31 | * @param \Illuminate\Http\Request $request
32 | * @param \Closure $next
33 | * @return mixed
34 | */
35 | public function handle($request, Closure $next)
36 | {
37 | if ($this->auth->guest()) {
38 | if ($request->ajax()) {
39 | return response('Unauthorized.', 401);
40 | } else {
41 | return redirect()->guest('auth/login');
42 | }
43 | }
44 |
45 | return $next($request);
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/config/compile.php:
--------------------------------------------------------------------------------
1 | [
17 | //
18 | ],
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Compiled File Providers
23 | |--------------------------------------------------------------------------
24 | |
25 | | Here you may list service providers which define a "compiles" function
26 | | that returns additional files that should be compiled, providing an
27 | | easy way to get common files from any packages you are utilizing.
28 | |
29 | */
30 |
31 | 'providers' => [
32 | //
33 | ],
34 |
35 | ];
36 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_13_053143_create_jobs_table.php:
--------------------------------------------------------------------------------
1 | bigIncrements('id');
17 | $table->string('queue');
18 | $table->longText('payload');
19 | $table->tinyInteger('attempts')->unsigned();
20 | $table->tinyInteger('reserved')->unsigned();
21 | $table->unsignedInteger('reserved_at')->nullable();
22 | $table->unsignedInteger('available_at');
23 | $table->unsignedInteger('created_at');
24 | $table->index(['queue', 'reserved', 'reserved_at']);
25 | });
26 | }
27 |
28 | /**
29 | * Reverse the migrations.
30 | *
31 | * @return void
32 | */
33 | public function down()
34 | {
35 | Schema::drop('jobs');
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_13_054547_create_admin_menu_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->unsignedSmallInteger('pid')->comment('父ID');
18 | $table->string('name')->comment('菜单名称');
19 | $table->string('prefix')->comment('路由前缀');
20 | $table->string('route')->comment('详细路由');
21 | $table->string('ico')->comment('图标名称');
22 | $table->unsignedSmallInteger('listorder')->comment('排序');
23 | $table->unsignedTinyInteger('items')->comment('子分类数量');
24 | });
25 | }
26 |
27 | /**
28 | * Reverse the migrations.
29 | *
30 | * @return void
31 | */
32 | public function down()
33 | {
34 | Schema::drop('admin_menus');
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/template/template.css:
--------------------------------------------------------------------------------
1 | .wrap{ padding: 5px;font-size: 14px;}
2 | .left{width:425px;float: left;}
3 | .right{width:160px;border: 1px solid #ccc;float: right;padding: 5px;margin-right: 5px;}
4 | .right .pre{height: 332px;overflow-y: auto;}
5 | .right .preitem{border: white 1px solid;margin: 5px 0;padding: 2px 0;}
6 | .right .preitem:hover{background-color: lemonChiffon;cursor: pointer;border: #ccc 1px solid;}
7 | .right .preitem img{display: block;margin: 0 auto;width:100px;}
8 | .clear{clear: both;}
9 | .top{height:26px;line-height: 26px;padding: 5px;}
10 | .bottom{height:320px;width:100%;margin: 0 auto;}
11 | .transparent{ background: url("images/bg.gif") repeat;}
12 | .bottom table tr td{border:1px dashed #ccc;}
13 | #colorPicker{width: 17px;height: 17px;border: 1px solid #CCC;display: inline-block;border-radius: 3px;box-shadow: 2px 2px 5px #D3D6DA;}
14 | .border_style1{padding:2px;border: 1px solid #ccc;border-radius: 5px;box-shadow:2px 2px 5px #d3d6da;}
15 | p{margin: 5px 0}
16 | table{clear:both;margin-bottom:10px;border-collapse:collapse;word-break:break-all;}
17 | li{clear:both}
18 | ol{padding-left:40px; }
--------------------------------------------------------------------------------
/resources/views/模板目录/js/content.min.js:
--------------------------------------------------------------------------------
1 | function $childNode(o){return window.frames[o]}function animationHover(o,e){o=$(o),o.hover(function(){o.addClass("animated "+e)},function(){window.setTimeout(function(){o.removeClass("animated "+e)},2e3)})}function WinMove(){var o="[class*=col]",e=".ibox-title",i="[class*=col]";$(o).sortable({handle:e,connectWith:i,tolerance:"pointer",forcePlaceholderSize:!0,opacity:.8}).disableSelection()}var $parentNode=window.parent.document;if($(".tooltip-demo").tooltip({selector:"[data-toggle=tooltip]",container:"body"}),$(".modal").appendTo("body"),$("[data-toggle=popover]").popover(),$(".collapse-link").click(function(){var o=$(this).closest("div.ibox"),e=$(this).find("i"),i=o.find("div.ibox-content");i.slideToggle(200),e.toggleClass("fa-chevron-up").toggleClass("fa-chevron-down"),o.toggleClass("").toggleClass("border-bottom"),setTimeout(function(){o.resize(),o.find("[id^=map-]").resize()},50)}),$(".close-link").click(function(){var o=$(this).closest("div.ibox");o.remove()}),top==this){var gohome='';$("body").append(gohome)}
--------------------------------------------------------------------------------
/app/Exceptions/Handler.php:
--------------------------------------------------------------------------------
1 | [
17 | realpath(base_path('resources/views')),
18 | ],
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Compiled View Path
23 | |--------------------------------------------------------------------------
24 | |
25 | | This option determines where all the compiled Blade templates will be
26 | | stored for your application. Typically, this is within the storage
27 | | directory. However, as usual, you are free to change this value.
28 | |
29 | */
30 |
31 | 'compiled' => realpath(storage_path('framework/views')),
32 |
33 | ];
34 |
--------------------------------------------------------------------------------
/app/Http/Middleware/AdminAuthenticate.php:
--------------------------------------------------------------------------------
1 | auth = $auth;
29 | }
30 |
31 | /**
32 | * Handle an incoming request.
33 | *
34 | * @param \Illuminate\Http\Request $request
35 | * @param \Closure $next
36 | * @return mixed
37 | */
38 | public function handle($request, Closure $next)
39 | {
40 | if (!session('userinfo')) {
41 | if ($request->ajax()) {
42 | return response('Unauthorized.', 401);
43 | } else {
44 | return redirect()->guest(route('getAdminLogin'));
45 | }
46 | }
47 |
48 | return $next($request);
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/public/skin/js/demo/sparkline-demo.min.js:
--------------------------------------------------------------------------------
1 | $(function(){$("#sparkline1").sparkline([34,43,43,35,44,32,44,52,25],{type:"line",lineColor:"#17997f",fillColor:"#1ab394"}),$("#sparkline2").sparkline([5,6,7,2,0,-4,-2,4],{type:"bar",barColor:"#1ab394",negBarColor:"#c6c6c6"}),$("#sparkline3").sparkline([1,1,2],{type:"pie",sliceColors:["#1ab394","#b3b3b3","#e4f0fb"]}),$("#sparkline4").sparkline([34,43,43,35,44,32,15,22,46,33,86,54,73,53,12,53,23,65,23,63,53,42,34,56,76,15,54,23,44],{type:"line",lineColor:"#17997f",fillColor:"#ffffff"}),$("#sparkline5").sparkline([1,1,0,1,-1,-1,1,-1,0,0,1,1],{type:"tristate",posBarColor:"#1ab394",negBarColor:"#bfbfbf"}),$("#sparkline6").sparkline([4,6,7,7,4,3,2,1,4,4,5,6,3,4,5,8,7,6,9,3,2,4,1,5,6,4,3,7],{type:"discrete",lineColor:"#1ab394"}),$("#sparkline7").sparkline([52,12,44],{type:"pie",height:"150px",sliceColors:["#1ab394","#b3b3b3","#e4f0fb"]}),$("#sparkline8").sparkline([5,6,7,2,0,4,2,4,5,7,2,4,12,14,4,2,14,12,7],{type:"bar",barWidth:8,height:"150px",barColor:"#1ab394",negBarColor:"#c6c6c6"}),$("#sparkline9").sparkline([34,43,43,35,44,32,15,22,46,33,86,54,73,53,12,53,23,65,23,63,53,42,34,56,76,15,54,23,44],{type:"line",lineWidth:1,height:"150px",lineColor:"#17997f",fillColor:"#ffffff"})});
--------------------------------------------------------------------------------
/config/captcha.php:
--------------------------------------------------------------------------------
1 | '2346789abcdefghjmnpqrtuxyzABCDEFGHJMNPQRTUXYZ',
6 |
7 | 'default' => [
8 | 'length' => 4,
9 | 'width' => 120,
10 | 'height' => 34,
11 | 'quality' => 90,
12 | ],
13 |
14 | 'flat' => [
15 | 'length' => 6,
16 | 'width' => 160,
17 | 'height' => 46,
18 | 'quality' => 90,
19 | 'lines' => 6,
20 | 'bgImage' => false,
21 | 'bgColor' => '#ecf2f4',
22 | 'fontColors'=> ['#2c3e50', '#c0392b', '#16a085', '#c0392b', '#8e44ad', '#303f9f', '#f57c00', '#795548'],
23 | 'contrast' => -5,
24 | ],
25 |
26 | 'mini' => [
27 | 'length' => 3,
28 | 'width' => 60,
29 | 'height' => 32,
30 | ],
31 |
32 | 'inverse' => [
33 | 'length' => 5,
34 | 'width' => 120,
35 | 'height' => 36,
36 | 'quality' => 90,
37 | 'sensitive' => true,
38 | 'angle' => 12,
39 | 'sharpen' => 10,
40 | 'blur' => 2,
41 | 'invert' => true,
42 | 'contrast' => -5,
43 | ]
44 |
45 | ];
46 |
--------------------------------------------------------------------------------
/resources/views/模板目录/js/demo/sparkline-demo.min.js:
--------------------------------------------------------------------------------
1 | $(function(){$("#sparkline1").sparkline([34,43,43,35,44,32,44,52,25],{type:"line",lineColor:"#17997f",fillColor:"#1ab394"}),$("#sparkline2").sparkline([5,6,7,2,0,-4,-2,4],{type:"bar",barColor:"#1ab394",negBarColor:"#c6c6c6"}),$("#sparkline3").sparkline([1,1,2],{type:"pie",sliceColors:["#1ab394","#b3b3b3","#e4f0fb"]}),$("#sparkline4").sparkline([34,43,43,35,44,32,15,22,46,33,86,54,73,53,12,53,23,65,23,63,53,42,34,56,76,15,54,23,44],{type:"line",lineColor:"#17997f",fillColor:"#ffffff"}),$("#sparkline5").sparkline([1,1,0,1,-1,-1,1,-1,0,0,1,1],{type:"tristate",posBarColor:"#1ab394",negBarColor:"#bfbfbf"}),$("#sparkline6").sparkline([4,6,7,7,4,3,2,1,4,4,5,6,3,4,5,8,7,6,9,3,2,4,1,5,6,4,3,7],{type:"discrete",lineColor:"#1ab394"}),$("#sparkline7").sparkline([52,12,44],{type:"pie",height:"150px",sliceColors:["#1ab394","#b3b3b3","#e4f0fb"]}),$("#sparkline8").sparkline([5,6,7,2,0,4,2,4,5,7,2,4,12,14,4,2,14,12,7],{type:"bar",barWidth:8,height:"150px",barColor:"#1ab394",negBarColor:"#c6c6c6"}),$("#sparkline9").sparkline([34,43,43,35,44,32,15,22,46,33,86,54,73,53,12,53,23,65,23,63,53,42,34,56,76,15,54,23,44],{type:"line",lineWidth:1,height:"150px",lineColor:"#17997f",fillColor:"#ffffff"})});
--------------------------------------------------------------------------------
/public/skin/js/welcome.js:
--------------------------------------------------------------------------------
1 | //欢迎信息
2 |
3 | layer.config({
4 | extend: ['extend/layer.ext.js', 'skin/moon/style.css'],
5 | skin: 'layer-ext-moon'
6 | });
7 |
8 | layer.ready(function () {
9 |
10 | var html = $('#welcome-template').html();
11 | $('a.viewlog').click(function () {
12 | logs();
13 | return false;
14 | });
15 |
16 | $('#pay-qrcode').click(function(){
17 | var html=$(this).html();
18 | parent.layer.open({
19 | title: false,
20 | type: 1,
21 | closeBtn:false,
22 | shadeClose:true,
23 | area: ['600px', 'auto'],
24 | content: html
25 | });
26 | });
27 |
28 | if ($(this).width() > 768) {
29 | setTimeout(function () {
30 | parent.layer.closeAll();
31 | logs();
32 | }, 5000);
33 | }
34 |
35 | function logs() {
36 | parent.layer.open({
37 | title: '初见倾心,再见动情',
38 | type: 1,
39 | area: ['700px', 'auto'],
40 | content: html,
41 | btn: ['确定', '取消']
42 | });
43 | }
44 |
45 | console.log('欢迎使用H+,如果您在使用的过程中有碰到问题,可以参考开发文档,感谢您的支持。');
46 |
47 | });
--------------------------------------------------------------------------------
/database/migrations/2017_02_06_045140_create_table_tags.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('name')->comment('标签名称');
18 | $table->unsignedInteger('items')->default(0)->comment('文章数量');
19 | $table->unsignedInteger('addtime')->comment('添加时间');
20 | $table->unsignedTinyInteger('status')->default(0)->comment('状态');
21 | });
22 | Schema::create('tag_record' ,function (Blueprint $table){
23 | $table->increments('id');
24 | $table->unsignedInteger('aid')->comment('文章ID');
25 | $table->unsignedInteger('tid')->comment('标签ID');
26 | });
27 | }
28 |
29 | /**
30 | * Reverse the migrations.
31 | *
32 | * @return void
33 | */
34 | public function down()
35 | {
36 | Schema::drop('tag');
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_10_101102_create_managers_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('username',50)->comment('用户名');
18 | $table->string('password',60)->comment('密码');
19 | $table->string('truename',50)->comment('真实姓名');
20 | $table->string('email',100)->comment('邮箱号码');
21 | $table->string('salt',4)->comment('校验码');
22 | $table->string('lastip')->comment('上一次登录ip');
23 | $table->unsignedInteger('lasttime')->comment('最后登录时间');
24 | $table->rememberToken();//记住我
25 | $table->timestamps();//时间戳
26 | });
27 | }
28 |
29 | /**
30 | * Reverse the migrations.
31 | *
32 | * @return void
33 | */
34 | public function down()
35 | {
36 | Schema::drop('managers');
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/resources/views/模板目录/js/welcome.js:
--------------------------------------------------------------------------------
1 | //欢迎信息
2 |
3 | layer.config({
4 | extend: ['extend/layer.ext.js', 'skin/moon/style.css'],
5 | skin: 'layer-ext-moon'
6 | });
7 |
8 | layer.ready(function () {
9 |
10 | var html = $('#welcome-template').html();
11 | $('a.viewlog').click(function () {
12 | logs();
13 | return false;
14 | });
15 |
16 | $('#pay-qrcode').click(function(){
17 | var html=$(this).html();
18 | parent.layer.open({
19 | title: false,
20 | type: 1,
21 | closeBtn:false,
22 | shadeClose:true,
23 | area: ['600px', 'auto'],
24 | content: html
25 | });
26 | });
27 |
28 | if ($(this).width() > 768) {
29 | setTimeout(function () {
30 | parent.layer.closeAll();
31 | logs();
32 | }, 5000);
33 | }
34 |
35 | function logs() {
36 | parent.layer.open({
37 | title: '初见倾心,再见动情',
38 | type: 1,
39 | area: ['700px', 'auto'],
40 | content: html,
41 | btn: ['确定', '取消']
42 | });
43 | }
44 |
45 | console.log('欢迎使用H+,如果您在使用的过程中有碰到问题,可以参考开发文档,感谢您的支持。');
46 |
47 | });
--------------------------------------------------------------------------------
/bootstrap/autoload.php:
--------------------------------------------------------------------------------
1 | model->all()->toArray();
22 | }
23 |
24 | /**
25 | * 新增
26 | * @param $data
27 | * @return \Illuminate\Database\Eloquent\Model
28 | */
29 | public function create($data)
30 | {
31 | return $this->model->updateOrCreate(['item' => $data['item']] , $data);
32 | }
33 | /**
34 | * 保存
35 | * @param $data
36 | * @return bool
37 | */
38 | public function update($data)
39 | {
40 | foreach($data as $k=>$v){
41 | $r = $this->model->find($k);
42 | if(!$r){
43 | continue;
44 | }else{
45 | //$r->name = $v['name'];
46 | $r->value = $v['value'];
47 | $r->save();
48 | }
49 | }
50 | return true;
51 | }
52 | }
--------------------------------------------------------------------------------
/resources/views/errors/503.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | Be right back.
4 |
5 |
6 |
7 |
35 |
36 |
37 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/app/Providers/RouteServiceProvider.php:
--------------------------------------------------------------------------------
1 | group(['namespace' => $this->namespace], function ($router) {
41 | require app_path('Http/routes.php');
42 | });
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/public/skin/manager/css/plugins/treeview/bootstrap-treeview.css:
--------------------------------------------------------------------------------
1 | /* =========================================================
2 | * bootstrap-treeview.css v1.0.0
3 | * =========================================================
4 | * Copyright 2013 Jonathan Miles
5 | * Project URL : http://www.jondmiles.com/bootstrap-treeview
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | * ========================================================= */
19 |
20 | .list-group-item {
21 | cursor: pointer;
22 | }
23 |
24 | /*.list-group-item:hover {
25 | background-color: #f5f5f5;
26 | }*/
27 |
28 | span.indent {
29 | margin-left: 10px;
30 | margin-right: 10px;
31 | }
32 |
33 | span.icon {
34 | margin-right: 5px;
35 | }
36 |
--------------------------------------------------------------------------------
/resources/views/模板目录/css/plugins/treeview/bootstrap-treeview.css:
--------------------------------------------------------------------------------
1 | /* =========================================================
2 | * bootstrap-treeview.css v1.0.0
3 | * =========================================================
4 | * Copyright 2013 Jonathan Miles
5 | * Project URL : http://www.jondmiles.com/bootstrap-treeview
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | *
11 | * http://www.apache.org/licenses/LICENSE-2.0
12 | *
13 | * Unless required by applicable law or agreed to in writing, software
14 | * distributed under the License is distributed on an "AS IS" BASIS,
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | * See the License for the specific language governing permissions and
17 | * limitations under the License.
18 | * ========================================================= */
19 |
20 | .list-group-item {
21 | cursor: pointer;
22 | }
23 |
24 | /*.list-group-item:hover {
25 | background-color: #f5f5f5;
26 | }*/
27 |
28 | span.indent {
29 | margin-left: 10px;
30 | margin-right: 10px;
31 | }
32 |
33 | span.icon {
34 | margin-right: 5px;
35 | }
36 |
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/php/action_crawler.php:
--------------------------------------------------------------------------------
1 | $CONFIG['catcherPathFormat'],
14 | "maxSize" => $CONFIG['catcherMaxSize'],
15 | "allowFiles" => $CONFIG['catcherAllowFiles'],
16 | "oriName" => "remote.png"
17 | );
18 | $fieldName = $CONFIG['catcherFieldName'];
19 |
20 | /* 抓取远程图片 */
21 | $list = array();
22 | if (isset($_POST[$fieldName])) {
23 | $source = $_POST[$fieldName];
24 | } else {
25 | $source = $_GET[$fieldName];
26 | }
27 | foreach ($source as $imgUrl) {
28 | $item = new Uploader($imgUrl, $config, "remote");
29 | $info = $item->getFileInfo();
30 | array_push($list, array(
31 | "state" => $info["state"],
32 | "url" => $info["url"],
33 | "size" => $info["size"],
34 | "title" => htmlspecialchars($info["title"]),
35 | "original" => htmlspecialchars($info["original"]),
36 | "source" => htmlspecialchars($imgUrl)
37 | ));
38 | }
39 |
40 | /* 返回抓取数据 */
41 | return json_encode(array(
42 | 'state'=> count($list) ? 'SUCCESS':'ERROR',
43 | 'list'=> $list
44 | ));
--------------------------------------------------------------------------------
/app/Http/Kernel.php:
--------------------------------------------------------------------------------
1 | \App\Http\Middleware\Authenticate::class,
30 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
31 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
32 | 'admin' => \App\Http\Middleware\AdminAuthenticate::class,//后台中间件 必须登录
33 | 'admin.guest' => \App\Http\Middleware\AdminGuest::class,//后台中间件 必须是游客
34 | ];
35 | }
36 |
--------------------------------------------------------------------------------
/database/migrations/2017_03_11_100948_create_books_detail_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
19 | $table->unsignedInteger('pid')->comment('ID');
20 | $table->unsignedInteger('chapterid')->comment('序号');
21 | $table->string('title')->comment('标题');
22 | //$table->Text('content')->comment('内容');
23 | $table->unsignedBigInteger('hits')->comment('浏览次数');
24 | $table->unsignedTinyInteger('status')->comment('状态');
25 | $table->string('fromurl')->comment('来源链接');
26 | $table->string('fromhash')->comment('来源链接hash值')->unique();
27 | $table->timestamps();
28 | });
29 | }
30 |
31 | /**
32 | * Reverse the migrations.
33 | *
34 | * @return void
35 | */
36 | public function down()
37 | {
38 | Schema::drop('books_detail');
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/public/skin/js/plugins/validate/messages_zh.min.js:
--------------------------------------------------------------------------------
1 | /*! jQuery Validation Plugin - v1.13.1 - 10/14/2014
2 | * http://jqueryvalidation.org/
3 | * Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
4 | ! function (a) {
5 | "function" == typeof define && define.amd ? define(["jquery", "jquery.validate.min"], a) : a(jQuery)
6 | }(function (a) {
7 | var icon = " ";
8 | a.extend(a.validator.messages, {
9 | required: icon + "必填",
10 | remote: icon + "请修正此栏位",
11 | email: icon + "请输入有效的电子邮件",
12 | url: icon + "请输入有效的网址",
13 | date: icon + "请输入有效的日期",
14 | dateISO: icon + "请输入有效的日期 (YYYY-MM-DD)",
15 | number: icon + "请输入正确的数字",
16 | digits: icon + "只能输入数字",
17 | creditcard: icon + "请输入有效的信用卡号码",
18 | equalTo: icon + "你的输入不相同",
19 | extension: icon + "请输入有效的后缀",
20 | maxlength: a.validator.format(icon + "最多 {0} 个字"),
21 | minlength: a.validator.format(icon + "最少 {0} 个字"),
22 | rangelength: a.validator.format(icon + "请输入长度为 {0} 至 {1} 之间的字串"),
23 | range: a.validator.format(icon + "请输入 {0} 至 {1} 之间的数值"),
24 | max: a.validator.format(icon + "请输入不大于 {0} 的数值"),
25 | min: a.validator.format(icon + "请输入不小于 {0} 的数值")
26 | })
27 | });
--------------------------------------------------------------------------------
/resources/views/模板目录/js/plugins/validate/messages_zh.min.js:
--------------------------------------------------------------------------------
1 | /*! jQuery Validation Plugin - v1.13.1 - 10/14/2014
2 | * http://jqueryvalidation.org/
3 | * Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
4 | ! function (a) {
5 | "function" == typeof define && define.amd ? define(["jquery", "jquery.validate.min"], a) : a(jQuery)
6 | }(function (a) {
7 | var icon = " ";
8 | a.extend(a.validator.messages, {
9 | required: icon + "必填",
10 | remote: icon + "请修正此栏位",
11 | email: icon + "请输入有效的电子邮件",
12 | url: icon + "请输入有效的网址",
13 | date: icon + "请输入有效的日期",
14 | dateISO: icon + "请输入有效的日期 (YYYY-MM-DD)",
15 | number: icon + "请输入正确的数字",
16 | digits: icon + "只能输入数字",
17 | creditcard: icon + "请输入有效的信用卡号码",
18 | equalTo: icon + "你的输入不相同",
19 | extension: icon + "请输入有效的后缀",
20 | maxlength: a.validator.format(icon + "最多 {0} 个字"),
21 | minlength: a.validator.format(icon + "最少 {0} 个字"),
22 | rangelength: a.validator.format(icon + "请输入长度为 {0} 至 {1} 之间的字串"),
23 | range: a.validator.format(icon + "请输入 {0} 至 {1} 之间的数值"),
24 | max: a.validator.format(icon + "请输入不大于 {0} 的数值"),
25 | min: a.validator.format(icon + "请输入不小于 {0} 的数值")
26 | })
27 | });
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## 近期会使用[laravel5.5](https://github.com/simon-8/laravel5.5)对该项目进行重写, 使用全自动更新策略, 无需人工干预。
2 |
3 | ### 安装
4 |
5 | > git 下载本程序
6 |
7 | git clone https://github.com/simon-8/story.git story
8 | cd story
9 |
10 | > 通过composer安装程序所需扩展
11 |
12 | composer install
13 |
14 | > 运行安装脚本, 按提示输入相关信息
15 |
16 | php artisan story:install
17 |
18 | 
19 |
20 |
21 | > 修改.env配置文件
22 |
23 | APP_URL=http://域名
24 | WAP_URL=http://移动站域名
25 | IMG_URL=http://图片存储二级域名 (选填)
26 | STATIC_URL=http://静态文件存储路径 (选填)
27 |
28 | # 七牛相关配置 (选填)
29 | QINIU_ACCESS_KEY=七牛access_key
30 | QINIU_SECRET_KEY=七牛secret_key
31 | QINIU_BUCKET_NAME=七牛的空间名称
32 |
33 | > 后台地址
34 |
35 | http://你配置的域名/pc
36 | 账号: admin
37 | 密码: 123456
38 |
39 | > 采集操作
40 |
41 | 在后台添加采集队列或者更新队列, 服务器运行php artisan queue:listen监听队列。
42 |
43 | // 监听采集队列 推荐使用supervisor管理进程
44 | nohup php artisan queue:listen --tries=3
45 |
46 | > 线上部署优化
47 |
48 | #配置缓存
49 | php artisan config:cache
50 | #路由缓存
51 | php artisan route:cache
52 | #类映射加载优化
53 | php artisan optimize --force
54 |
55 | 
--------------------------------------------------------------------------------
/resources/views/模板目录/500.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | H+ 后台主题UI框架 - 500错误
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
500
27 |
服务器内部错误
28 |
29 |
30 | 服务器好像出错了...
31 |
您可以返回主页看看
32 |
主页
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/dialogs/preview/preview.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
40 |
--------------------------------------------------------------------------------
/resources/views/welcome.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | Laravel
4 |
5 |
6 |
7 |
39 |
40 |
41 |
42 |
43 |
Laravel 5
44 |
{{ Inspiring::quote() }}
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/database/migrations/2017_02_04_024337_create_table_article.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->unsignedInteger('catid')->comment('分类ID');
18 | $table->string('title')->comment('标题');
19 | $table->string('introduce')->comment('简介');
20 | $table->string('tag')->comment('标签');
21 | $table->longText('content')->comment('详情');
22 | $table->string('thumb')->comment('标题图片');
23 | $table->string('username')->comment('发布人');
24 | $table->unsignedInteger('comment')->comment('评论数量');
25 | $table->unsignedInteger('zan')->comment('赞数量');
26 | $table->unsignedBigInteger('hits')->comment('点击量');
27 | $table->unsignedTinyInteger('status')->comment('状态');
28 | $table->timestamps();
29 | });
30 | }
31 |
32 | /**
33 | * Reverse the migrations.
34 | *
35 | * @return void
36 | */
37 | public function down()
38 | {
39 | Schema::drop('articles');
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/resources/views/home/footer.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
10 |
35 |
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/third-party/highcharts/modules/heatmap.src.js:
--------------------------------------------------------------------------------
1 | (function (Highcharts) {
2 | var seriesTypes = Highcharts.seriesTypes,
3 | each = Highcharts.each;
4 |
5 | seriesTypes.heatmap = Highcharts.extendClass(seriesTypes.map, {
6 | colorKey: 'z',
7 | useMapGeometry: false,
8 | pointArrayMap: ['y', 'z'],
9 | translate: function () {
10 | var series = this,
11 | options = series.options,
12 | dataMin = Number.MAX_VALUE,
13 | dataMax = Number.MIN_VALUE;
14 |
15 | series.generatePoints();
16 |
17 | each(series.data, function (point) {
18 | var x = point.x,
19 | y = point.y,
20 | value = point.z,
21 | xPad = (options.colsize || 1) / 2,
22 | yPad = (options.rowsize || 1) / 2;
23 |
24 | point.path = [
25 | 'M', x - xPad, y - yPad,
26 | 'L', x + xPad, y - yPad,
27 | 'L', x + xPad, y + yPad,
28 | 'L', x - xPad, y + yPad,
29 | 'Z'
30 | ];
31 |
32 | point.shapeType = 'path';
33 | point.shapeArgs = {
34 | d: series.translatePath(point.path)
35 | };
36 |
37 | if (typeof value === 'number') {
38 | if (value > dataMax) {
39 | dataMax = value;
40 | } else if (value < dataMin) {
41 | dataMin = value;
42 | }
43 | }
44 | });
45 |
46 | series.translateColors(dataMin, dataMax);
47 | },
48 |
49 | getBox: function () {}
50 |
51 | });
52 |
53 | }(Highcharts));
54 |
--------------------------------------------------------------------------------
/public/skin/plugins/editor/ueditor/third-party/highcharts/modules/no-data-to-display.js:
--------------------------------------------------------------------------------
1 | /*
2 | Highcharts JS v3.0.6 (2013-10-04)
3 | Plugin for displaying a message when there is no data visible in chart.
4 |
5 | (c) 2010-2013 Highsoft AS
6 | Author: Øystein Moseng
7 |
8 | License: www.highcharts.com/license
9 | */
10 | (function(c){function f(){return!!this.points.length}function g(){this.hasData()?this.hideNoData():this.showNoData()}var d=c.seriesTypes,e=c.Chart.prototype,h=c.getOptions(),i=c.extend;i(h.lang,{noData:"No data to display"});h.noData={position:{x:0,y:0,align:"center",verticalAlign:"middle"},attr:{},style:{fontWeight:"bold",fontSize:"12px",color:"#60606a"}};d.pie.prototype.hasData=f;if(d.gauge)d.gauge.prototype.hasData=f;if(d.waterfall)d.waterfall.prototype.hasData=f;c.Series.prototype.hasData=function(){return this.dataMax!==
11 | void 0&&this.dataMin!==void 0};e.showNoData=function(a){var b=this.options,a=a||b.lang.noData,b=b.noData;if(!this.noDataLabel)this.noDataLabel=this.renderer.label(a,0,0,null,null,null,null,null,"no-data").attr(b.attr).css(b.style).add(),this.noDataLabel.align(i(this.noDataLabel.getBBox(),b.position),!1,"plotBox")};e.hideNoData=function(){if(this.noDataLabel)this.noDataLabel=this.noDataLabel.destroy()};e.hasData=function(){for(var a=this.series,b=a.length;b--;)if(a[b].hasData()&&!a[b].options.isInternal)return!0;
12 | return!1};e.callbacks.push(function(a){c.addEvent(a,"load",g);c.addEvent(a,"redraw",g)})})(Highcharts);
13 |
--------------------------------------------------------------------------------
/resources/views/home/header.blade.php:
--------------------------------------------------------------------------------
1 |
15 |
23 |
--------------------------------------------------------------------------------
/public/skin/manager/css/login.min.css:
--------------------------------------------------------------------------------
1 | html{height:100%}body.signin{height:auto;background:url(../img/login-background.jpg) no-repeat center fixed;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;color:rgba(255,255,255,.95)}.signinpanel{width:750px;margin:10% auto 0}.signinpanel .logopanel{float:none;width:auto;padding:0;background:0 0}.signinpanel .signin-info ul{list-style:none;padding:0;margin:20px 0}.signinpanel .form-control{display:block;margin-top:15px}.signinpanel .uname{background:#fff url(../img/user.png) no-repeat 95% center}.signinpanel .pword{background:#fff url(../img/locked.png) no-repeat 95% center}.signinpanel .btn{margin-top:15px}.signinpanel form{background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);-moz-box-shadow:0 3px 0 rgba(12,12,12,.03);-webkit-box-shadow:0 3px 0 rgba(12,12,12,.03);box-shadow:0 3px 0 rgba(12,12,12,.03);-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:30px}.signup-footer{border-top:solid 1px rgba(255,255,255,.3);margin:20px 0;padding-top:15px}@media screen and (max-width:768px){.signinpanel,.signuppanel{margin:0 auto;width:420px!important;padding:20px}.signinpanel form{margin-top:20px}.signup-footer,.signuppanel .form-control{margin-bottom:10px}.signup-footer .pull-left,.signup-footer .pull-right{float:none!important;text-align:center}.signinpanel .signin-info ul{display:none}}@media screen and (max-width:320px){.signinpanel,.signuppanel{margin:0 20px;width:auto}}
--------------------------------------------------------------------------------
/resources/views/模板目录/css/login.min.css:
--------------------------------------------------------------------------------
1 | html{height:100%}body.signin{height:auto;background:url(../img/login-background.jpg) no-repeat center fixed;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;color:rgba(255,255,255,.95)}.signinpanel{width:750px;margin:10% auto 0}.signinpanel .logopanel{float:none;width:auto;padding:0;background:0 0}.signinpanel .signin-info ul{list-style:none;padding:0;margin:20px 0}.signinpanel .form-control{display:block;margin-top:15px}.signinpanel .uname{background:#fff url(../img/user.png) no-repeat 95% center}.signinpanel .pword{background:#fff url(../img/locked.png) no-repeat 95% center}.signinpanel .btn{margin-top:15px}.signinpanel form{background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);-moz-box-shadow:0 3px 0 rgba(12,12,12,.03);-webkit-box-shadow:0 3px 0 rgba(12,12,12,.03);box-shadow:0 3px 0 rgba(12,12,12,.03);-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:30px}.signup-footer{border-top:solid 1px rgba(255,255,255,.3);margin:20px 0;padding-top:15px}@media screen and (max-width:768px){.signinpanel,.signuppanel{margin:0 auto;width:420px!important;padding:20px}.signinpanel form{margin-top:20px}.signup-footer,.signuppanel .form-control{margin-bottom:10px}.signup-footer .pull-left,.signup-footer .pull-right{float:none!important;text-align:center}.signinpanel .signin-info ul{display:none}}@media screen and (max-width:320px){.signinpanel,.signuppanel{margin:0 20px;width:auto}}
--------------------------------------------------------------------------------