feat(os/gsession): add session reset function.
session模块:增加了session重置方法。 使用 场景: 重新登录后使原来的sessionId过期,新生成一个sessionId
session模块:增加了session重置方法。
多语言翻译中TranslateFormat方法增加了动态参数与位置无关的处理(部分翻译在不同语言动态参数位置会变化)。
如果包含两个功能的修改,可以拆分为两个pr提交,这样不会相互影响,也能提高代码审批的效率。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Session module: Added session reset method.
The TranslateFormat method in multi-language translation adds position-independent processing of dynamic parameters (some translations will change the position of dynamic parameters in different languages).
If it contains modifications to two functions, it can be split into two PR submissions, so that they will not affect each other and improve the efficiency of code approval.
Quality Gate passed
Issues
3 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
session模块:增加了session重置方法。 多语言翻译中TranslateFormat方法增加了动态参数与位置无关的处理(部分翻译在不同语言动态参数位置会变化)。
如果包含两个功能的修改,可以拆分为两个pr提交,这样不会相互影响,也能提高代码审批的效率。 好的,下次尽量单一功能提交
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Session module: Added session reset method. The TranslateFormat method in multi-language translation adds position-independent processing of dynamic parameters (some translations will change the position of dynamic parameters in different languages).
If it contains modifications to two functions, it can be split into two PR submissions, so that they will not affect each other and improve the efficiency of code approval. Okay, try to submit a single function next time
@lxy1151 Any updates?
@lxy1151 Any updates?
I have processed it, please recheck!
@lxy1151 你好,我添加了RegenerateId/MustRegenerateId方法,欢迎一起进行 code review https://github.com/gogf/gf/pull/4012
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
@lxy1151 Hello, I added the RegenerateId/MustRegenerateId method, welcome to code review https://github.com/gogf/gf/pull/4012