sdotb / mood
v1.0.1
2020-01-30 02:34 UTC
Requires
- sdotb/tad-core: ^0.5
- sdotb/utils: ^1.0
This package is auto-updated.
Last update: 2024-09-29 05:42:30 UTC
README
mood API 实现
可能的实现
- 统一 alive 和 extend,如果传递参数给 alive,则也扩展设置的时间长度
- 或者解析 extend 执行的 UPDATE 响应,无需验证会话是否存在,因为如果不存在,db 中 UPDATE 0 行
mold
待办事项
- 找到一个通用的模式,将现在在 entrypoint 方法(create、delete 等)中的内容移除
- 这样在扩展类中只需定义 "Unit" 动作(允许使用不带 unit 的名称调用它)
- 这可能是最优配置,无需彻底改变... 待评估
根据 ActionSkeleton.php 文件中的模式定义所有非 "unit" 方法,根据模式在 ActionSkeleton.php 文件中定义所有 "unit" 方法
baseFieldMap Model of $this->tblIdentifier
['myFieldIdentifier'=>['foreignFieldIdentifier',['fieldType',['fieldPropertyKey'=>fieldPropertyValue]],['option']]]