Commit Graph

10 Commits

Author SHA1 Message Date
thinkphp
acbd5b97fe 改进软删除的destory方法 2016-09-13 11:02:05 +08:00
thinkphp
6622c9698d 改进 2016-08-20 22:04:39 +08:00
thinkphp
2b4a15ed49 改进onlyTrashed方法 2016-08-20 21:27:07 +08:00
thinkphp
b627a645ca 修正softDelete 2016-08-20 21:24:33 +08:00
thinkphp
a30b5d7f01 软删除的删除字段默认值更改为null 兼容更多的时间字段类型 2016-08-20 14:05:19 +08:00
thinkphp
f99a0dd536 SoftDelete trait 增加trashed方法用于判断当前数据是否已经被软删除 2016-08-13 21:55:54 +08:00
thinkphp
de4d8253da softDelete trait增加destroy方法 并增加第二个参数 用于真实删除数据 2016-08-06 14:55:39 +08:00
thinkphp
10aae58d82 改进软删除trait Model类的base方法改为静态定义 全局多次调用有效 2016-08-06 14:49:28 +08:00
thinkphp
fb66950ded 增加onlyTrashed方法 2016-08-06 11:53:07 +08:00
thinkphp
9441d10d67 软删除功能作为trait扩展引入 2016-08-06 11:47:15 +08:00