├── .idea ├── modules.xml ├── tp5.iml └── workspace.xml ├── LICENSE.txt ├── README.md ├── application ├── .DS_Store ├── .htaccess ├── admin │ ├── common.php │ ├── config.php │ ├── controller │ │ ├── Base.php │ │ ├── Bis.php │ │ ├── Category.php │ │ ├── Deal.php │ │ ├── Featured.php │ │ └── Index.php │ ├── validate │ │ └── Category.php │ └── view │ │ ├── bis │ │ ├── apply.html │ │ ├── dellist.html │ │ ├── detail.html │ │ └── index.html │ │ ├── category │ │ ├── add.html │ │ ├── edit.html │ │ └── index.html │ │ ├── deal │ │ ├── apply.html │ │ └── index.html │ │ ├── featured │ │ ├── add.html │ │ └── index.html │ │ ├── index │ │ ├── .DS_Store │ │ └── index.html │ │ └── public │ │ ├── .DS_Store │ │ ├── footer.html │ │ ├── header.html │ │ └── menu.html ├── api │ ├── common.php │ ├── config.php │ └── controller │ │ ├── Category.php │ │ ├── City.php │ │ ├── Image.php │ │ ├── Index.php │ │ └── Order.php ├── bis │ ├── .DS_Store │ ├── common.php │ ├── config.php │ ├── controller │ │ ├── Base.php │ │ ├── Deal.php │ │ ├── Index.php │ │ ├── Location.php │ │ ├── Login.php │ │ └── Register.php │ └── view │ │ ├── .DS_Store │ │ ├── deal │ │ └── add.html │ │ ├── index │ │ └── index.html │ │ ├── location │ │ ├── add.html │ │ └── index.html │ │ ├── login │ │ └── index.html │ │ ├── public │ │ ├── footer.html │ │ ├── header.html │ │ └── menu.html │ │ └── register │ │ ├── index.html │ │ └── waiting.html ├── build.php ├── command.php ├── common.php ├── common │ ├── common.php │ ├── config.php │ ├── controller │ │ └── Index.php │ ├── model │ │ ├── Admin.php │ │ ├── BaseModel.php │ │ ├── Bis.php │ │ ├── BisAccount.php │ │ ├── BisLocation.php │ │ ├── Category.php │ │ ├── City.php │ │ ├── Coupons.php │ │ ├── Deal.php │ │ ├── Featured.php │ │ ├── Order.php │ │ └── User.php │ └── validate │ │ └── Bis.php ├── config.php ├── database.php ├── extra │ ├── email.php │ ├── featured.php │ └── map.php ├── index │ ├── controller │ │ ├── Base.php │ │ ├── Detail.php │ │ ├── Index.php │ │ ├── Lists.php │ │ ├── Map.php │ │ ├── Order.php │ │ ├── Pay.php │ │ ├── Test.php │ │ ├── User.php │ │ └── Weixinpay.php │ └── view │ │ ├── detail │ │ └── index.html │ │ ├── index │ │ └── index.html │ │ ├── lists │ │ └── index.html │ │ ├── order │ │ └── confirm.html │ │ ├── pay │ │ ├── index.html │ │ └── paysuccess.html │ │ ├── public │ │ ├── head.html │ │ └── nav.html │ │ └── user │ │ ├── login.html │ │ └── register.html ├── route.php └── tags.php ├── composer.json ├── composer.lock ├── extend └── .gitignore ├── imooc_o2o.sql ├── public ├── .DS_Store ├── .htaccess ├── favicon.ico ├── index.php ├── nohup.out ├── robots.txt ├── router.php ├── static │ └── .gitignore ├── ueditor │ └── php │ │ └── upload │ │ └── image │ │ ├── 20170114 │ │ └── 1484380249415690.png │ │ ├── 20170115 │ │ └── 1484473712156060.png │ │ ├── 20170311 │ │ └── 1489227732945077.jpg │ │ └── 20170313 │ │ ├── 1489403977273966.jpg │ │ └── 1489405649126829.jpg ├── upload │ ├── 20170115 │ │ ├── .DS_Store │ │ ├── 2ce878768a40805c0a520f0cc6a6be32.png │ │ └── 86c3c46ae746dda1a4af393466e4c07b.png │ ├── 20170122 │ │ ├── .DS_Store │ │ ├── 0abbc2d97c52e0883bac9522d27f0244.png │ │ ├── 0e48c3472bc79c2232a64b086b798182.png │ │ ├── 28141ad57dbe4191f948bf3211b96b43.png │ │ ├── 4dd8bbfc7cd3b94cb1a7103191b76662.png │ │ ├── 6b472e073d3d9113841520ded129e599.png │ │ ├── 7b250f7b0af5a4a3c25fa050594fa518.png │ │ ├── 92954b81303a22bd63edce3146c40e19.png │ │ ├── b041ef62b92d17ca842713d136628005.png │ │ └── e65aa253ca066b4c0c6deebe3287f453.png │ ├── 20170205 │ │ ├── .DS_Store │ │ ├── 971ed11d347241e2077693ae178873b7.png │ │ ├── c157f7cbe8da9ff151781bc5930c64a2.png │ │ ├── e1f72f9ee1ab70c051db24d6e7c2e597.png │ │ └── eeb5d7e8ead52b94efe7fcb1fe04f25d.png │ ├── 20170206 │ │ ├── .DS_Store │ │ ├── 762564e8e90163d6e1a53a52f2fee5a8.png │ │ ├── 93aa915c68bf91d3c946bfab4c00491a.png │ │ ├── ca530a984bd4960fe6fa5633b4ca549e.png │ │ └── e0bf629155825b66375b1f4911544dc8.png │ ├── 20170219 │ │ ├── .DS_Store │ │ ├── 0c419b2425c8935b4222354c0442f0dd.jpg │ │ ├── 1574822f08a76532a74047670f44015e.jpg │ │ ├── 3e35576eb4c321bf517f8d8ac2c95acf.jpg │ │ ├── 3fbf62aa64e2c197be655c010adfe0f3.jpg │ │ ├── 64fad76c6cb6084ba466b43810fe4d25.jpg │ │ ├── 8af01775f874b7ebf3583eb2fdf3e9ed.jpg │ │ ├── a89a8c417e7e5ff3079e4e2b6129d785.jpg │ │ ├── ads.jpg │ │ ├── bc3356e2d1959ad830ca992e4606167e.jpg │ │ ├── d1.jpg │ │ ├── d2f4a90b29ff6f9751456f0fe44d09f2.jpg │ │ ├── datu.jpg │ │ ├── de895022acce2a7c94e1dd255a7565f9.jpg │ │ ├── ed6baf2b9686ffe4c17f9052b1c041aa.jpg │ │ └── f35c26b5069e96402d2f25a20f5e6faf.jpg │ ├── 20170309 │ │ └── .DS_Store │ ├── 20170311 │ │ ├── .DS_Store │ │ ├── 3461f6bc5de101e15d3dd5c059c6964f.png │ │ ├── 8f84f9e9d8ebc3a226c008bf842703ee.jpg │ │ └── f2c008ee590cffb3128f2e57e2e25945.jpg │ ├── 20170313 │ │ ├── .DS_Store │ │ ├── 2d8b03615df9193b551c62bd632c0956.jpg │ │ └── b041bc1a39e8a673680e4bdb41ac2683.jpg │ └── .DS_Store └── weixin │ ├── .DS_Store │ ├── cert │ ├── apiclient_cert.pem │ └── apiclient_key.pem │ ├── doc │ ├── README │ └── README.doc │ ├── example │ ├── WxPay.JsApiPay.php │ ├── WxPay.MicroPay.php │ ├── WxPay.NativePay.php │ ├── download.php │ ├── jsapi.php │ ├── log.php │ ├── micropay.php │ ├── native.php │ ├── native_notify.php │ ├── notify.php │ ├── orderquery.php │ ├── phpqrcode │ │ └── phpqrcode.php │ ├── qrcode.php │ ├── refund.php │ └── refundquery.php │ ├── image │ ├── bk.png │ ├── image001.jpg │ └── image002.png │ ├── index.php │ └── lib │ ├── .DS_Store │ ├── WxPay.Api.php │ ├── WxPay.Config.php │ ├── WxPay.Data.php │ ├── WxPay.Exception.php │ └── WxPay.Notify.php ├── runtime ├── log │ └── 201709 │ │ ├── 07.log │ │ ├── 07_error.log │ │ └── 07_sql.log └── temp │ ├── 00ed441b0ff932f72ddeddf5029f9048.php │ ├── 21aaf7c1b92c994c81606827fc0f676d.php │ ├── 3eff354a8100ab9264bff24690f44f2c.php │ ├── 485c292917498f930155c029d75f28fa.php │ ├── 50386a63f26ecd5d0b88b2316bbc34b5.php │ ├── 7de4212ffa2471522ddd179a03284313.php │ ├── 860395fe50b03a0f309c35aee86ad588.php │ └── c42b8311aad8f3ab37b34fd99ee76297.php ├── think ├── thinkphp ├── .gitignore ├── .htaccess ├── .travis.yml ├── CONTRIBUTING.md ├── LICENSE.txt ├── README.md ├── base.php ├── codecov.yml ├── composer.json ├── console.php ├── convention.php ├── helper.php ├── lang │ └── zh-cn.php ├── library │ ├── think │ │ ├── App.php │ │ ├── Build.php │ │ ├── Cache.php │ │ ├── Collection.php │ │ ├── Config.php │ │ ├── Console.php │ │ ├── Controller.php │ │ ├── Cookie.php │ │ ├── Db.php │ │ ├── Debug.php │ │ ├── Env.php │ │ ├── Error.php │ │ ├── Exception.php │ │ ├── File.php │ │ ├── Hook.php │ │ ├── Lang.php │ │ ├── Loader.php │ │ ├── Log.php │ │ ├── Model.php │ │ ├── Paginator.php │ │ ├── Process.php │ │ ├── Request.php │ │ ├── Response.php │ │ ├── Route.php │ │ ├── Session.php │ │ ├── Template.php │ │ ├── Url.php │ │ ├── Validate.php │ │ ├── View.php │ │ ├── cache │ │ │ ├── Driver.php │ │ │ └── driver │ │ │ │ ├── File.php │ │ │ │ ├── Lite.php │ │ │ │ ├── Memcache.php │ │ │ │ ├── Memcached.php │ │ │ │ ├── Redis.php │ │ │ │ ├── Sqlite.php │ │ │ │ ├── Wincache.php │ │ │ │ └── Xcache.php │ │ ├── config │ │ │ └── driver │ │ │ │ ├── Ini.php │ │ │ │ ├── Json.php │ │ │ │ └── Xml.php │ │ ├── console │ │ │ ├── Command.php │ │ │ ├── Input.php │ │ │ ├── LICENSE │ │ │ ├── Output.php │ │ │ ├── bin │ │ │ │ ├── README.md │ │ │ │ └── hiddeninput.exe │ │ │ ├── command │ │ │ │ ├── Build.php │ │ │ │ ├── Clear.php │ │ │ │ ├── Help.php │ │ │ │ ├── Lists.php │ │ │ │ ├── Make.php │ │ │ │ ├── make │ │ │ │ │ ├── Controller.php │ │ │ │ │ ├── Model.php │ │ │ │ │ └── stubs │ │ │ │ │ │ ├── controller.plain.stub │ │ │ │ │ │ ├── controller.stub │ │ │ │ │ │ └── model.stub │ │ │ │ └── optimize │ │ │ │ │ ├── Autoload.php │ │ │ │ │ ├── Config.php │ │ │ │ │ ├── Route.php │ │ │ │ │ └── Schema.php │ │ │ ├── input │ │ │ │ ├── Argument.php │ │ │ │ ├── Definition.php │ │ │ │ └── Option.php │ │ │ └── output │ │ │ │ ├── Ask.php │ │ │ │ ├── Descriptor.php │ │ │ │ ├── Formatter.php │ │ │ │ ├── Question.php │ │ │ │ ├── descriptor │ │ │ │ └── Console.php │ │ │ │ ├── driver │ │ │ │ ├── Buffer.php │ │ │ │ ├── Console.php │ │ │ │ └── Nothing.php │ │ │ │ ├── formatter │ │ │ │ ├── Stack.php │ │ │ │ └── Style.php │ │ │ │ └── question │ │ │ │ ├── Choice.php │ │ │ │ └── Confirmation.php │ │ ├── controller │ │ │ ├── Rest.php │ │ │ └── Yar.php │ │ ├── db │ │ │ ├── Builder.php │ │ │ ├── Connection.php │ │ │ ├── Query.php │ │ │ ├── builder │ │ │ │ ├── Mysql.php │ │ │ │ ├── Pgsql.php │ │ │ │ ├── Sqlite.php │ │ │ │ └── Sqlsrv.php │ │ │ ├── connector │ │ │ │ ├── Mysql.php │ │ │ │ ├── Pgsql.php │ │ │ │ ├── Sqlite.php │ │ │ │ ├── Sqlsrv.php │ │ │ │ └── pgsql.sql │ │ │ └── exception │ │ │ │ ├── BindParamException.php │ │ │ │ ├── DataNotFoundException.php │ │ │ │ └── ModelNotFoundException.php │ │ ├── debug │ │ │ ├── Console.php │ │ │ └── Html.php │ │ ├── exception │ │ │ ├── ClassNotFoundException.php │ │ │ ├── DbException.php │ │ │ ├── ErrorException.php │ │ │ ├── Handle.php │ │ │ ├── HttpException.php │ │ │ ├── HttpResponseException.php │ │ │ ├── PDOException.php │ │ │ ├── RouteNotFoundException.php │ │ │ ├── TemplateNotFoundException.php │ │ │ ├── ThrowableError.php │ │ │ └── ValidateException.php │ │ ├── log │ │ │ └── driver │ │ │ │ ├── File.php │ │ │ │ ├── Socket.php │ │ │ │ └── Test.php │ │ ├── model │ │ │ ├── Merge.php │ │ │ ├── Pivot.php │ │ │ └── Relation.php │ │ ├── paginator │ │ │ ├── Collection.php │ │ │ └── driver │ │ │ │ └── Bootstrap.php │ │ ├── process │ │ │ ├── Builder.php │ │ │ ├── Utils.php │ │ │ ├── exception │ │ │ │ ├── Faild.php │ │ │ │ └── Timeout.php │ │ │ └── pipes │ │ │ │ ├── Pipes.php │ │ │ │ ├── Unix.php │ │ │ │ └── Windows.php │ │ ├── response │ │ │ ├── Json.php │ │ │ ├── Jsonp.php │ │ │ ├── Redirect.php │ │ │ ├── View.php │ │ │ └── Xml.php │ │ ├── session │ │ │ └── driver │ │ │ │ ├── Memcache.php │ │ │ │ ├── Memcached.php │ │ │ │ └── Redis.php │ │ ├── template │ │ │ ├── TagLib.php │ │ │ ├── driver │ │ │ │ └── File.php │ │ │ └── taglib │ │ │ │ └── Cx.php │ │ └── view │ │ │ └── driver │ │ │ ├── Php.php │ │ │ └── Think.php │ └── traits │ │ ├── controller │ │ └── Jump.php │ │ ├── model │ │ └── SoftDelete.php │ │ └── think │ │ └── Instance.php ├── logo.png ├── phpunit.xml ├── start.php └── tpl │ ├── default_index.tpl │ ├── dispatch_jump.tpl │ ├── page_trace.tpl │ └── think_exception.tpl └── vendor └── .gitignore /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ljhhhhhh/imooc_o2o/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/tp5.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ljhhhhhh/imooc_o2o/HEAD/.idea/tp5.iml -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ljhhhhhh/imooc_o2o/HEAD/.idea/workspace.xml -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ljhhhhhh/imooc_o2o/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ljhhhhhh/imooc_o2o/HEAD/README.md -------------------------------------------------------------------------------- /application/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ljhhhhhh/imooc_o2o/HEAD/application/.DS_Store -------------------------------------------------------------------------------- /application/.htaccess: -------------------------------------------------------------------------------- 1 | deny from all -------------------------------------------------------------------------------- /application/admin/common.php: -------------------------------------------------------------------------------- 1 |