Releases: gudaoxuri/ez-framework
4.0-Beta1
3.2.0
Function
- Allow change login id by edit account. WARNING : password salt role is change , old password must be resetting.
- Transaction optimize
- Add login with role flags
- Add body parse error prompt
- Change publish to send by ezEvent_organizationInit
Fix
- Fix email attachment messy code
- Fix only send one attachment error
- Fix interceptor empty error
- Fix unique check error in jdbc update .
3.1.1
Function
-
Add vertx redis client and replace simple option.
原先使用redison在并发时有bug
-
Add remote service
// 定义一个接口
trait RemoteInter {
def test(s: String): String
}
// 在worker中实现这个接口
object RemoteImpl extends RemoteInter {
override def test(s: String): String = {
println(">>" + s)
s + s
}
}
// 在worker中注册接口与实现
DRemoteService().register(classOf[RemoteInter], RemoteImpl)
// 在master中调用
DRemoteService().get(classOf[RemoteInter]).test("ssss") -
Add trace by time in trace log
-
Add require check by rpc request body
// 在VO中加上@require注解
class CustomerInfoVO {
@Label("姓名")
@require
@BeanProperty var name: String = _
...
}
// 在API中使用这个VO
@post("info/")
def submitBasicInfo(parameter: Map[String, String], body: CustomerInfoVO, context: EZAuthContext): Resp[Void] = {
... }
// 在 name 为 null 时返回错误提示 -
Add debug model support
-
Support send message without start&end date
Fix
- Fix Redis startup error
- Fix only send one attachment error
- Fix interceptor empty error
3.0.0
3.0.0-beta3
- Add timezone setting
- Add last login time
- Upgrade parent pom
- Case insensitive last "/" in URL
- Add organization category by login response
- Add special filename by download
- Fix download filename encode by firefox
3.0.0-beta2
Add JsonObject & JsonArray convert.
Add category by Organization.
Add page enabled by simple RPC
Fix chinese file name messy code in file download
Fix Mongo update bug
3.0.0-beta1
Add page enabled by simple RPC