liugang
|
ca997cd1c4
|
* [refac] add namespace and connector.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
16980124c0
|
* [refac] add namespace of cache.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
9394c4e969
|
- [refac] remove unused file.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
f3c6734ae6
|
* [refac] set serializer of php redis.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
37b1e21cb3
|
* [refac] don't call property of none object.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
4c47a182e6
|
- [refac] remove unused file.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
c8bd87698c
|
* [refac] replace dao with mao.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
b6cdac814b
|
* [refac] if the cache object is empty or the cache result is empty fetch data from database.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
61c1ad11ba
|
* [refac] rename redis to cache.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
6ca5416baa
|
* [refac] remove unused variable.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
e4ed70a0ba
|
* [refac] if the primary key field is in the condition, try to get from the cache by the primary key field.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
1a499c6901
|
* [refac] fetch data from database if the table isn't set in the cache configuration.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
06f71d7376
|
* [refac] fetch data of specified id list from cache.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
1bea086a9b
|
* [refac] fix error the findBy method cann't get matched record.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
551a93b1c2
|
+ [refac] convert the method findByXXX to where condition.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
a3910b7afd
|
+ [refac] add method to get the data of the specified table and id from the cache.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
2bf184edff
|
* [refac] add method to get cache key.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
732e342ca6
|
+ [refac] initialize the cache of the specified table.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
2d596a6e19
|
* [refac] revert code of calling mao to access cache.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
8d3314f9ae
|
* [refac] calling cache object to access cache.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
125e75249f
|
* [refac] add method to connect redis server.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
bc1e918af3
|
+ [refac] add method to load cache.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
9ac773bade
|
+ [refac] add cache class to manage cache.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
9867af1c20
|
* [refac] modify the order in which files are loaded.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
e0a7e784b1
|
* [refac] refactor configuration items of cache.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
9b2c70dcc9
|
* [refac] trigger error if the key or label is wrong.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
4ccb6bf1b7
|
+ [refac] create cache key based on the configuration.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
34575a5f90
|
* [refac] refactor configuration of result caches.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
8254d103e1
|
+ [refac] return empty array if the key list is empty.
|
2024-11-20 15:42:49 +08:00 |
|
朱金勇
|
95ec5bc55f
|
* [perf] Fix condition of mao.
|
2024-11-20 15:42:49 +08:00 |
|
朱金勇
|
10ceb0081b
|
* [perf] Fix type of fields in mao.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
9e8eef5ff7
|
+ [refac] create key by arguments.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
6f643638ea
|
+ [refac] add $mao object to baseControl.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
544879c8f1
|
* [refac] rename set to save.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
805702b0d1
|
* [refac] resort the order of parameters.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
dcf0eb4eff
|
+ [refac] add a method to set value of current key.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
8bd0879e88
|
* [refac] resort methods.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
b97a8abe3b
|
* [refac] add example to get cache by mao object.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
ad31506b83
|
* [refac] refactor the method to get cache from redis.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
6d98a6c719
|
+ [refac] add configuration items of redis cache.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
8671b4d179
|
* [refac] raname config->redis->caches to config->redis->cache->raw.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
8bc5c90c86
|
* [refac] fix error of return type.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
1e620c2c79
|
* [perf] fix error of return type.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
26d504325e
|
+ [refac] add method to set cache.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
af6067100e
|
+ [refac] add method to set cache in redis.
|
2024-11-20 15:42:49 +08:00 |
|
朱金勇
|
88d267c50e
|
+ [feat] Add getByKey of mao.
|
2024-11-20 15:42:49 +08:00 |
|
朱金勇
|
e530add989
|
* [perf] rename cache to mao
|
2024-11-20 15:42:49 +08:00 |
|
朱金勇
|
1b01378120
|
* [perf] Fix error.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
28200cb337
|
* [refac] fix error.
|
2024-11-20 15:42:49 +08:00 |
|
liugang
|
1c79e4315e
|
- [refac] remove unused code and file.
|
2024-11-20 15:42:49 +08:00 |
|