gf icon indicating copy to clipboard operation
gf copied to clipboard

feat(os/gsession): add session reset function.

Open lxy1151 opened this issue 1 year ago • 7 comments

session模块:增加了session重置方法。 使用 场景: 重新登录后使原来的sessionId过期,新生成一个sessionId

lxy1151 avatar Aug 14 '24 10:08 lxy1151

session模块:增加了session重置方法。

多语言翻译中TranslateFormat方法增加了动态参数与位置无关的处理(部分翻译在不同语言动态参数位置会变化)。

如果包含两个功能的修改,可以拆分为两个pr提交,这样不会相互影响,也能提高代码审批的效率。

hailaz avatar Aug 15 '24 07:08 hailaz

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.

Issues-translate-bot avatar Aug 15 '24 07:08 Issues-translate-bot

session模块:增加了session重置方法。 多语言翻译中TranslateFormat方法增加了动态参数与位置无关的处理(部分翻译在不同语言动态参数位置会变化)。

如果包含两个功能的修改,可以拆分为两个pr提交,这样不会相互影响,也能提高代码审批的效率。 好的,下次尽量单一功能提交

lxy1151 avatar Aug 18 '24 02:08 lxy1151

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

Issues-translate-bot avatar Aug 18 '24 02:08 Issues-translate-bot

@lxy1151 Any updates?

gqcn avatar Sep 23 '24 08:09 gqcn

@lxy1151 Any updates?

I have processed it, please recheck!

lxy1151 avatar Sep 26 '24 06:09 lxy1151

@lxy1151 你好,我添加了RegenerateId/MustRegenerateId方法,欢迎一起进行 code review https://github.com/gogf/gf/pull/4012

gqcn avatar Dec 05 '24 14:12 gqcn

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

Issues-translate-bot avatar Dec 05 '24 14:12 Issues-translate-bot