diff --git a/README.md b/README.md index 03195c4..04d6900 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 广告站长平台 +# 广告总站长平台 ## 要看 nginx.conf 和 wap conf diff --git a/app/lib/auth/auth.go b/app/lib/auth/auth.go index f2744e3..d92ac46 100644 --- a/app/lib/auth/auth.go +++ b/app/lib/auth/auth.go @@ -14,7 +14,7 @@ func GenToken(admId int, username string) (string, error) { Username: username, StandardClaims: jwt.StandardClaims{ ExpiresAt: time.Now().Add(TokenExpireDuration).Unix(), // 过期时间 - Issuer: "advertisement", // 签发人 + Issuer: "super_advertisement", // 签发人 }, } // 使用指定的签名方法创建签名对象 diff --git a/app/md/app_redis_key.go b/app/md/app_redis_key.go index ef19b51..cc582e6 100644 --- a/app/md/app_redis_key.go +++ b/app/md/app_redis_key.go @@ -2,7 +2,7 @@ package md // 缓存key统一管理, %s格式化为masterId const ( - JwtTokenKey = "%s:advertisement_jwt_token:%s" // jwt, 占位符:ip, admin:id + JwtTokenKey = "%s:super_advertisement_jwt_token:%s" // jwt, 占位符:ip, admin:id JwtTokenCacheTime = 3600 * 24 diff --git a/cmd_db.bat b/cmd_db.bat index 9f052f0..e72e9b0 100644 --- a/cmd_db.bat +++ b/cmd_db.bat @@ -12,7 +12,7 @@ if "%one%" NEQ "" ( set BasePath="./" set DBUSER="root" set DBPSW="Fnuo123com@" -set DBNAME="advertisement" +set DBNAME="super_advertisement" set DBHOST="119.23.182.117" set DBPORT="3306"