Commit Graph

100 Commits

Author SHA1 Message Date
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
thinkphp
fb66950ded 增加onlyTrashed方法 2016-08-06 11:53:07 +08:00
thinkphp
9441d10d67 软删除功能作为trait扩展引入 2016-08-06 11:47:15 +08:00
thinkphp
646ce83ece 控制器类的success和error方法url参数支持传入空字符串,则不做任何处理 2016-07-24 22:06:48 +08:00
thinkphp
bab4398552 控制器的error success result redirect方法均不需要使用return 2016-07-24 20:56:21 +08:00
thinkphp
368beca46c 改进Jump跳转地址支持Url::build 解析 2016-07-04 22:35:05 +08:00
thinkphp
0e7518acec 修正Jump的result方法 2016-06-17 16:20:45 +08:00
thinkphp
9d56033b6d 去除Response类的result方法 改进Jump里面的result方法 2016-06-17 16:19:09 +08:00
thinkphp
50d1798e92 改进Handle类支持异常的多语言 Lang类增加has方法 增加核心中文语言包 2016-06-16 16:07:44 +08:00
thinkphp
b5fa195ad6 修正Controller类 2016-06-12 11:21:38 +08:00
thinkphp
8099a001e2 改进Response类的send方法 去除 REQUEST_METHOD IS_GET IS_POST IS_PUT IS_DELETE IS_AJAX __EXT__ 常量 由应用自己定义 2016-06-02 12:13:00 +08:00
trojanbox
6858abef7c 修改部分类注释 2016-05-30 18:14:18 +08:00
thinkphp
00cab34945 改进controller类的redirect方法和助手函数redirect 2016-05-29 11:11:11 +08:00
thinkphp
15df0ebf34 注释修正 2016-05-23 14:33:28 +08:00
thinkphp
92d999b484 response类增加create方法 改进think\response\redirect类 改进助手函数和traits\controller\Jump 2016-05-17 11:17:24 +08:00
thinkphp
d1f9ab38e2 修正traits\controller\Jump 2016-05-17 10:06:30 +08:00
thinkphp
c7c94258d0 改进Response类 增加think\response\View类 用于渲染模板响应输出 2016-05-16 18:10:46 +08:00
thinkphp
a4a14b3bf1 修正Query类 改进Response类 改进异常输出 2016-05-16 16:39:17 +08:00
thinkphp
30a6bd7e8a 改进Response类 改进view助手函数 增加 think\response\Html 类 2016-05-16 15:16:47 +08:00
thinkphp
199825ec32 改进Response类 支持扩展不同的输出类型 改进Model类 不同的模型采用不同的查询对象实例 修正Request类一处错误 助手函数view改进 直接返回Response类对象实例 2016-05-16 14:18:47 +08:00
thinkphp
67cebd8ca1 修正traits\controller/Jump.php 2016-05-12 09:45:07 +08:00
thinkphp
49c899acc5 调整 error和success方法的参数顺序 和原来保持一致 2016-05-12 08:15:05 +08:00
thinkphp
7f385217b9 改进response类 2016-05-11 14:04:56 +08:00
thinkphp
8e1cd9c51f 改进Response类 改进traits\controller\Jump 添加response助手函数 2016-05-11 07:51:41 +08:00
thinkphp
0b104d2b49 改进一处 错误 2016-04-27 16:49:36 +08:00
thinkphp
8bb8f0919b 改进Lang类 去除无用的 traits\model 2016-04-26 19:12:14 +08:00
oldrind
e462a05a00 视图模型增加对where组合条件的字段转换 2016-03-30 10:37:05 +08:00
oldrind
70ffc62bf9 修正视图模型中所引用的表找不到模型的问题,字段带有()时别名丢失的问题 2016-03-26 10:17:26 +08:00
oldrind
65ca52d049 修正Model类order方法一处bug,优化改进视图模型 2016-03-21 15:50:01 +08:00
thinkphp
75c6fb7670 修正traits\model\Auto 2016-03-10 21:42:59 +08:00