129 Commits

Author SHA1 Message Date
F4nniu
973285c462 php8 兼容 2023-06-26 16:03:36 +08:00
thinkphp
e5141a0759 修正软删除的destroy方法 2018-11-20 15:59:00 +08:00
thinkphp
92c961bb9e 改进软删除 支持设置deleteTime属性关闭 2018-01-15 16:09:14 +08:00
thinkphp
282d04e4af 更新说明 2018-01-01 20:19:18 +08:00
thinkphp
b69e64a521 关联自动删除增加一对多关联删除支持 2017-11-24 15:26:09 +08:00
Lin07ux
35e763c8ff 格式化 start、base、traits 和 App、Config、Error、Loader 代码的样式。其他代码的样式待处理。 2017-11-06 12:40:40 +08:00
thinkphp
75c305b068 修正softdelete 2017-10-11 16:34:35 +08:00
Gaozhen Ying
616f7b73ba 新增SoftDelete单元测试 2017-09-28 11:41:18 +08:00
Gaozhen Ying
60d6be4627 新增Jump相关测试用例 2017-09-08 18:05:39 +08:00
thinkphp
26482e4ed0 改进 2017-09-05 10:28:21 +08:00
thinkphp
bb3fb74bb7 改进软删除的关联删除 2017-09-05 10:27:28 +08:00
thinkphp
37527368b4 改进 2017-07-07 11:35:47 +08:00
thinkphp
79b5d43023 改进数据更新检查 2017-04-13 16:21:45 +08:00
thinkphp
3daaf9886a 改进模型对象直接缓存的问题 2017-04-13 11:44:42 +08:00
thinkphp
f1366f7833 修正软删除 2017-04-07 17:47:10 +08:00
thinkphp
6e72edd354 软删除 2017-03-13 22:46:11 +08:00
thinkphp
a7cdc2b126 改进软删除操作 2017-03-13 16:47:50 +08:00
thinkphp
2c0ee2f616 改进软删除 2017-02-09 19:12:45 +08:00
thinkphp
002cd48d54 改进软删除的兼容性 2017-02-06 14:07:12 +08:00
thinkphp
3f0fa05a7c redirect助手函数和controller类的redirect方法增加with参数 2017-02-02 14:26:06 +08:00
thinkphp
44654c76ef 修正软数据的delete(true)用法 2017-01-22 20:46:34 +08:00
thinkphp
d6b9e2f628 2017更新 2017-01-01 13:00:23 +08:00
thinkphp
43b364e286 规范代码 2016-12-24 21:37:05 +08:00
thinkphp
56c036635c 注释改进 2016-12-13 18:05:41 +08:00
thinkphp
538f675cca 改进软删除destroy和restore方法 2016-12-13 17:58:47 +08:00
lyaohe
39ea6f812c error方法在ajax请求默认返回url为空 2016-12-02 15:11:34 +08:00
lyaohe
82888cfe53 error方法在ajax请求,默认返回url为空 2016-12-02 11:53:09 +08:00
thinkphp
3ea09822e0 改进软删除 2016-11-11 11:37:15 +08:00
thinkphp
6f51dd0e47 修正软删除的withTrashed方法 Query类增加removeWhereField方法 2016-11-10 11:36:32 +08:00
thinkphp
ec59e7f8af 修正软删除onlyTrashed方法 2016-11-09 14:57:05 +08:00
thinkphp
535e17b1a0 修正软删除withTrashed方法 2016-10-25 20:42:21 +08:00
thinkphp
76b7f02ea4 改进join方法和alias方法的解析 改进软删除的base方法 2016-10-06 19:48:11 +08:00
thinkphp
9d99b7d55c 修正注释 2016-09-30 21:34:06 +08:00
thinkphp
4695dd45d4 修正软删除方法 改进模板session和cookie变量获取 2016-09-30 21:32:23 +08:00
thinkphp
a0b1a75d92 Model类的useGlobalScope 属性改为动态属性 全局查询范围方法base改为动态方法 软删除属性 deleteTime属性改为动态属性,并且没有定义的话默认为delete_time 取消tableAlias属性定义 直接可以在deleteTime属性里面定义别名.字段名 2016-09-30 18:14:57 +08:00
thinkphp
c51416c7d4 改进 2016-09-30 14:39:31 +08:00
thinkphp
4a2eb296b2 改进软删除的base方法 增加tableAlias静态属性定义当前模型的表别名 2016-09-30 14:37:13 +08:00
thinkphp
54224aff6b 软删除的查询加上表名 2016-09-28 18:41:40 +08:00
thinkphp
9485a735e6 改进重定向的地址生成 2016-09-26 11:33:47 +08:00
thinkphp
ff20cccff1 改进Controller类的success和error方法的跳转地址识别 支持更多Scheme 2016-09-22 14:05:46 +08:00
thinkphp
3e79ff0c28 软删除restore方法支持传入条件 2016-09-13 22:02:26 +08:00
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
b76e9a4190 改进controller类的success error result 方法增加header参数 2016-08-10 12:11:12 +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