@@ -31,6 +31,86 @@ $ docker run -it --link mysql-db:mysql --network client101vbbs_default -v `pwd`
3131- mysql-db
3232- redis
3333
34+ ## 项目依赖
35+ - 加法验证码直接改的TP的 https://github.com/zhaojunlike/tp5-add-captcha.git
36+ - 助手类 https://github.com/zhaojunlike/php-helper-class
37+
38+ ####Bower
39+ ``` json
40+ {
41+ "name" : " 101-bbs-front" ,
42+ "version" : " 1.0.0" ,
43+ "keywords" : [
44+ " 101v BBs"
45+ ],
46+ "main" : " app.js" ,
47+ "dependencies" : {
48+ "jquery" : " ^3.2.1" ,
49+ "vue" : " ^2.3.4" ,
50+ "bootstrap" : " ^3.3.7" ,
51+ "requirejs" : " ^2.3.3" ,
52+ "require-css" : " ^0.1.10" ,
53+ "axios" : " ^0.16.2" ,
54+ "layer" : " ^3.0.3" ,
55+ "wangEditor" : " ^3.0.3" ,
56+ "animate.css" : " ^3.5.2"
57+ }
58+ }
59+ ```
60+
61+ ####Composer
62+ ``` json
63+ {
64+ "name" : " oeynet/simple-bbs" ,
65+ "description" : " new simple bbs" ,
66+ "type" : " project" ,
67+ "keywords" : [
68+ " bbs" ,
69+ " forum" ,
70+ " project"
71+ ],
72+ "homepage" : " http://bbs.oeynet.com/" ,
73+ "license" : " Apache-2.0" ,
74+ "authors" : [
75+ {
76+ "name" : " zhaojunlike" ,
77+ "email" : " zhaojunlike@gmail.com"
78+ }
79+ ],
80+ "require" : {
81+ "php" : " >=5.4.0" ,
82+ "topthink/framework" : " ^5.0.6" ,
83+ "topthink/think-captcha" : " ^1.0" ,
84+ "topthink/think-testing" : " ^1.0" ,
85+ "bluem/tree" : " ^1.5" ,
86+ "oeynet/helper" : " ^0.1" ,
87+ "oeynet/add-captcha" : " ^0.2.0" ,
88+ "voku/anti-xss" : " ^2.1"
89+ },
90+ "autoload" : {
91+ "psr-4" : {
92+ "tests\\ " : " tests"
93+ },
94+ "files" : [
95+ ]
96+ },
97+ "extra" : {
98+ "think-path" : " thinkphp"
99+ },
100+ "config" : {
101+ "preferred-install" : " dist"
102+ },
103+ "repositories" : {
104+ "packagist" : {
105+ "type" : " composer" ,
106+ "url" : " https://packagist.phpcomposer.com"
107+ }
108+ }
109+ }
110+
111+ ```
112+
113+
34114## Tp5踩过的坑
35115- 1.模型关联
36116- 2.模型验证,控制器验证
0 commit comments