Commit Graph

2632 Commits

Author SHA1 Message Date
thinkphp
7f527c256e 关联模型支持多态一对多关联 2016-11-30 19:52:58 +08:00
thinkphp
61462a628e 改进多对多查询 2016-11-30 17:11:38 +08:00
thinkphp
6f58a26097 Merge branch 'master' of https://github.com/top-think/framework 2016-11-30 15:33:48 +08:00
thinkphp
211b28706f 增加debug日志类型 仅限调试模式记录 2016-11-30 15:33:14 +08:00
thinkphp
2d4b1dda9c 请求缓存支持模块单独开启 2016-11-29 22:08:12 +08:00
ThinkPHP
fd34d98866 Merge pull request #375 from supermp/master
让Request支持json方式的POST
2016-11-29 16:04:26 +08:00
thinkphp
8b80794b39 Validate类架构方法增加field参数 用于设置验证字段的描述 2016-11-29 16:00:23 +08:00
thinkphp
aed8be7150 改进Model的一处数据比较 2016-11-29 15:53:33 +08:00
thinkphp
da3f737ccc 改进App类invokeMethod方法 2016-11-29 15:15:43 +08:00
quzhe
0962b21232 让Request支持json方式的POST
目前RESTful API用json方式提交的很多
目前PUT/PATCH/DELETE方法均可以支持json,但POST方法不能,这不对等
其实更好的方法是判断header里content-type是否为application/json,但因为目前header属性采用的是懒加载,所以暂时沿用目前的字符串判断
2016-11-29 11:40:02 +08:00
thinkphp
fedfd9c857 修正 2016-11-28 23:24:48 +08:00
thinkphp
7a79071d1a 查询支持一个字段多次查询条件 2016-11-28 22:44:59 +08:00
云无心
bd6700acde 修正 2016-11-28 16:51:53 +08:00
云无心
4aee4e3784 增加Redirect restore、restore返回值 2016-11-28 16:50:34 +08:00
thinkphp
6e4898190a 修正 2016-11-28 16:35:24 +08:00
thinkphp
357f1706e5 路由到类和控制器的方法 传入的额外参数会和当前请求变量合并传入方法 2016-11-28 16:26:29 +08:00
thinkphp
5f7c75a2f5 路由到类的方法和控制器方法 支持传入额外参数,用于方法的参数 2016-11-28 16:12:04 +08:00
thinkphp
1999bf947a 改进控制器自动搜索的目录规范 2016-11-27 11:28:11 +08:00
thinkphp
0ae0301ebb Merge branch 'master' of https://github.com/top-think/framework 2016-11-26 23:15:45 +08:00
thinkphp
2f892770c2 改进sql日志的sql语句 2016-11-26 23:14:34 +08:00
ThinkPHP
1d2649ce50 Merge pull request #372 from birdy0815/patch-2
增加 判断是否存在某个场景的验证配置
2016-11-25 22:45:03 +08:00
thinkphp
3ff97b4b1e View类增加share静态方法 用于静态赋值模板变量 2016-11-25 20:33:35 +08:00
birdy0815
c6dcc7a768 增加 判断是否存在某个场景的验证配置
在做验证通用操作功能封装的时候,可以根据需要,是否启用场景验证
2016-11-25 19:05:21 +08:00
云无心
0665ffcc46 Update Redis.php 2016-11-25 11:49:36 +08:00
thinkphp
e1ed00dce0 修正redis session驱动destroy方法返回值 2016-11-24 17:52:30 +08:00
thinkphp
9db261e601 改进请求缓存 2016-11-24 15:57:43 +08:00
thinkphp
f756bb804e 改进 2016-11-22 17:24:44 +08:00
thinkphp
ee5ef96aac 修正 2016-11-22 17:22:45 +08:00
thinkphp
1839123bcd 模型的all和select方法支持获取器 2016-11-22 17:18:59 +08:00
thinkphp
ada54290b7 改进自动参数绑定 2016-11-22 16:09:14 +08:00
thinkphp
bba063a3c9 改进模板引擎驱动 2016-11-22 15:58:38 +08:00
thinkphp
8ee455f96f 模型类的connection属性和数据库默认配置合并 2016-11-22 15:54:29 +08:00
thinkphp
72cdb44de8 改进in和between查询条件的自动参数绑定 2016-11-22 14:32:22 +08:00
thinkphp
384ce564f9 改进Query类对数据集对象以及关联字段排序的支持 2016-11-22 11:08:45 +08:00
thinkphp
a10cc77e40 数组语法调整 2016-11-21 15:33:55 +08:00
thinkphp
a3a76b9bcf 修正错误 2016-11-21 12:14:36 +08:00
thinkphp
a4669f04bf Merge branch 'master' of https://github.com/top-think/framework 2016-11-20 13:12:58 +08:00
thinkphp
0a9694123f 空操作方法的参数传入去掉操作方法后缀 2016-11-20 13:12:01 +08:00
thinkphp
c469b9fb4d 增加模型的快捷事件方法 2016-11-18 14:29:23 +08:00
thinkphp
78dffc5b4e 修正路由的请求缓存设置 2016-11-18 12:30:19 +08:00
thinkphp
397d09925c Merge branch 'master' of https://github.com/top-think/framework 2016-11-17 22:25:38 +08:00
thinkphp
45f260d11a 改进Query类的getTableInfo方法缓存读取 2016-11-17 22:24:45 +08:00
最初的梦想
665b2c3ab9 在控制器中调用request和view增加类型提示
在控制器中调用request和view属性增加类型提示
2016-11-16 10:10:15 +08:00
thinkphp
81a8da6878 改进Route类name方法 2016-11-15 23:01:11 +08:00
thinkphp
3d587c75c5 model类的saveall方法支持调用allowField方法进行字段过滤 2016-11-15 19:09:31 +08:00
thinkphp
e643514af8 修正关联查询的时候 whereTime方法的bug 2016-11-15 18:53:56 +08:00
thinkphp
de51ad6bb6 Merge branch 'master' of https://github.com/top-think/framework 2016-11-14 11:27:22 +08:00
thinkphp
b7ef4c6f33 Cache类增加pull和remember方法 2016-11-14 11:27:00 +08:00
thinkphp
72209e8035 改进Query类的聚合查询 2016-11-12 23:55:17 +08:00
thinkphp
310775471a table方法支持字符串方式的子查询 2016-11-12 11:11:18 +08:00