Explorar o código

上传文件至 ''

PHP工程师小布 %!s(int64=6) %!d(string=hai) anos
pai
achega
3890c38f4c
Modificáronse 5 ficheiros con 247 adicións e 0 borrados
  1. 32 0
      LICENSE.txt
  2. 196 0
      SESSION存放内容.txt
  3. 9 0
      index.php
  4. BIN=BIN
      logo.png
  5. 10 0
      svn规范(必看).txt

+ 32 - 0
LICENSE.txt

@@ -0,0 +1,32 @@
+
+ThinkPHP遵循Apache2开源协议发布,并提供免费使用。
+版权所有Copyright © 2006-2014 by ThinkPHP (http://thinkphp.cn)
+All rights reserved。
+ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。
+
+Apache Licence是著名的非盈利开源组织Apache采用的协议。
+该协议和BSD类似,鼓励代码共享和尊重原作者的著作权,
+允许代码修改,再作为开源或商业软件发布。需要满足
+的条件: 
+1. 需要给代码的用户一份Apache Licence ;
+2. 如果你修改了代码,需要在被修改的文件中说明;
+3. 在延伸的代码中(修改和有源代码衍生的代码中)需要
+带有原来代码中的协议,商标,专利声明和其他原来作者规
+定需要包含的说明;
+4. 如果再发布的产品中包含一个Notice文件,则在Notice文
+件中需要带有本协议内容。你可以在Notice中增加自己的
+许可,但不可以表现为对Apache Licence构成更改。 
+具体的协议参考:http://www.apache.org/licenses/LICENSE-2.0
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.

+ 196 - 0
SESSION存放内容.txt

@@ -0,0 +1,196 @@
+HOME-SESSION:
+[user]->[uid]
+[cart]->[gid]
+[history]->[gid]
+
+//当前登录用户的个人信息资料:
+$_SESSION['userConfig']{
+
+}
+
+...........................................................................
+127期刘超 17:23:49
+Array
+(
+    [d2d977c58444271d9c780187e93f80e5] => Array
+        (
+            [verify_code] => 723972bfca981cbd56b46a1de8e66b56
+            [verify_time] => 1456363004
+        )
+........................................................................
+//当前用户SESSION:
+    [userConfig] => Array
+        (
+            [id] => 30
+            [name] => liming
+            [nickname] => 肥仔
+            [email] => dsfs@qq.cm
+            [status] => 1
+            [logintime] => 1456131551
+            [score] => 50
+            [photo] => default.png
+            [phone] => 15652032552
+            [sex] => m
+            [age] => 27
+        )
+
+    [home_login] => 2
+...............................................................................
+//购物车订单SESSION:
+    [cart] => Array
+        (
+            [30] => Array
+                (
+                    [31] => Array
+                        (
+                            [id] => 31
+                            [goodsname] => 大龙一号皮鞋子
+                            [info] => gfdfdssfds
+                            [oldprice] => 888
+                            [price] => 999
+                            [pid] => 12
+                            [tid] => 16
+                            [pic] => tu_56cd182f492ba.png
+                            [status] => 1
+                            [store] => 555
+                            [clicks] => 0
+                            [selled] => 0
+                            [add_time] => 1456281647
+                            [sex] => w
+                            [color] => 玫瑰红,青春粉,力量蓝,土豪金,橄榄绿,纯白
+                            [size] => 36,37,38,39,40,41,42,43,44,45,46,47
+                            [num] => 1
+                        )
+
+                    [30] => Array
+                        (
+                            [id] => 30
+                            [goodsname] => 耐克运动鞋啊11
+                            [info] => 描述xxoo
+                            [oldprice] => 444
+                            [price] => 333
+                            [pid] => 12
+                            [tid] => 16
+                            [pic] => tu_56cd13ab76066.png
+                            [status] => 1
+                            [store] => 777
+                            [clicks] => 0
+                            [selled] => 0
+                            [add_time] => 1456280491
+                            [sex] => m
+                            [color] => 玫瑰红,青春粉,力量蓝,橄榄绿,纯白,纯白
+                            [size] => 36,37,39,41,45
+                            [num] => 1
+                        )
+
+                    [17] => Array
+                        (
+                            [id] => 17
+                            [goodsname] => 乔丹大头皮鞋真皮子
+                            [info] => 大头皮鞋想爷爷
+                            [oldprice] => 555
+                            [price] => 666
+                            [pid] => 12
+                            [tid] => 13
+                            [pic] => default.jpg
+                            [status] => 1
+                            [store] => 55555
+                            [clicks] => 0
+                            [selled] => 0
+                            [add_time] => 1455940068
+                            [sex] => a
+                            [color] => 青春粉,力量蓝,土豪金,橄榄绿,纯白
+                            [size] => 36,37,38,39,40,41,42,43,44,45,46,47
+                            [num] => 1
+                        )
+
+                    [4] => Array
+                        (
+                            [id] => 4
+                            [goodsname] => 乔丹商务鞋,1号
+                            [info] => 冬季加厚款,当下流行
+                            [oldprice] => 866
+                            [price] => 455
+                            [pid] => 12
+                            [tid] => 13
+                            [pic] => default.jpg
+                            [status] => 1
+                            [store] => 1220
+                            [clicks] => 2000
+                            [selled] => 500
+                            [add_time] => 1454245555
+                            [sex] => a
+                            [color] => 青春粉,力量蓝,土豪金,橄榄绿,纯白
+                            [size] => 36,37,38,39,40,41,42,43,44,45,46,47
+                            [num] => 1
+                        )
+
+                    [8] => Array
+                        (
+                            [id] => 8
+                            [goodsname] => 贵人鸟商务鞋1号
+                            [info] => 春季办公商务新款上市
+                            [oldprice] => 499
+                            [price] => 400
+                            [pid] => 12
+                            [tid] => 14
+                            [pic] => default.jpg
+                            [status] => 1
+                            [store] => 700
+                            [clicks] => 1600
+                            [selled] => 362
+                            [add_time] => 1456120351
+                            [sex] => w
+                            [color] => 玫瑰红,青春粉,力量蓝,土豪金,橄榄绿,纯白
+                            [size] => 36,37,38,39,40,41,42,43,44,45,46,47
+                            [num] => 1
+                        )
+
+                    [10] => Array
+                        (
+                            [id] => 10
+                            [goodsname] => 乔丹商务鞋,2号
+                            [info] => 运动鞋妙护
+                            [oldprice] => 999
+                            [price] => 666
+                            [pid] => 12
+                            [tid] => 13
+                            [pic] => default.jpg
+                            [status] => 1
+                            [store] => 888
+                            [clicks] => 666
+                            [selled] => 66
+                            [add_time] => 1454247899
+                            [sex] => a
+                            [color] => 玫瑰红,青春粉,力量蓝,土豪金,橄榄绿,纯白
+                            [size] => 36,37,38,39,40,41,42,43,44,45,46,47
+                            [num] => 1
+                        )
+
+                    [13] => Array
+                        (
+                            [id] => 13
+                            [goodsname] => 乔丹运动2鞋,4号
+                            [info] => 健身休闲2016新款
+                            [oldprice] => 666
+                            [price] => 599
+                            [pid] => 7
+                            [tid] => 9
+                            [pic] => default.jpg
+                            [status] => 1
+                            [store] => 666
+                            [clicks] => 233
+                            [selled] => 668
+                            [add_time] => 1456109422
+                            [sex] => a
+                            [color] => 玫瑰红,青春粉,力量蓝,土豪金,橄榄绿,纯白
+                            [size] => 36,37,39,41,45
+                            [num] => 1
+                        )
+
+                    [12] => Array
+                        (
+                            [id] => 12
+                            [goodsname] => 乔丹运动2鞋,3号
+                            [info] => 爬山健身首选
+                      

+ 9 - 0
index.php

@@ -0,0 +1,9 @@
+<?php
+	header("Content-type:text/html;charset=utf-8");
+	//调试
+	define("APP_DEBUG",true);
+	//创建一个应用目录
+	define("APP_PATH","./Tuteng/");
+	//导入ThinkPHP的入口文件
+	require("./ThinkPHP/ThinkPHP.php"); 
+?>

BIN=BIN
logo.png


+ 10 - 0
svn规范(必看).txt

@@ -0,0 +1,10 @@
+1.提交代码前:
+  (1).先测试通过!
+  (2).先更新SVN在提交svn代码!
+  (3).提交完后再次更新svn;并通知其它组员!
+  (4).提交svn一定填写:时间 姓名 注释!三项!!
+
+2.多人最好不要同时修改同一个文件:以防 误删除!!
+
+3.删除控制器时,需要告知其它组员!!勿要轻易删除
+....................................................