Commit Graph

3338 Commits

Author SHA1 Message Date
thinkphp
5037c64f53 改进关联模型 2016-12-05 11:55:04 +08:00
thinkphp
1d2b44adc8 修正Query的select方法的关联预载入 2016-12-05 10:55:50 +08:00
thinkphp
d11e4aea10 关联模型架构调整 2016-12-05 08:42:08 +08:00
thinkphp
670b7d13a8 修正 2016-12-02 22:24:28 +08:00
thinkphp
65f13177c2 改进模板引擎类parseTemplateFile方法 2016-12-02 22:14:57 +08:00
thinkphp
2061588c49 改进Validate类的field属性设置 2016-12-02 19:12:49 +08:00
thinkphp
4a80099a51 部署模式下简化日志记录 2016-12-01 18:32:28 +08:00
thinkphp
b62175c34d 多态关联支持预载入查询 2016-12-01 17:19:43 +08:00
thinkphp
7ef95130c1 修正关联一处问题 2016-12-01 12:15:17 +08:00
thinkphp
1afdde40e3 改进多态关联的morphTo方法 如果不传入参数默认用当前定义的方法名作为字段前缀 2016-12-01 11:48:01 +08:00
thinkphp
77d2731892 修正关联多对多一处错误 2016-12-01 11:28:49 +08:00
thinkphp
a02c7321bb 改进关联多对多的查询 增加getModel方法 2016-12-01 10:50:56 +08:00
thinkphp
099c977b0a morphTo支持多态类型字段别名定义 2016-11-30 22:52:42 +08:00
thinkphp
7983db9587 多态一对多关联方法参数调整 2016-11-30 22:37:38 +08:00
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