goplus / community

Go+ Community written in Go+
Apache License 2.0
11 stars 15 forks source link

fix: use wechat-oa login, username unfriendly #261

Closed xhyqaq closed 6 months ago

xhyqaq commented 6 months ago

背景

在使用公众号登录后用户显示昵称为wxuser + xxxxxxxx,对于用户体验极不友好,因此需要修改昵称

方案

方案流程 1.需要在表中添加字段用于记录弹框标记,避免后续再次弹框 2.用户无感知,较友好 3.casdoor方面需要在公众号页面预留添加用户昵称算法拓展点

采取方案 2

该方案实现简单,动用代码少,且能尽快实现

测试

qiniu-prow[bot] commented 6 months ago

@xhyqaq: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
community-pull-preview-environment-test 944de93779122d70120b46defc33635a9c97ec54 link true /test community-pull-preview-environment-test

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository. I understand the commands that are listed [here](https://go.k8s.io/bot-commands).
qiniu-ci commented 6 months ago

The PR environment is ready, please check the PR environment

[Attention]: This environment will be automatically cleaned up after 6 hours, please make sure to test it in time. If you have any questions, please contact the author of the PR or the community team.