Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Ferry
Commits
978ed58d
Unverified
Commit
978ed58d
authored
3 years ago
by
lanyulei
Committed by
GitHub
3 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #209 from lanyulei/dev
fix: 更新依赖。
parents
350592ae
ce01de35
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
build.sh
+1
-1
build.sh
go.mod
+1
-1
go.mod
go.sum
+20
-77
go.sum
pkg/jwtauth/jwtauth.go
+1
-1
pkg/jwtauth/jwtauth.go
with
23 additions
and
80 deletions
+23
-80
build.sh
+
1
-
1
View file @
978ed58d
...
@@ -155,7 +155,7 @@ function config_redis {
...
@@ -155,7 +155,7 @@ function config_redis {
}
}
function
get_variables
{
function
get_variables
{
read_from_input front_url
"
$(
gettext
'请输入您的程序访问地址: '
)
"
""
"
https://fdevops.com:8002
"
read_from_input front_url
"
$(
gettext
'请输入您的程序访问地址: '
)
"
""
""
read_from_input front_clone_from
"
$(
gettext
'请选择从哪里拉取前端代码,默认是gitee: 1:gitee, 2: github, 3:自定义地址'
)
"
""
"1"
read_from_input front_clone_from
"
$(
gettext
'请选择从哪里拉取前端代码,默认是gitee: 1:gitee, 2: github, 3:自定义地址'
)
"
""
"1"
if
[
$front_clone_from
==
1
]
;
then
if
[
$front_clone_from
==
1
]
;
then
...
...
This diff is collapsed.
Click to expand it.
go.mod
+
1
-
1
View file @
978ed58d
...
@@ -8,7 +8,6 @@ require (
...
@@ -8,7 +8,6 @@ require (
github.com/alecthomas/template
v0.0.0-20190718012654-fb15b899a751
github.com/alecthomas/template
v0.0.0-20190718012654-fb15b899a751
github.com/casbin/casbin/v2
v2.2.1
github.com/casbin/casbin/v2
v2.2.1
github.com/casbin/gorm-adapter/v2
v2.0.3
github.com/casbin/gorm-adapter/v2
v2.0.3
github.com/dgrijalva/jwt-go
v3.2.0+incompatible
github.com/gin-gonic/gin
v1.7.0
github.com/gin-gonic/gin
v1.7.0
github.com/go-kit/kit
v0.8.0
github.com/go-kit/kit
v0.8.0
github.com/go-ldap/ldap/v3
v3.2.3
github.com/go-ldap/ldap/v3
v3.2.3
...
@@ -16,6 +15,7 @@ require (
...
@@ -16,6 +15,7 @@ require (
github.com/go-openapi/spec
v0.19.7 // indirect
github.com/go-openapi/spec
v0.19.7 // indirect
github.com/go-openapi/swag
v0.19.8 // indirect
github.com/go-openapi/swag
v0.19.8 // indirect
github.com/go-sql-driver/mysql
v1.5.0
github.com/go-sql-driver/mysql
v1.5.0
github.com/golang-jwt/jwt
v3.2.2+incompatible // indirect
github.com/google/uuid
v1.1.1
github.com/google/uuid
v1.1.1
github.com/jinzhu/gorm
v1.9.10
github.com/jinzhu/gorm
v1.9.10
github.com/mailru/easyjson
v0.7.1 // indirect
github.com/mailru/easyjson
v0.7.1 // indirect
...
...
This diff is collapsed.
Click to expand it.
go.sum
+
20
-
77
View file @
978ed58d
This diff is collapsed.
Click to expand it.
pkg/jwtauth/jwtauth.go
+
1
-
1
View file @
978ed58d
...
@@ -9,8 +9,8 @@ import (
...
@@ -9,8 +9,8 @@ import (
"strings"
"strings"
"time"
"time"
"github.com/dgrijalva/jwt-go"
"github.com/gin-gonic/gin"
"github.com/gin-gonic/gin"
"github.com/golang-jwt/jwt"
)
)
type
MapClaims
map
[
string
]
interface
{}
type
MapClaims
map
[
string
]
interface
{}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help