ankye sheng
ankye sheng
use v2.4 for test, the same problem like this image 18187.png.png
decode not work +1
hash规则是按 uid % 8 user := &model.User{ UID: utils.GenUID(), AppID: "aaaa", Account: "", Email: "", OpenID: fmt.Sprintf("%d", utils.GenUID()), UUID: fmt.Sprintf("%d", utils.GenUID()), Name: "name", Channel: "test", Avatar: "avatar", Password: fmt.Sprintf("%d", utils.GenUID()),...
可以了,但是这样上线后就不能动态修改长度了,只能换另外的hash算法了
最近在用kingshard,hash规则不能定义,用id就有问题了
 The _safeSubstring function is also problematic when dealing with Composite emoji test case: 🐻👨👩👧👦一家人 