Browse Source

bugs

master
LinskRuis.32G 4 years ago
parent
commit
8cf8c4ce20
  1. 2
      core/utils/util.go
  2. 2
      go.mod
  3. 2
      go.sum

2
core/utils/util.go

@ -24,7 +24,7 @@ func GenValidateCode(width int) string {
return sb.String()
}
func HideUserName(name string) string {
if comms.REG_Phone.MatchString(name) {
if comms.RegPhone.MatchString(name) {
return name[:3] + "****" + name[7:]
}
return name

2
go.mod

@ -6,7 +6,7 @@ require (
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/gin-gonic/gin v1.7.1
github.com/go-sql-driver/mysql v1.5.0
github.com/mgr9525/HyperByte-Transfer-Protocol v0.0.0-20210428072149-37ef706dc11f
github.com/mgr9525/HyperByte-Transfer-Protocol v0.0.0-20210428085206-8dfaf346081f
github.com/mgr9525/go-cloud v1.0.6-0.20210425153348-0292a9ccd8f8
github.com/mgr9525/go-ruisutil v1.0.8-0.20210317093428-f69295935056
github.com/qiniu/qmgo v0.9.2

2
go.sum

@ -107,6 +107,8 @@ github.com/mgr9525/HyperByte-Transfer-Protocol v0.0.0-20210428071134-d17a92cd6e5
github.com/mgr9525/HyperByte-Transfer-Protocol v0.0.0-20210428071134-d17a92cd6e53/go.mod h1:U2OZ06VD1PHu3ZLZ8tuEHooaOZnoke/4ZKAZfL44bUQ=
github.com/mgr9525/HyperByte-Transfer-Protocol v0.0.0-20210428072149-37ef706dc11f h1:LeHvOXTRUGaVRpNl0KWCh/dKrLgsqhR/R/gzkOBxW8A=
github.com/mgr9525/HyperByte-Transfer-Protocol v0.0.0-20210428072149-37ef706dc11f/go.mod h1:U2OZ06VD1PHu3ZLZ8tuEHooaOZnoke/4ZKAZfL44bUQ=
github.com/mgr9525/HyperByte-Transfer-Protocol v0.0.0-20210428085206-8dfaf346081f h1:LWtr7NrrPqDUAU4Z4MJFHkLpVUSidZwZ/Oo2h+JYEDw=
github.com/mgr9525/HyperByte-Transfer-Protocol v0.0.0-20210428085206-8dfaf346081f/go.mod h1:U2OZ06VD1PHu3ZLZ8tuEHooaOZnoke/4ZKAZfL44bUQ=
github.com/mgr9525/go-cloud v1.0.6-0.20210425153348-0292a9ccd8f8 h1:0OloknN3axz+XuBpc6OpTtVIlCE2GoUhvS3NP4tc354=
github.com/mgr9525/go-cloud v1.0.6-0.20210425153348-0292a9ccd8f8/go.mod h1:VkCKgivVD2OX75Zwh+AO3zuJyxGCsuo0zdy+UXCYy9I=
github.com/mgr9525/go-ruisutil v1.0.8-0.20210317093428-f69295935056 h1:JhXsFUB3mFWwiDc8c//E/6cUazJUX1lIiLgiM0asNjA=

Loading…
Cancel
Save