├── thinkphp ├── .htaccess ├── logo.png ├── .gitignore ├── library │ └── think │ │ ├── console │ │ ├── bin │ │ │ ├── hiddeninput.exe │ │ │ └── README.md │ │ ├── command │ │ │ └── make │ │ │ │ └── stubs │ │ │ │ ├── model.stub │ │ │ │ ├── controller.plain.stub │ │ │ │ ├── middleware.stub │ │ │ │ ├── validate.stub │ │ │ │ └── command.stub │ │ ├── LICENSE │ │ └── output │ │ │ └── driver │ │ │ └── Nothing.php │ │ ├── route │ │ └── dispatch │ │ │ ├── Response.php │ │ │ ├── Redirect.php │ │ │ ├── Callback.php │ │ │ └── View.php │ │ ├── exception │ │ ├── RouteNotFoundException.php │ │ └── HttpResponseException.php │ │ └── config │ │ └── driver │ │ ├── Json.php │ │ └── Ini.php ├── tpl │ └── default_index.tpl └── composer.json ├── application ├── .htaccess ├── mp │ └── config.php ├── .DS_Store ├── common │ └── model │ │ ├── Mp.php │ │ ├── Miniapp.php │ │ ├── Picture.php │ │ ├── Qrcode.php │ │ ├── MiniappUser.php │ │ ├── Redpack.php │ │ ├── MediaNewsList.php │ │ ├── MiniappMsg.php │ │ ├── MediaNewsMaterial.php │ │ └── MpReply.php ├── command.php ├── install │ ├── view │ │ └── index │ │ │ ├── sql.html │ │ │ └── complete.html │ └── config │ │ └── template.php ├── copyright.php ├── behavior │ ├── Define.php │ └── ChangeTheme.php └── tags.php ├── public ├── static │ ├── miniapp │ │ └── css │ │ │ └── addon_menu.css │ ├── amaze │ │ ├── css │ │ │ └── app.css │ │ ├── i │ │ │ ├── favicon.png │ │ │ ├── app-icon72x72@2x.png │ │ │ ├── examples │ │ │ │ ├── admin-ie.png │ │ │ │ ├── blogPage.png │ │ │ │ ├── landing.png │ │ │ │ ├── adminPage.png │ │ │ │ ├── loginPage.png │ │ │ │ ├── admin-chrome.png │ │ │ │ ├── admin-firefox.png │ │ │ │ ├── admin-opera.png │ │ │ │ ├── admin-safari.png │ │ │ │ ├── landingPage.png │ │ │ │ └── sidebarPage.png │ │ │ └── startup-640x1096.png │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ └── js │ │ │ └── app.js │ ├── images │ │ ├── def.jpg │ │ ├── qq1.JPG │ │ ├── qq2.JPG │ │ ├── header.jpg │ │ ├── rhaphp_pc.png │ │ └── rhaphp_qrcode.jpg │ ├── home │ │ ├── images │ │ │ ├── fly.jpg │ │ │ ├── pay.jpg │ │ │ ├── fork.gif │ │ │ ├── layim.jpg │ │ │ ├── logo.png │ │ │ ├── avatar │ │ │ │ ├── 0.jpg │ │ │ │ ├── 1.jpg │ │ │ │ ├── 2.jpg │ │ │ │ ├── 3.jpg │ │ │ │ ├── 4.jpg │ │ │ │ ├── 5.jpg │ │ │ │ ├── 6.jpg │ │ │ │ ├── 7.jpg │ │ │ │ ├── 8.jpg │ │ │ │ ├── 9.jpg │ │ │ │ ├── 00.jpg │ │ │ │ ├── 10.jpg │ │ │ │ ├── 11.jpg │ │ │ │ └── default.png │ │ │ ├── headimg.jpg │ │ │ ├── loading.gif │ │ │ ├── logo-1.png │ │ │ └── other │ │ │ │ ├── study-a.png │ │ │ │ └── 1437100018023.jpg │ │ ├── css │ │ │ ├── iconfont.eot │ │ │ ├── iconfont.ttf │ │ │ └── iconfont.woff │ │ └── layui │ │ │ ├── font │ │ │ ├── iconfont.eot │ │ │ ├── iconfont.ttf │ │ │ └── iconfont.woff │ │ │ ├── images │ │ │ └── face │ │ │ │ ├── 0.gif │ │ │ │ ├── 1.gif │ │ │ │ ├── 10.gif │ │ │ │ ├── 11.gif │ │ │ │ ├── 12.gif │ │ │ │ ├── 13.gif │ │ │ │ ├── 14.gif │ │ │ │ ├── 15.gif │ │ │ │ ├── 16.gif │ │ │ │ ├── 17.gif │ │ │ │ ├── 18.gif │ │ │ │ ├── 19.gif │ │ │ │ ├── 2.gif │ │ │ │ ├── 20.gif │ │ │ │ ├── 21.gif │ │ │ │ ├── 22.gif │ │ │ │ ├── 23.gif │ │ │ │ ├── 24.gif │ │ │ │ ├── 25.gif │ │ │ │ ├── 26.gif │ │ │ │ ├── 27.gif │ │ │ │ ├── 28.gif │ │ │ │ ├── 29.gif │ │ │ │ ├── 3.gif │ │ │ │ ├── 30.gif │ │ │ │ ├── 31.gif │ │ │ │ ├── 32.gif │ │ │ │ ├── 33.gif │ │ │ │ ├── 34.gif │ │ │ │ ├── 35.gif │ │ │ │ ├── 36.gif │ │ │ │ ├── 37.gif │ │ │ │ ├── 38.gif │ │ │ │ ├── 39.gif │ │ │ │ ├── 4.gif │ │ │ │ ├── 40.gif │ │ │ │ ├── 41.gif │ │ │ │ ├── 42.gif │ │ │ │ ├── 43.gif │ │ │ │ ├── 44.gif │ │ │ │ ├── 45.gif │ │ │ │ ├── 46.gif │ │ │ │ ├── 47.gif │ │ │ │ ├── 48.gif │ │ │ │ ├── 49.gif │ │ │ │ ├── 5.gif │ │ │ │ ├── 50.gif │ │ │ │ ├── 51.gif │ │ │ │ ├── 52.gif │ │ │ │ ├── 53.gif │ │ │ │ ├── 54.gif │ │ │ │ ├── 55.gif │ │ │ │ ├── 56.gif │ │ │ │ ├── 57.gif │ │ │ │ ├── 58.gif │ │ │ │ ├── 59.gif │ │ │ │ ├── 6.gif │ │ │ │ ├── 60.gif │ │ │ │ ├── 61.gif │ │ │ │ ├── 62.gif │ │ │ │ ├── 63.gif │ │ │ │ ├── 64.gif │ │ │ │ ├── 65.gif │ │ │ │ ├── 66.gif │ │ │ │ ├── 67.gif │ │ │ │ ├── 68.gif │ │ │ │ ├── 69.gif │ │ │ │ ├── 7.gif │ │ │ │ ├── 70.gif │ │ │ │ ├── 71.gif │ │ │ │ ├── 8.gif │ │ │ │ └── 9.gif │ │ │ ├── css │ │ │ └── modules │ │ │ │ ├── laydate │ │ │ │ └── icon.png │ │ │ │ ├── layer │ │ │ │ └── default │ │ │ │ │ ├── icon.png │ │ │ │ │ ├── icon-ext.png │ │ │ │ │ ├── loading-0.gif │ │ │ │ │ ├── loading-1.gif │ │ │ │ │ └── loading-2.gif │ │ │ │ └── code.css │ │ │ └── lay │ │ │ └── modules │ │ │ └── util.js │ ├── admin │ │ ├── images │ │ │ ├── logo.png │ │ │ ├── favicon.ico │ │ │ ├── index.png │ │ │ ├── login_bg.jpg │ │ │ ├── mobile_foot.png │ │ │ └── mobile_head.png │ │ └── ueditor │ │ │ ├── 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 │ │ │ ├── themes │ │ │ ├── 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 │ │ │ └── iframe.css │ │ │ └── third-party │ │ │ ├── video-js │ │ │ ├── font │ │ │ │ ├── vjs.eot │ │ │ │ ├── vjs.ttf │ │ │ │ └── vjs.woff │ │ │ └── video-js.swf │ │ │ ├── webuploader │ │ │ ├── Uploader.swf │ │ │ └── webuploader.css │ │ │ ├── snapscreen │ │ │ └── UEditorSnapscreen.exe │ │ │ ├── zeroclipboard │ │ │ └── ZeroClipboard.swf │ │ │ └── highcharts │ │ │ └── modules │ │ │ └── heatmap.js │ ├── layui │ │ ├── font │ │ │ ├── iconfont.eot │ │ │ ├── iconfont.ttf │ │ │ └── iconfont.woff │ │ ├── images │ │ │ └── face │ │ │ │ ├── 0.gif │ │ │ │ ├── 1.gif │ │ │ │ ├── 10.gif │ │ │ │ ├── 11.gif │ │ │ │ ├── 12.gif │ │ │ │ ├── 13.gif │ │ │ │ ├── 14.gif │ │ │ │ ├── 15.gif │ │ │ │ ├── 16.gif │ │ │ │ ├── 17.gif │ │ │ │ ├── 18.gif │ │ │ │ ├── 19.gif │ │ │ │ ├── 2.gif │ │ │ │ ├── 20.gif │ │ │ │ ├── 21.gif │ │ │ │ ├── 22.gif │ │ │ │ ├── 23.gif │ │ │ │ ├── 24.gif │ │ │ │ ├── 25.gif │ │ │ │ ├── 26.gif │ │ │ │ ├── 27.gif │ │ │ │ ├── 28.gif │ │ │ │ ├── 29.gif │ │ │ │ ├── 3.gif │ │ │ │ ├── 30.gif │ │ │ │ ├── 31.gif │ │ │ │ ├── 32.gif │ │ │ │ ├── 33.gif │ │ │ │ ├── 34.gif │ │ │ │ ├── 35.gif │ │ │ │ ├── 36.gif │ │ │ │ ├── 37.gif │ │ │ │ ├── 38.gif │ │ │ │ ├── 39.gif │ │ │ │ ├── 4.gif │ │ │ │ ├── 40.gif │ │ │ │ ├── 41.gif │ │ │ │ ├── 42.gif │ │ │ │ ├── 43.gif │ │ │ │ ├── 44.gif │ │ │ │ ├── 45.gif │ │ │ │ ├── 46.gif │ │ │ │ ├── 47.gif │ │ │ │ ├── 48.gif │ │ │ │ ├── 49.gif │ │ │ │ ├── 5.gif │ │ │ │ ├── 50.gif │ │ │ │ ├── 51.gif │ │ │ │ ├── 52.gif │ │ │ │ ├── 53.gif │ │ │ │ ├── 54.gif │ │ │ │ ├── 55.gif │ │ │ │ ├── 56.gif │ │ │ │ ├── 57.gif │ │ │ │ ├── 58.gif │ │ │ │ ├── 59.gif │ │ │ │ ├── 6.gif │ │ │ │ ├── 60.gif │ │ │ │ ├── 61.gif │ │ │ │ ├── 62.gif │ │ │ │ ├── 63.gif │ │ │ │ ├── 64.gif │ │ │ │ ├── 65.gif │ │ │ │ ├── 66.gif │ │ │ │ ├── 67.gif │ │ │ │ ├── 68.gif │ │ │ │ ├── 69.gif │ │ │ │ ├── 7.gif │ │ │ │ ├── 70.gif │ │ │ │ ├── 71.gif │ │ │ │ ├── 8.gif │ │ │ │ └── 9.gif │ │ └── css │ │ │ └── modules │ │ │ ├── layer │ │ │ └── default │ │ │ │ ├── icon.png │ │ │ │ ├── icon-ext.png │ │ │ │ ├── loading-0.gif │ │ │ │ ├── loading-1.gif │ │ │ │ └── loading-2.gif │ │ │ └── code.css │ ├── zclip │ │ └── ZeroClipboard.swf │ ├── bootstrap │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ └── js │ │ │ └── npm.js │ ├── member │ │ └── css │ │ │ └── home.css │ └── icon │ │ └── icon.css ├── favicon.ico ├── .htaccess └── router.php ├── vendor ├── vendor │ └── .gitignore ├── topthink │ ├── think-mongo │ │ ├── .gitignore │ │ ├── README.md │ │ └── composer.json │ ├── think-image │ │ ├── tests │ │ │ ├── images │ │ │ │ ├── test.bmp │ │ │ │ ├── test.gif │ │ │ │ ├── test.jpg │ │ │ │ ├── test.png │ │ │ │ └── test.ttf │ │ │ ├── tmp │ │ │ │ └── .gitignore │ │ │ └── autoload.php │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── composer.json │ │ ├── src │ │ │ └── image │ │ │ │ └── Exception.php │ │ └── phpunit.xml │ ├── think-helper │ │ ├── .gitignore │ │ └── composer.json │ ├── think-captcha │ │ ├── .gitignore │ │ ├── assets │ │ │ ├── bgs │ │ │ │ ├── 1.jpg │ │ │ │ ├── 2.jpg │ │ │ │ ├── 3.jpg │ │ │ │ ├── 4.jpg │ │ │ │ ├── 5.jpg │ │ │ │ ├── 6.jpg │ │ │ │ ├── 7.jpg │ │ │ │ └── 8.jpg │ │ │ ├── ttfs │ │ │ │ ├── 1.ttf │ │ │ │ ├── 2.ttf │ │ │ │ ├── 3.ttf │ │ │ │ ├── 4.ttf │ │ │ │ ├── 5.ttf │ │ │ │ └── 6.ttf │ │ │ └── zhttfs │ │ │ │ └── 1.ttf │ │ ├── README.md │ │ ├── composer.json │ │ └── src │ │ │ └── CaptchaController.php │ ├── think-installer │ │ ├── .gitignore │ │ ├── composer.json │ │ └── src │ │ │ └── Plugin.php │ ├── think-queue │ │ ├── .gitignore │ │ ├── src │ │ │ ├── config.php │ │ │ └── queue │ │ │ │ └── ShouldQueue.php │ │ └── composer.json │ ├── think-swoole │ │ ├── src │ │ │ ├── command.php │ │ │ └── facade │ │ │ │ ├── Http.php │ │ │ │ └── Application.php │ │ └── composer.json │ └── think-worker │ │ ├── composer.json │ │ └── src │ │ ├── facade │ │ ├── Worker.php │ │ └── Application.php │ │ ├── command.php │ │ └── config.php ├── workerman │ └── workerman │ │ ├── .gitignore │ │ └── Events │ │ └── React │ │ ├── ExtEventLoop.php │ │ ├── StreamSelectLoop.php │ │ └── ExtLibEventLoop.php ├── autoload.php └── composer │ ├── autoload_classmap.php │ ├── autoload_namespaces.php │ ├── autoload_files.php │ └── autoload_psr4.php ├── robots.txt ├── .DS_Store ├── themes ├── pc │ ├── mp │ │ ├── app │ │ │ ├── index.html │ │ │ └── view.html │ │ └── common │ │ │ ├── autoreplay_nav.html │ │ │ └── error.html │ ├── admin │ │ ├── index │ │ │ └── index.html │ │ └── system │ │ │ └── index.html │ └── miniapp │ │ └── app │ │ └── view.html └── mobile │ ├── mp │ ├── app │ │ ├── index.html │ │ └── view.html │ ├── login │ │ └── autologin.html │ └── common │ │ ├── autoreplay_nav.html │ │ └── error.html │ ├── admin │ ├── index │ │ └── index.html │ └── system │ │ └── index.html │ └── member │ └── common │ ├── base.html │ └── error.html ├── extend ├── miniprogram │ └── .DS_Store ├── wxpayAPI │ ├── doc │ │ ├── README │ │ └── README.doc │ ├── image │ │ ├── bk.png │ │ ├── image001.jpg │ │ └── image002.png │ ├── wxPayApi.php │ ├── example │ │ └── qrcode.php │ └── lib │ │ └── WxPay.Exception.php ├── Qcloud │ └── Sms │ │ └── Loader.php └── Qiniu │ ├── autoload.php │ ├── Qiniu.php │ └── Util.php ├── config ├── paginate.php ├── queue.php ├── trace.php ├── middleware.php ├── console.php ├── cache.php ├── worker.php └── session.php ├── runtime └── index.html ├── uploads └── index.html ├── addons └── nullDir │ └── index.html ├── miniapp └── nullDir │ └── index.html ├── .htaccess ├── think ├── route └── route.php ├── index.php ├── composer.json └── 更新记录 /thinkphp/.htaccess: -------------------------------------------------------------------------------- 1 | deny from all -------------------------------------------------------------------------------- /application/.htaccess: -------------------------------------------------------------------------------- 1 | deny from all -------------------------------------------------------------------------------- /public/static/miniapp/css/addon_menu.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/vendor/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: / 3 | -------------------------------------------------------------------------------- /vendor/topthink/think-mongo/.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | -------------------------------------------------------------------------------- /vendor/topthink/think-image/tests/images/test.bmp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/static/amaze/css/app.css: -------------------------------------------------------------------------------- 1 | /* Write your styles */ -------------------------------------------------------------------------------- /vendor/topthink/think-helper/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | /.idea/ -------------------------------------------------------------------------------- /application/mp/config.php: -------------------------------------------------------------------------------- 1 | 后台管理 4 | 5 | {/block} -------------------------------------------------------------------------------- /public/static/amaze/i/examples/adminPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/amaze/i/examples/adminPage.png -------------------------------------------------------------------------------- /public/static/amaze/i/examples/loginPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/amaze/i/examples/loginPage.png -------------------------------------------------------------------------------- /public/static/home/images/avatar/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/home/images/avatar/default.png -------------------------------------------------------------------------------- /themes/mobile/admin/system/index.html: -------------------------------------------------------------------------------- 1 | {extend name="common/base" /} 2 | {block name="body"} 3 |

后台管理

4 | 5 | {/block} -------------------------------------------------------------------------------- /config/paginate.php: -------------------------------------------------------------------------------- 1 | '\app\behavior\Layui', 4 | 'var_page' => 'page', 5 | 'list_rows' => 15, 6 | ]; -------------------------------------------------------------------------------- /public/static/amaze/i/examples/admin-chrome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/amaze/i/examples/admin-chrome.png -------------------------------------------------------------------------------- /public/static/amaze/i/examples/admin-firefox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/amaze/i/examples/admin-firefox.png -------------------------------------------------------------------------------- /public/static/amaze/i/examples/admin-opera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/amaze/i/examples/admin-opera.png -------------------------------------------------------------------------------- /public/static/amaze/i/examples/admin-safari.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/amaze/i/examples/admin-safari.png -------------------------------------------------------------------------------- /public/static/amaze/i/examples/landingPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/amaze/i/examples/landingPage.png -------------------------------------------------------------------------------- /public/static/amaze/i/examples/sidebarPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/amaze/i/examples/sidebarPage.png -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/assets/bgs/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/vendor/topthink/think-captcha/assets/bgs/1.jpg -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/assets/bgs/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/vendor/topthink/think-captcha/assets/bgs/2.jpg -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/assets/bgs/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/vendor/topthink/think-captcha/assets/bgs/3.jpg -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/assets/bgs/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/vendor/topthink/think-captcha/assets/bgs/4.jpg -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/assets/bgs/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/vendor/topthink/think-captcha/assets/bgs/5.jpg -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/assets/bgs/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/vendor/topthink/think-captcha/assets/bgs/6.jpg -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/assets/bgs/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/vendor/topthink/think-captcha/assets/bgs/7.jpg -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/assets/bgs/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/vendor/topthink/think-captcha/assets/bgs/8.jpg -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/assets/ttfs/1.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/vendor/topthink/think-captcha/assets/ttfs/1.ttf -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/assets/ttfs/2.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/vendor/topthink/think-captcha/assets/ttfs/2.ttf -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/assets/ttfs/3.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/vendor/topthink/think-captcha/assets/ttfs/3.ttf -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/assets/ttfs/4.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/vendor/topthink/think-captcha/assets/ttfs/4.ttf -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/assets/ttfs/5.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/vendor/topthink/think-captcha/assets/ttfs/5.ttf -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/assets/ttfs/6.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/vendor/topthink/think-captcha/assets/ttfs/6.ttf -------------------------------------------------------------------------------- /extend/wxpayAPI/wxPayApi.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /uploads/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /public/static/admin/ueditor/themes/default/images/dialog-title-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/themes/default/images/dialog-title-bg.png -------------------------------------------------------------------------------- /public/static/admin/ueditor/themes/default/images/neweditor-tab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/themes/default/images/neweditor-tab-bg.png -------------------------------------------------------------------------------- /public/static/admin/ueditor/themes/default/images/table-cell-align.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/themes/default/images/table-cell-align.png -------------------------------------------------------------------------------- /addons/nullDir/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /miniapp/nullDir/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/emotion/images/neweditor-tab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/dialogs/emotion/images/neweditor-tab-bg.png -------------------------------------------------------------------------------- /public/static/admin/ueditor/themes/default/images/tangram-colorpicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/themes/default/images/tangram-colorpicker.png -------------------------------------------------------------------------------- /public/static/admin/ueditor/third-party/snapscreen/UEditorSnapscreen.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/third-party/snapscreen/UEditorSnapscreen.exe -------------------------------------------------------------------------------- /public/static/admin/ueditor/third-party/zeroclipboard/ZeroClipboard.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/third-party/zeroclipboard/ZeroClipboard.swf -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geesondog/rhaphp/HEAD/public/static/admin/ueditor/dialogs/attachment/fileTypeImages/icon_default.png -------------------------------------------------------------------------------- /thinkphp/library/think/console/command/make/stubs/model.stub: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Options +FollowSymlinks -Multiviews 3 | RewriteEngine On 4 | 5 | RewriteCond %{REQUEST_FILENAME} !-d 6 | RewriteCond %{REQUEST_FILENAME} !-f 7 | RewriteRule ^(.*)$ index.php?s=$1 [QSA,PT,L] 8 | 9 | -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Options +FollowSymlinks -Multiviews 3 | RewriteEngine On 4 | 5 | RewriteCond %{REQUEST_FILENAME} !-d 6 | RewriteCond %{REQUEST_FILENAME} !-f 7 | RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] 8 | 9 | -------------------------------------------------------------------------------- /extend/wxpayAPI/lib/WxPay.Exception.php: -------------------------------------------------------------------------------- 1 | getMessage(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /extend/Qiniu/autoload.php: -------------------------------------------------------------------------------- 1 | ['规则1','规则2'...] 12 | * 13 | * @var array 14 | */ 15 | protected $rule = []; 16 | 17 | /** 18 | * 定义错误信息 19 | * 格式:'字段名.规则名' => '错误信息' 20 | * 21 | * @var array 22 | */ 23 | protected $message = []; 24 | } 25 | -------------------------------------------------------------------------------- /vendor/topthink/think-helper/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "topthink/think-helper", 3 | "description": "The ThinkPHP5 Helper Package", 4 | "license": "Apache-2.0", 5 | "authors": [ 6 | { 7 | "name": "yunwuxin", 8 | "email": "448901948@qq.com" 9 | } 10 | ], 11 | "autoload": { 12 | "psr-4": { 13 | "think\\helper\\": "src" 14 | }, 15 | "files": [ 16 | "src/helper.php" 17 | ] 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/topthink/think-mongo/README.md: -------------------------------------------------------------------------------- 1 | ThinkPHP 5.1 MongoDb驱动 2 | =============== 3 | 4 | 首先安装官方的mongodb扩展: 5 | 6 | http://pecl.php.net/package/mongodb 7 | 8 | 然后,配置应用的数据库配置文件`database.php`的`type`参数和`query`参数为: 9 | 10 | ~~~ 11 | 'type' => '\think\mongo\Connection', 12 | 'query' => '\think\mongo\Query', 13 | ~~~ 14 | 15 | 即可正常使用MongoDb,例如: 16 | ~~~ 17 | Db::name('demo') 18 | ->find(); 19 | Db::name('demo') 20 | ->field('id,name') 21 | ->limit(10) 22 | ->order('id','desc') 23 | ->select(); 24 | ~~~ 25 | -------------------------------------------------------------------------------- /vendor/topthink/think-mongo/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "topthink/think-mongo", 3 | "description": "mongodb driver for thinkphp5", 4 | "license": "Apache-2.0", 5 | "authors": [ 6 | { 7 | "name": "liu21st", 8 | "email": "liu21st@gmail.com" 9 | } 10 | ], 11 | "require": { 12 | "topthink/framework": "~5.1.7" 13 | }, 14 | "autoload": { 15 | "psr-4": { 16 | "think\\mongo\\": "src" 17 | }, 18 | "files": [ 19 | ] 20 | } 21 | } -------------------------------------------------------------------------------- /public/static/bootstrap/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/README.md: -------------------------------------------------------------------------------- 1 | # think-captcha 2 | thinkphp5.1 验证码类库 3 | 4 | ## 安装 5 | > composer require topthink/think-captcha 6 | 7 | 8 | ##使用 9 | 10 | ###模板里输出验证码 11 | 12 | ~~~ 13 |
{:captcha_img()}
14 | ~~~ 15 | 或者 16 | ~~~ 17 |
captcha
18 | ~~~ 19 | > 上面两种的最终效果是一样的 20 | 21 | ### 控制器里验证 22 | 使用TP5的内置验证功能即可 23 | ~~~ 24 | $this->validate($data,[ 25 | 'captcha|验证码'=>'require|captcha' 26 | ]); 27 | ~~~ 28 | 或者手动验证 29 | ~~~ 30 | if(!captcha_check($captcha)){ 31 | //验证失败 32 | }; 33 | ~~~ -------------------------------------------------------------------------------- /thinkphp/library/think/console/command/make/stubs/command.stub: -------------------------------------------------------------------------------- 1 | setName('{%commandName%}'); 15 | // 设置参数 16 | 17 | } 18 | 19 | protected function execute(Input $input, Output $output) 20 | { 21 | // 指令输出 22 | $output->writeln('{%commandName%}'); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "topthink/think-captcha", 3 | "description": "captcha package for thinkphp5", 4 | "authors": [ 5 | { 6 | "name": "yunwuxin", 7 | "email": "448901948@qq.com" 8 | } 9 | ], 10 | "license": "Apache-2.0", 11 | "require": { 12 | "topthink/framework": "5.1.*" 13 | }, 14 | "autoload": { 15 | "psr-4": { 16 | "think\\captcha\\": "src/" 17 | }, 18 | "files": [ 19 | "src/helper.php" 20 | ] 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /public/static/admin/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:d 2 | 8 | -------------------------------------------------------------------------------- /themes/mobile/mp/common/autoreplay_nav.html: -------------------------------------------------------------------------------- 1 |
2 | 8 |
-------------------------------------------------------------------------------- /application/common/model/Mp.php: -------------------------------------------------------------------------------- 1 | 8 | // +---------------------------------------------------------------------- 9 | 10 | namespace app\common\model; 11 | use think\Model; 12 | 13 | class Mp extends Model 14 | { 15 | 16 | 17 | } -------------------------------------------------------------------------------- /application/common/model/Miniapp.php: -------------------------------------------------------------------------------- 1 | 8 | // +---------------------------------------------------------------------- 9 | 10 | namespace app\common\model; 11 | 12 | 13 | use think\Model; 14 | 15 | class Miniapp extends Model 16 | { 17 | 18 | } -------------------------------------------------------------------------------- /application/common/model/Picture.php: -------------------------------------------------------------------------------- 1 | 8 | // +---------------------------------------------------------------------- 9 | 10 | namespace app\common\model; 11 | 12 | 13 | use think\Model; 14 | 15 | class Picture extends Model 16 | { 17 | 18 | } -------------------------------------------------------------------------------- /application/common/model/Qrcode.php: -------------------------------------------------------------------------------- 1 | 8 | // +---------------------------------------------------------------------- 9 | 10 | 11 | namespace app\common\model; 12 | 13 | 14 | use think\Model; 15 | 16 | class Qrcode extends Model 17 | { 18 | 19 | } -------------------------------------------------------------------------------- /application/common/model/MiniappUser.php: -------------------------------------------------------------------------------- 1 | 8 | // +---------------------------------------------------------------------- 9 | 10 | namespace app\common\model; 11 | 12 | 13 | use think\Model; 14 | 15 | class MiniappUser extends Model 16 | { 17 | 18 | } -------------------------------------------------------------------------------- /application/common/model/Redpack.php: -------------------------------------------------------------------------------- 1 | 8 | // +---------------------------------------------------------------------- 9 | 10 | 11 | namespace app\common\model; 12 | 13 | 14 | use think\Model; 15 | 16 | class Redpack extends Model 17 | { 18 | 19 | } -------------------------------------------------------------------------------- /application/common/model/MediaNewsList.php: -------------------------------------------------------------------------------- 1 | 8 | // +---------------------------------------------------------------------- 9 | 10 | namespace app\common\model; 11 | 12 | 13 | use think\Model; 14 | 15 | class MediaNewsList extends Model 16 | { 17 | 18 | } -------------------------------------------------------------------------------- /application/common/model/MiniappMsg.php: -------------------------------------------------------------------------------- 1 | 8 | // +---------------------------------------------------------------------- 9 | 10 | namespace app\common\model; 11 | 12 | 13 | use think\Model; 14 | 15 | class MiniappMsg extends Model 16 | { 17 | 18 | 19 | } -------------------------------------------------------------------------------- /vendor/topthink/think-installer/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "topthink/think-installer", 3 | "type": "composer-plugin", 4 | "require": { 5 | "composer-plugin-api": "^1.0" 6 | }, 7 | "require-dev": { 8 | "composer/composer": "1.0.*@dev" 9 | }, 10 | "license": "Apache-2.0", 11 | "authors": [ 12 | { 13 | "name": "yunwuxin", 14 | "email": "448901948@qq.com" 15 | } 16 | ], 17 | "autoload": { 18 | "psr-4": { 19 | "think\\composer\\": "src" 20 | } 21 | }, 22 | "extra": { 23 | "class": "think\\composer\\Plugin" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /application/common/model/MediaNewsMaterial.php: -------------------------------------------------------------------------------- 1 | 8 | // +---------------------------------------------------------------------- 9 | 10 | namespace app\common\model; 11 | 12 | 13 | use think\Model; 14 | 15 | class MediaNewsMaterial extends Model 16 | { 17 | 18 | } -------------------------------------------------------------------------------- /application/command.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | return []; 13 | -------------------------------------------------------------------------------- /vendor/topthink/think-image/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "topthink/think-image", 3 | "description": "The ThinkPHP5 Image Package", 4 | "license": "Apache-2.0", 5 | "authors": [ 6 | { 7 | "name": "yunwuxin", 8 | "email": "448901948@qq.com" 9 | } 10 | ], 11 | "require": { 12 | "ext-gd": "*" 13 | }, 14 | "require-dev": { 15 | "topthink/framework": "^5.0", 16 | "phpunit/phpunit": "4.8.*" 17 | }, 18 | "config": { 19 | "preferred-install": "dist" 20 | }, 21 | "autoload": { 22 | "psr-4": { 23 | "think\\": "src" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /config/queue.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | return [ 13 | 'connector' => 'Sync' 14 | ]; 15 | -------------------------------------------------------------------------------- /public/static/admin/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 | -------------------------------------------------------------------------------- /vendor/composer/autoload_files.php: -------------------------------------------------------------------------------- 1 | $vendorDir . '/topthink/think-helper/src/helper.php', 10 | '1cfd2761b63b0a29ed23657ea394cb2d' => $vendorDir . '/topthink/think-captcha/src/helper.php', 11 | 'cc56288302d9df745d97c934d6a6e5f0' => $vendorDir . '/topthink/think-queue/src/common.php', 12 | 'ea51e7f80936725691663347d5b38bd9' => $vendorDir . '/topthink/think-swoole/src/command.php', 13 | 'ffc1d7141d4fcbaeb47a6929f0811ed1' => $vendorDir . '/topthink/think-worker/src/command.php', 14 | ); 15 | -------------------------------------------------------------------------------- /vendor/topthink/think-installer/src/Plugin.php: -------------------------------------------------------------------------------- 1 | getInstallationManager(); 15 | 16 | //框架核心 17 | $manager->addInstaller(new ThinkFramework($io, $composer)); 18 | 19 | //单元测试 20 | $manager->addInstaller(new ThinkTesting($io, $composer)); 21 | 22 | //扩展 23 | $manager->addInstaller(new ThinkExtend($io, $composer)); 24 | 25 | } 26 | } -------------------------------------------------------------------------------- /vendor/topthink/think-queue/src/config.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | return [ 13 | 'connector' => 'Sync' 14 | ]; 15 | -------------------------------------------------------------------------------- /application/install/view/index/sql.html: -------------------------------------------------------------------------------- 1 | {extend name="public/base"/} 2 | {block name="body"} 3 |

安装数据库

4 |
5 |
6 | 16 | {/block} 17 | {block name="footer"} 18 |
19 | 20 |
21 | {/block} -------------------------------------------------------------------------------- /vendor/topthink/think-queue/src/queue/ShouldQueue.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\queue; 13 | 14 | interface ShouldQueue 15 | { 16 | 17 | } 18 | -------------------------------------------------------------------------------- /application/install/config/template.php: -------------------------------------------------------------------------------- 1 | 'Think', 5 | // 模板路径 6 | 'view_path' => '', 7 | // 模板后缀 8 | 'view_suffix' => 'html', 9 | // 模板文件名分隔符 10 | 'view_depr' => DIRECTORY_SEPARATOR, 11 | // 模板引擎普通标签开始标记 12 | 'tpl_begin' => '{', 13 | // 模板引擎普通标签结束标记 14 | 'tpl_end' => '}', 15 | // 标签库标签开始标记 16 | 'taglib_begin' => '{', 17 | // 标签库标签结束标记 18 | 'taglib_end' => '}', 19 | 'tpl_replace_string' => [ 20 | "__STATIC__" => "/public/static", 21 | '__COMPANY__' => '上海绮梦网络科技有限公司', 22 | '__NAME__' => 'RhaPHP微信平台管理系统', 23 | '__COMPANY_WEBSITE__' => 'www.rhaphp.com', 24 | '__WEBSITE__' => 'www.rhaphp.com', 25 | ], 26 | ]; -------------------------------------------------------------------------------- /application/install/view/index/complete.html: -------------------------------------------------------------------------------- 1 | {extend name="public/base"/} 2 | {block name="body"} 3 |

恭喜:安装完成

4 |

为了系统更加的安全,我们建议你删除install目录。

5 |
6 |
7 | 11 |
12 |
13 | {/block} 14 | {block name="footer"} 15 |
16 | 登录后台 17 | 访问首页 18 |
19 | {/block} -------------------------------------------------------------------------------- /vendor/topthink/think-image/src/image/Exception.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\image; 13 | 14 | 15 | class Exception extends \RuntimeException 16 | { 17 | 18 | } -------------------------------------------------------------------------------- /vendor/topthink/think-image/phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | ./tests/ 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /public/static/icon/icon.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'iconfont'; /* project id 365339 */ 3 | src: url('//at.alicdn.com/t/font_365339_h9gao8ww296enrk9.eot'); 4 | src: url('//at.alicdn.com/t/font_365339_h9gao8ww296enrk9.eot?#iefix') format('embedded-opentype'), 5 | url('//at.alicdn.com/t/font_365339_h9gao8ww296enrk9.woff') format('woff'), 6 | url('//at.alicdn.com/t/font_365339_h9gao8ww296enrk9.ttf') format('truetype'), 7 | url('//at.alicdn.com/t/font_365339_h9gao8ww296enrk9.svg#iconfont') format('svg'); 8 | } 9 | .rha-icon{ 10 | font-family:"iconfont" !important; 11 | font-size:16px;font-style:normal; 12 | -webkit-font-smoothing: antialiased; 13 | -webkit-text-stroke-width: 0.2px; 14 | -moz-osx-font-smoothing: grayscale; 15 | margin-right: 3px; 16 | 17 | } -------------------------------------------------------------------------------- /public/router.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | // $Id$ 12 | 13 | if (is_file($_SERVER["DOCUMENT_ROOT"] . $_SERVER["SCRIPT_NAME"])) { 14 | return false; 15 | } else { 16 | require __DIR__ . "/index.php"; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/topthink/think-queue/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "topthink/think-queue", 3 | "description": "The ThinkPHP5 Queue Package", 4 | "type": "think-extend", 5 | "authors": [ 6 | { 7 | "name": "yunwuxin", 8 | "email": "448901948@qq.com" 9 | } 10 | ], 11 | "license": "Apache-2.0", 12 | "autoload": { 13 | "psr-4": { 14 | "think\\": "src" 15 | }, 16 | "files": [ 17 | "src/common.php" 18 | ] 19 | }, 20 | "require": { 21 | "topthink/think-helper": ">=1.0.4", 22 | "topthink/think-installer": "^2.0", 23 | "topthink/framework": "5.1.*" 24 | }, 25 | "extra": { 26 | "think-config": { 27 | "queue": "src/config.php" 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/topthink/think-swoole/src/command.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // 注册命令行指令 13 | \think\Console::addDefaultCommands([ 14 | '\\think\\swoole\\command\\Swoole', 15 | '\\think\\swoole\\command\\Server', 16 | ]); 17 | -------------------------------------------------------------------------------- /application/copyright.php: -------------------------------------------------------------------------------- 1 | 8 | // +---------------------------------------------------------------------- 9 | 10 | return 11 | ['copyright' => 12 | [ 13 | 'name' => 'RhaPHP微信公众号管理系统', 14 | 'nickname1' => 'RhaPHP', 15 | 'nickname2' => '二哈系统', 16 | 'company_website' => 'http://www.rhaphp.com/', 17 | 'version' => '1.5.8'//请不要随意更改版本号 18 | ] 19 | ]; 20 | 21 | 22 | -------------------------------------------------------------------------------- /vendor/topthink/think-swoole/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "topthink/think-swoole", 3 | "description": "Swoole extend for thinkphp5.1", 4 | "license": "Apache-2.0", 5 | "type": "think-extend", 6 | "authors": [ 7 | { 8 | "name": "liu21st", 9 | "email": "liu21st@gmail.com" 10 | } 11 | ], 12 | "require": { 13 | "ext-swoole": ">=1.9.5", 14 | "topthink/think-installer": "^2.0", 15 | "topthink/framework": "~5.1.20" 16 | }, 17 | "autoload": { 18 | "psr-4": { 19 | "think\\swoole\\": "src" 20 | }, 21 | "files": [ 22 | "src/command.php" 23 | ] 24 | }, 25 | "extra": { 26 | "think-config": { 27 | "swoole": "src/config.php", 28 | "swoole_server":"src/server_config.php" 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /vendor/workerman/workerman/Events/React/ExtEventLoop.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | namespace Workerman\Events\React; 15 | 16 | /** 17 | * Class ExtEventLoop 18 | * @package Workerman\Events\React 19 | */ 20 | class ExtEventLoop extends Base 21 | { 22 | 23 | public function __construct() 24 | { 25 | $this->_eventLoop = new \React\EventLoop\ExtEventLoop(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /think: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | 11 | // +---------------------------------------------------------------------- 12 | 13 | namespace think; 14 | // 加载基础文件 15 | require __DIR__ . '/thinkphp/base.php'; 16 | // 应用初始化 17 | Container::get('app')->path(__DIR__ . '/application/')->initialize(); 18 | // 控制台初始化 19 | Console::init(); -------------------------------------------------------------------------------- /vendor/workerman/workerman/Events/React/StreamSelectLoop.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | namespace Workerman\Events\React; 15 | 16 | /** 17 | * Class StreamSelectLoop 18 | * @package Workerman\Events\React 19 | */ 20 | class StreamSelectLoop extends Base 21 | { 22 | public function __construct() 23 | { 24 | $this->_eventLoop = new \React\EventLoop\StreamSelectLoop(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/topthink/think-worker/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "topthink/think-worker", 3 | "description": "workerman extend for thinkphp5.1", 4 | "license": "Apache-2.0", 5 | "type": "think-extend", 6 | "authors": [ 7 | { 8 | "name": "liu21st", 9 | "email": "liu21st@gmail.com" 10 | } 11 | ], 12 | "require": { 13 | "workerman/workerman":"^3.3.0", 14 | "topthink/think-installer": "^2.0", 15 | "topthink/framework":"5.1.*" 16 | }, 17 | "autoload": { 18 | "psr-4": { 19 | "think\\worker\\": "src" 20 | }, 21 | "files": [ 22 | "src/command.php" 23 | ] 24 | }, 25 | "extra": { 26 | "think-config": { 27 | "worker": "src/config.php", 28 | "worker_server":"src/worker_config.php" 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /vendor/topthink/think-image/tests/autoload.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | define('TEST_PATH', __DIR__ . '/'); 12 | // 加载框架基础文件 13 | require __DIR__ . '/../thinkphp/base.php'; 14 | \think\Loader::addNamespace('tests', TEST_PATH); 15 | \think\Loader::addNamespace('think', __DIR__ . '/../src/'); -------------------------------------------------------------------------------- /vendor/workerman/workerman/Events/React/ExtLibEventLoop.php: -------------------------------------------------------------------------------- 1 | 10 | * @copyright walkor 11 | * @link http://www.workerman.net/ 12 | * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 | */ 14 | namespace Workerman\Events\React; 15 | use Workerman\Events\EventInterface; 16 | 17 | /** 18 | * Class ExtLibEventLoop 19 | * @package Workerman\Events\React 20 | */ 21 | class ExtLibEventLoop extends Base 22 | { 23 | public function __construct() 24 | { 25 | $this->_eventLoop = new \React\EventLoop\ExtLibeventLoop(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /thinkphp/library/think/route/dispatch/Response.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\route\dispatch; 13 | 14 | use think\route\Dispatch; 15 | 16 | class Response extends Dispatch 17 | { 18 | public function exec() 19 | { 20 | return $this->dispatch; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /config/trace.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // +---------------------------------------------------------------------- 13 | // | Trace设置 开启 app_trace 后 有效 14 | // +---------------------------------------------------------------------- 15 | return [ 16 | // 内置Html Console 支持扩展 17 | 'type' => 'Html', 18 | ]; 19 | -------------------------------------------------------------------------------- /vendor/composer/autoload_psr4.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/topthink/think-worker/src'), 10 | 'think\\swoole\\' => array($vendorDir . '/topthink/think-swoole/src'), 11 | 'think\\mongo\\' => array($vendorDir . '/topthink/think-mongo/src'), 12 | 'think\\helper\\' => array($vendorDir . '/topthink/think-helper/src'), 13 | 'think\\composer\\' => array($vendorDir . '/topthink/think-installer/src'), 14 | 'think\\captcha\\' => array($vendorDir . '/topthink/think-captcha/src'), 15 | 'think\\' => array($vendorDir . '/topthink/think-image/src', $vendorDir . '/topthink/think-queue/src'), 16 | 'app\\' => array($baseDir . '/application'), 17 | 'Workerman\\' => array($vendorDir . '/workerman/workerman'), 18 | ); 19 | -------------------------------------------------------------------------------- /config/middleware.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // +---------------------------------------------------------------------- 13 | // | 中间件配置 14 | // +---------------------------------------------------------------------- 15 | return [ 16 | // 默认中间件命名空间 17 | 'default_namespace' => 'app\\http\\middleware\\', 18 | ]; 19 | -------------------------------------------------------------------------------- /thinkphp/library/think/exception/RouteNotFoundException.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\exception; 13 | 14 | class RouteNotFoundException extends HttpException 15 | { 16 | 17 | public function __construct() 18 | { 19 | parent::__construct(404, 'Route Not Found'); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /config/console.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // +---------------------------------------------------------------------- 13 | // | 控制台配置 14 | // +---------------------------------------------------------------------- 15 | return [ 16 | 'name' => 'Think Console', 17 | 'version' => '0.1', 18 | 'user' => null, 19 | ]; 20 | -------------------------------------------------------------------------------- /themes/mobile/member/common/base.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {$title} 7 | 8 | 9 | {CSS href="__STATIC__/member/css/home.css" /} 10 | {CSS href="__STATIC__/icon/icon.css" /} 11 | 12 | 13 | 14 | 15 | 16 | 17 | {block name="body"}主内容{/block} 18 | 19 | -------------------------------------------------------------------------------- /themes/pc/mp/common/error.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 会员登录 7 | 8 | 9 | 10 | 11 | 12 |
13 |
14 |
15 |

操作失败

16 |

{$errMsg}

17 |
18 |
19 | 22 |
23 |
24 | 25 | -------------------------------------------------------------------------------- /themes/mobile/mp/common/error.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 会员登录 7 | 8 | 9 | 10 | 11 | 12 |
13 |
14 |
15 |

操作失败

16 |

{$errMsg}

17 |
18 |
19 | 22 |
23 |
24 | 25 | -------------------------------------------------------------------------------- /themes/mobile/member/common/error.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 会员登录 7 | 8 | 9 | 10 | 11 | 12 |
13 |
14 |
15 |

操作失败

16 |

{$errMsg}

17 |
18 |
19 | 22 |
23 |
24 | 25 | -------------------------------------------------------------------------------- /thinkphp/tpl/default_index.tpl: -------------------------------------------------------------------------------- 1 | *{ padding: 0; margin: 0; } div{ padding: 4px 48px;} a{color:#2E5CD5;cursor: pointer;text-decoration: none} a:hover{text-decoration:underline; } body{ background: #fff; font-family: "Century Gothic","Microsoft yahei"; color: #333;font-size:18px;} h1{ font-size: 100px; font-weight: normal; margin-bottom: 12px; } p{ line-height: 1.6em; font-size: 42px }

:)

ThinkPHP V5.1
12载初心不改(2006-2018) - 你值得信赖的PHP框架

'; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /thinkphp/library/think/route/dispatch/Redirect.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\route\dispatch; 13 | 14 | use think\Response; 15 | use think\route\Dispatch; 16 | 17 | class Redirect extends Dispatch 18 | { 19 | public function exec() 20 | { 21 | return Response::create($this->dispatch, 'redirect')->code($this->code); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /vendor/topthink/think-captcha/src/CaptchaController.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\captcha; 13 | 14 | use think\facade\Config; 15 | 16 | class CaptchaController 17 | { 18 | public function index($id = "") 19 | { 20 | $captcha = new Captcha((array) Config::pull('captcha')); 21 | return $captcha->entry($id); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/spechars/spechars.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 14 | 15 | 16 |
17 |
18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /route/route.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | Route::get('think', function () { 13 | return 'hello,ThinkPHP5!'; 14 | }); 15 | Route::rule(ADDON_ROUTE.':addon/:col/:act', '\\app\\mp\controller\\Call@run'); 16 | Route::rule('/api/:_mid/:addon/:col/:act', '\\app\\miniapp\controller\\Call@run'); 17 | Route::rule('miniprogram/:_mid', 'miniapp/entr/index'); 18 | return [ 19 | 20 | ]; 21 | -------------------------------------------------------------------------------- /vendor/topthink/think-swoole/src/facade/Http.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\swoole\facade; 13 | 14 | use think\Facade; 15 | 16 | /** 17 | * @see \think\swoole\Http 18 | * @mixin \think\swoole\Http 19 | * @method void option(array $option) static 参数设置 20 | * @method void start() static 启动服务 21 | * @method void stop() static 停止服务 22 | */ 23 | class Http extends Facade 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 8 | // +---------------------------------------------------------------------- 9 | namespace think; 10 | //如果出现一片空白,请检查PHP版本 11 | //环境要求:PHP>=5.6 mysql 建议在5.5以上 12 | define('ENTR_PATH',''); 13 | define('ROOT_PATH',__DIR__.'/'); 14 | define('DS',DIRECTORY_SEPARATOR); 15 | define('APP_PATH', __DIR__ . '/application/'); 16 | define('ADDON_PATH', __DIR__ . '/addons/'); 17 | define('MINIAPP_PATH', __DIR__ . '/miniapp/'); 18 | define('ADDON_ROUTE','/app/'); 19 | define('EXTEND_PATH',ROOT_PATH . 'extend/'); 20 | require __DIR__ . '/thinkphp/base.php'; 21 | Container::get('app',[APP_PATH])->run()->send(); 22 | -------------------------------------------------------------------------------- /vendor/topthink/think-worker/src/facade/Worker.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\worker\facade; 13 | 14 | use think\Facade; 15 | 16 | /** 17 | * @see \think\worker\Worker 18 | * @mixin \think\worker\Worker 19 | * @method void option(array $option) static 参数设置 20 | * @method void start() static 启动服务 21 | * @method void stop() static 停止服务 22 | */ 23 | class Worker extends Facade 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /vendor/topthink/think-worker/src/command.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | \think\Console::addDefaultCommands([ 13 | '\\think\\worker\\command\\Worker', 14 | '\\think\\worker\\command\\Server', 15 | ]); 16 | 17 | \think\Facade::bind([ 18 | \think\worker\facade\Application::class => \think\worker\Application::class, 19 | \think\worker\facade\Worker::class => \think\worker\Worker::class, 20 | ]); 21 | -------------------------------------------------------------------------------- /thinkphp/library/think/route/dispatch/Callback.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\route\dispatch; 13 | 14 | use think\route\Dispatch; 15 | 16 | class Callback extends Dispatch 17 | { 18 | public function exec() 19 | { 20 | // 执行回调方法 21 | $vars = array_merge($this->request->param(), $this->param); 22 | 23 | return $this->app->invoke($this->dispatch, $vars); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/table/edittip.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 表格删除提示 5 | 6 | 17 | 18 | 19 |
20 |
21 | 22 |
23 |
24 | 25 |
26 |
27 | 32 | 33 | -------------------------------------------------------------------------------- /themes/pc/mp/app/view.html: -------------------------------------------------------------------------------- 1 | {extend name="./app/base" /} 2 | {block name="body"} 3 | {if condition="isset($addonInfo['name']) OR $menu_title neq ''"} 4 |
5 |

{$addonInfo.name}

6 |
7 | {/if} 8 | {if condition="isset($tips) && $tips neq ''"} 9 |
10 |
11 | {$tips} 12 |
13 |
14 | {/if} 15 | 16 | 25 | {/block} -------------------------------------------------------------------------------- /vendor/topthink/think-worker/src/facade/Application.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\worker\facade; 13 | 14 | use think\Facade; 15 | 16 | /** 17 | * @see \think\worker\Application 18 | * @mixin \think\worker\Application 19 | * @method void initialize() static 初始化应用 20 | * @method void worker(\Workerman\Connection\TcpConnection $connection) static 处理Worker请求 21 | */ 22 | class Application extends Facade 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /application/behavior/Define.php: -------------------------------------------------------------------------------- 1 | 8 | // +---------------------------------------------------------------------- 9 | 10 | 11 | namespace app\behavior; 12 | 13 | 14 | use think\facade\Env; 15 | use think\facade\Request; 16 | 17 | 18 | class Define 19 | { 20 | public function run() 21 | { 22 | 23 | $module = strtolower(Request::module()); 24 | $Controller = strtolower(Request::controller()); 25 | $action = strtolower(Request::action()); 26 | define('MODULE_NAME', $module); 27 | define('CONTROLLER_NAME', $Controller); 28 | define('ACTION_NAME', $action); 29 | 30 | 31 | } 32 | } -------------------------------------------------------------------------------- /themes/pc/miniapp/app/view.html: -------------------------------------------------------------------------------- 1 | {extend name="./app/base" /} 2 | {block name="body"} 3 | {if condition="isset($addonInfo['name']) OR $menu_title neq ''"} 4 |
5 |

{$addonInfo.name}

6 |
7 | {/if} 8 | {if condition="isset($tips) && $tips neq ''"} 9 |
10 |
11 | {$tips} 12 |
13 |
14 | {/if} 15 | 16 | 25 | {/block} -------------------------------------------------------------------------------- /thinkphp/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "topthink/framework", 3 | "description": "the new thinkphp framework", 4 | "type": "think-framework", 5 | "keywords": [ 6 | "framework", 7 | "thinkphp", 8 | "ORM" 9 | ], 10 | "homepage": "http://thinkphp.cn/", 11 | "license": "Apache-2.0", 12 | "authors": [ 13 | { 14 | "name": "liu21st", 15 | "email": "liu21st@gmail.com" 16 | }, 17 | { 18 | "name": "yunwuxin", 19 | "email": "448901948@qq.com" 20 | } 21 | ], 22 | "require": { 23 | "php": ">=5.6.0", 24 | "topthink/think-installer": "2.*" 25 | }, 26 | "require-dev": { 27 | "phpunit/phpunit": "^5.0|^6.0", 28 | "johnkary/phpunit-speedtrap": "^1.0", 29 | "mikey179/vfsStream": "~1.6", 30 | "phploc/phploc": "2.*", 31 | "sebastian/phpcpd": "2.*", 32 | "squizlabs/php_codesniffer": "2.*", 33 | "phpdocumentor/reflection-docblock": "^2.0" 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /thinkphp/library/think/route/dispatch/View.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\route\dispatch; 13 | 14 | use think\Response; 15 | use think\route\Dispatch; 16 | 17 | class View extends Dispatch 18 | { 19 | public function exec() 20 | { 21 | // 渲染模板输出 22 | $vars = array_merge($this->request->param(), $this->param); 23 | 24 | return Response::create($this->dispatch, 'view')->assign($vars); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /config/cache.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // +---------------------------------------------------------------------- 13 | // | 缓存设置 14 | // +---------------------------------------------------------------------- 15 | 16 | return [ 17 | // 驱动方式 18 | 'type' => 'File', 19 | // 缓存保存目录 20 | 'path' => \think\facade\Env::get('runtime_path').'cache/', 21 | // 缓存前缀 22 | 'prefix' => '', 23 | // 缓存有效期 0表示永久缓存 24 | 'expire' => 0, 25 | ]; 26 | -------------------------------------------------------------------------------- /public/static/home/layui/css/modules/code.css: -------------------------------------------------------------------------------- 1 | /** layui-v1.0.9_rls MIT License By http://www.layui.com */ 2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #ddd;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:30px;line-height:30px;border-bottom:1px solid #ddd}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #ddd;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none} -------------------------------------------------------------------------------- /public/static/layui/css/modules/code.css: -------------------------------------------------------------------------------- 1 | /** layui-v2.4.5 MIT License By https://www.layui.com */ 2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none} -------------------------------------------------------------------------------- /application/behavior/ChangeTheme.php: -------------------------------------------------------------------------------- 1 | 8 | // +---------------------------------------------------------------------- 9 | 10 | namespace app\behavior; 11 | 12 | use think\facade\Env; 13 | use think\facade\Request; 14 | use think\facade\View; 15 | 16 | class ChangeTheme 17 | { 18 | public function run() 19 | { 20 | $root_path = Env::get('root_path'); 21 | $model = Request::module(); 22 | if (Request::isMobile()) { 23 | $view_path = $root_path . 'themes/mobile/' . $model . '/'; 24 | } else { 25 | $view_path = $root_path . 'themes/pc/' . $model . '/'; 26 | } 27 | View::config('view_path', $view_path); 28 | } 29 | } -------------------------------------------------------------------------------- /vendor/topthink/think-swoole/src/facade/Application.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\swoole\facade; 13 | 14 | use Swoole\Http\Request; 15 | use Swoole\Http\Response; 16 | use think\Facade; 17 | 18 | /** 19 | * @see \think\swoole\Application 20 | * @mixin \think\swoole\Application 21 | * @method void initialize() static 初始化应用 22 | * @method void swoole(Request $request, Response $response) static 处理Swoole请求 23 | */ 24 | class Application extends Facade 25 | { 26 | } 27 | -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/template/template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
12 |
13 | 14 |
15 |
16 |
17 |
18 | 19 |
20 |
21 |
22 |
23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /public/static/home/layui/lay/modules/util.js: -------------------------------------------------------------------------------- 1 | /** layui-v1.0.9_rls MIT License By http://www.layui.com */ 2 | ;layui.define("jquery",function(l){"use strict";var o=layui.jquery,i={fixbar:function(l){l=l||{},l.bgcolor=l.bgcolor?"background-color:"+l.bgcolor:"";var i,a,c="layui-fixbar-top",t=[l.bar1===!0?"":l.bar1,l.bar2===!0?"":l.bar2,""],r=o(['
    ',l.bar1?'
  • '+t[0]+"
  • ":"",l.bar2?'
  • '+t[1]+"
  • ":"",'
  • '+t[2]+"
  • ","
"].join("")),e=r.find("."+c),s=function(){var i=o(document).scrollTop();i>=(l.showHeight||200)?a||(e.show(),a=1):a&&(e.hide(),a=0)};o(".layui-fixbar")[0]||("object"==typeof l.css&&r.css(l.css),o("body").append(r),s(),r.find("li").on("click",function(){var i=o(this),a=i.attr("lay-type");"top"===a&&o("html,body").animate({scrollTop:0},200),l.click&&l.click.call(this,a)}),o(document).on("scroll",function(){i&&clearTimeout(i),i=setTimeout(function(){s()},100)}))}};l("util",i)}); -------------------------------------------------------------------------------- /thinkphp/library/think/config/driver/Json.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\config\driver; 13 | 14 | class Json 15 | { 16 | protected $config; 17 | 18 | public function __construct($config) 19 | { 20 | if (is_file($config)) { 21 | $config = file_get_contents($config); 22 | } 23 | 24 | $this->config = $config; 25 | } 26 | 27 | public function parse() 28 | { 29 | return json_decode($this->config, true); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /application/common/model/MpReply.php: -------------------------------------------------------------------------------- 1 | 8 | // +---------------------------------------------------------------------- 9 | 10 | 11 | namespace app\common\model; 12 | 13 | 14 | use think\Model; 15 | 16 | class MpReply extends Model 17 | { 18 | protected $pk='reply_id'; 19 | /** 20 | * @param array $where 21 | * @param string $order 22 | * @param int $page 23 | */ 24 | public function getMaterialList($where = [], $order = '', $page = 10) 25 | { 26 | return $this->where($where)->order($order)->paginate($page); 27 | } 28 | 29 | public function delReply($where = []) 30 | { 31 | return $this->where($where)->delete(); 32 | } 33 | 34 | } 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /config/worker.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // +---------------------------------------------------------------------- 13 | // | Workerman设置 php think worker命令行下有效 14 | // +---------------------------------------------------------------------- 15 | return [ 16 | // 扩展自身需要的配置 17 | 'host' => '0.0.0.0', // 监听地址 18 | 'port' => 2346, // 监听端口 19 | 'app_path' => '', // 应用目录 守护进程模式必须设置(绝对路径) 20 | 21 | // 支持workerman的所有配置参数 22 | 'name' => 'thinkphp', 23 | 'count' => 4, 24 | ]; 25 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "topthink/think", 3 | "description": "the new thinkphp framework", 4 | "type": "project", 5 | "keywords": [ 6 | "framework", 7 | "thinkphp", 8 | "ORM" 9 | ], 10 | "homepage": "http://thinkphp.cn/", 11 | "license": "Apache-2.0", 12 | "authors": [ 13 | { 14 | "name": "liu21st", 15 | "email": "liu21st@gmail.com" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=5.6.0", 20 | "topthink/framework": "5.1.*", 21 | "topthink/think-captcha": "^2.0", 22 | "topthink/think-image": "^1.0", 23 | "topthink/think-worker": "^2.0", 24 | "topthink/think-mongo": "^2.0", 25 | "topthink/think-helper": "^1.0", 26 | "topthink/think-swoole": "^2.0", 27 | "topthink/think-queue": "^2.0" 28 | }, 29 | "autoload": { 30 | "psr-4": { 31 | "app\\": "application" 32 | } 33 | }, 34 | "extra": { 35 | "think-path": "thinkphp" 36 | }, 37 | "config": { 38 | "preferred-install": "dist" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /themes/mobile/mp/app/view.html: -------------------------------------------------------------------------------- 1 | {extend name="./app/base" /} 2 | {block name="body"} 3 | {if condition="isset($addonInfo['name']) OR $menu_title neq ''"} 4 |
5 |

{$addonInfo.name}

6 |
7 | {/if} 8 | {if condition="isset($tips) && $tips neq ''"} 9 |
10 |
11 | {$tips} 12 |
13 |
14 | {/if} 15 |
16 | 17 |
18 | 19 | 28 | {/block} -------------------------------------------------------------------------------- /thinkphp/library/think/config/driver/Ini.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\config\driver; 13 | 14 | class Ini 15 | { 16 | protected $config; 17 | 18 | public function __construct($config) 19 | { 20 | $this->config = $config; 21 | } 22 | 23 | public function parse() 24 | { 25 | if (is_file($this->config)) { 26 | return parse_ini_file($this->config, true); 27 | } else { 28 | return parse_ini_string($this->config, true); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /thinkphp/library/think/exception/HttpResponseException.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\exception; 13 | 14 | use think\Response; 15 | 16 | class HttpResponseException extends \RuntimeException 17 | { 18 | /** 19 | * @var Response 20 | */ 21 | protected $response; 22 | 23 | public function __construct(Response $response) 24 | { 25 | $this->response = $response; 26 | } 27 | 28 | public function getResponse() 29 | { 30 | return $this->response; 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /更新记录: -------------------------------------------------------------------------------- 1 | 改进订单查询函数queryOrder,并发下可能出现数据重复插入 2 | 改进MemberWealthRecord模型对金额与积分变动使用事务 3 | wechat.class.php动态获取缓存地址 4 | 修改密码后对退出增加判断 5 | 改进小程序接入 6 | common/common.php.wexinLogin增加返回会员信息 7 | 8 | 9.30 9 | 对 Payment表增加回调 10 | ALTER TABLE `rh_payment` ADD `callback` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '回调地址:addonUrl函数生成地址' AFTER `refund`; 11 | ALTER TABLE `rh_payment` ADD `callback_status` TINYINT(1) NOT NULL DEFAULT '0' COMMENT '回调成功状态:0:未成功,1:成功' AFTER `callback`; 12 | 13 | 10.8 14 | /Users/ima/GitHub/rhaphp/themes/pc/admin/appstore/login.html 15 | 应用商城登录页面增加密码找回 16 | /Users/ima/GitHub/rhaphp/application/mp/controller/App.php 17 | 修正业务菜单为二级时默认展开问题 18 | 支持宽屏与中屏的切换 19 | ALTER TABLE `rh_mp_rule` ADD INDEX(`mpid`); 20 | ALTER TABLE `rh_payment` ADD UNIQUE(`order_number`); 21 | 取消支付回调对金额入库 22 | 23 | 11.17 24 | ALTER TABLE `rh_mp_friends` ADD `group_score` INT NOT NULL DEFAULT '0' COMMENT '影响角色组等级升降的积分' AFTER `money`, ADD `group_money` DECIMAL(11,2) NOT NULL DEFAULT '0' COMMENT '影响角色组等级升降的金额' AFTER `group_score`; 25 | ALTER TABLE `rh_member_group` ADD `level` INT NOT NULL DEFAULT '0' COMMENT '级别' AFTER `description`; -------------------------------------------------------------------------------- /application/tags.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // 应用行为扩展定义文件 13 | return [ 14 | 'Jssdk' => ['app\\behavior\\Jssdk'], 15 | 'Upload' => ['app\\behavior\\Upload'], 16 | // 应用初始化 17 | 'app_init' => [], 18 | // 应用开始 19 | 'app_begin' => [], 20 | // 模块初始化 21 | 'module_init' => ['app\\behavior\\Define','app\\behavior\\ChangeTheme'], 22 | // 操作开始执行 23 | 'action_begin' => [], 24 | // 视图内容过滤 25 | 'view_filter' => [], 26 | // 日志写入 27 | 'log_write' => [], 28 | // 应用结束 29 | 'app_end' => [], 30 | ]; -------------------------------------------------------------------------------- /vendor/topthink/think-worker/src/config.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // +---------------------------------------------------------------------- 13 | // | Workerman设置 php think worker命令行下有效 14 | // +---------------------------------------------------------------------- 15 | return [ 16 | // 扩展自身需要的配置 17 | 'host' => '0.0.0.0', // 监听地址 18 | 'port' => 2346, // 监听端口 19 | 'app_path' => '', // 应用目录 守护进程模式必须设置(绝对路径) 20 | 21 | // 支持workerman的所有配置参数 22 | 'name' => 'thinkphp', 23 | 'count' => 4, 24 | ]; 25 | -------------------------------------------------------------------------------- /config/session.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // +---------------------------------------------------------------------- 13 | // | 会话设置 14 | // +---------------------------------------------------------------------- 15 | 16 | return [ 17 | 'id' => '', 18 | // SESSION_ID的提交变量,解决flash上传跨域 19 | 'var_session_id' => '', 20 | // SESSION 前缀 21 | 'prefix' => 'think_', 22 | // 驱动方式 支持redis memcache memcached 23 | 'type' => '', 24 | // 是否自动开启 SESSION 25 | 'auto_start' => true, 26 | ]; 27 | -------------------------------------------------------------------------------- /public/static/admin/ueditor/dialogs/music/music.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 插入音乐 6 | 7 | 8 | 9 | 10 |
11 | 15 |
16 | 17 |
18 |
19 |
20 |
21 | 22 | 31 | 32 | -------------------------------------------------------------------------------- /public/static/admin/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; } -------------------------------------------------------------------------------- /thinkphp/library/think/console/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-2016 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /thinkphp/library/think/console/output/driver/Nothing.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | namespace think\console\output\driver; 13 | 14 | use think\console\Output; 15 | 16 | class Nothing 17 | { 18 | 19 | public function __construct(Output $output) 20 | { 21 | // do nothing 22 | } 23 | 24 | public function write($messages, $newline = false, $options = Output::OUTPUT_NORMAL) 25 | { 26 | // do nothing 27 | } 28 | 29 | public function renderException(\Exception $e) 30 | { 31 | // do nothing 32 | } 33 | } 34 | --------------------------------------------------------------------------------