我今天突然看到一個地方。感覺有些不太對勁。應該算是一個小的bug了吧。

就是ucenter_member表中的username的欄位設定的長度是16。
但是在模型中:

設定的自動驗證的username的長度卻是30個字元。如果使用者註冊16個字元以上的長度的話,會不會導致一些問題。
PS:為了這個bug,我也是蠻拼的了,重新註冊了一個新的賬號。

就是ucenter_member表中的username的欄位設定的長度是16。
但是在模型中:

設定的自動驗證的username的長度卻是30個字元。如果使用者註冊16個字元以上的長度的話,會不會導致一些問題。
PS:為了這個bug,我也是蠻拼的了,重新註冊了一個新的賬號。